non-zero exit code 1073740791 when trying to run 1D demo simulation

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Elizabeth Thompson
Posts: 12
Joined: Thu Jun 30, 2022 2:58 pm

non-zero exit code 1073740791 when trying to run 1D demo simulation

Post by Elizabeth Thompson » Fri Apr 07, 2023 11:40 am

Hello!
I am working through the 1D tutorial (https://simvascular.github.io/docs1DSimulation.html) using the demo and am getting an error when I try to "Run Simulation."
2023_04_07 error when trying to run 1d demo.png
2023_04_07 error when trying to run 1d demo.png (12.7 KiB) Viewed 321 times
I am on Windows 11. There are no additional details accompanying the error code, so I am not sure where to go next. Any ideas?

Thank you,

Beth

User avatar
David Parker
Posts: 1716
Joined: Tue Aug 23, 2005 2:43 pm

Re: non-zero exit code 1073740791 when trying to run 1D demo simulation

Post by David Parker » Fri Apr 07, 2023 12:38 pm

Hi Beth,

The exit code C0000409 means that the 1D solver failed for some reason, maybe the solver input file had an error in it. Upload your SV project somewhere I can download it and I'll have a look.

Or maybe SV could not find the 1D solver. Did you install the 1D solver?

Cheers,
Dave

User avatar
Elizabeth Thompson
Posts: 12
Joined: Thu Jun 30, 2022 2:58 pm

Re: non-zero exit code 1073740791 when trying to run 1D demo simulation

Post by Elizabeth Thompson » Fri Apr 07, 2023 12:59 pm

Hi Dave,

Thanks so much for your quick reply! Here (https://drive.google.com/file/d/1F8MEN7 ... sp=sharing) is a link to the zipped project (the GUI was not letting me 'save as' a new project, so it is mostly just the demo project files from https://simtk.org/frs/download_confirm. ... oup_id=930 plus the ROM simulation folder that was generated with what I've been trying today).

As far as I can tell, I do have the 1D solver installed (in C:/Program Files/SimVascular/svOneDSolver). I also went into 'Preferences' and checked 'Use MPI' and set the MPIExec path to svOneDSolver.exe within that svOneDSolver directory. Is there anywhere else to check and make sure that things are installed and referenced correctly?

Thanks again, please let me know if I can provide any further clarifying information!

Beth

User avatar
David Parker
Posts: 1716
Joined: Tue Aug 23, 2005 2:43 pm

Re: non-zero exit code 1073740791 when trying to run 1D demo simulation

Post by David Parker » Fri Apr 07, 2023 2:22 pm

Hi Beth,

I was able to run your 1D solver files to until time 3.727 when a branch went to a negative area.

The 1D solver does not use MPI. It does not seem like you need to set the location of the 1D solver although it may not hurt.

Preferences panel (this is for MacOS)
Screen Shot 2023-04-07 at 1.34.37 PM.png
Screen Shot 2023-04-07 at 1.34.37 PM.png (70.45 KiB) Viewed 257 times
Do you have the latest versions of SV and the 1D solver installed? The latest build for the 1D solver is October.

Cheers,
Dave

User avatar
Elizabeth Thompson
Posts: 12
Joined: Thu Jun 30, 2022 2:58 pm

Re: non-zero exit code 1073740791 when trying to run 1D demo simulation

Post by Elizabeth Thompson » Wed Apr 12, 2023 12:22 pm

Thank you Dave - I installed the 1D solver just last week, but it looks like my simvascular was installed in June 2022, so I will try to update that and see if things start to work.

Thank you!

Beth

User avatar
Mikayla Dirksen
Posts: 1
Joined: Sun Feb 05, 2023 11:57 am

Re: non-zero exit code 1073740791 when trying to run 1D demo simulation

Post by Mikayla Dirksen » Wed Jun 14, 2023 10:21 am

Hello! I am also having this issue. Did you find a solution? It seems when I try to set the path to the 1D solver, it never saves it. When I go back to the preferences after setting the path, it is blank again. Any idea why this is happening? I updated to the 2023 version of SimVascular and it did not fix my problem.
Attachments
Screenshot 2023-06-14 121719.png
Screenshot 2023-06-14 121719.png (52.26 KiB) Viewed 191 times

User avatar
David Parker
Posts: 1716
Joined: Tue Aug 23, 2005 2:43 pm

Re: non-zero exit code 1073740791 when trying to run 1D demo simulation

Post by David Parker » Thu Jun 15, 2023 11:57 am

Hello,

I just tested on Windows.

There appears to be a bug in setting the location of the 1D solver, I think once it is set SV will pick it up even though the path is not displayed. I will open an Issue for this.

Once I set the 1D solver location I am able to run a 1D simulation fine.

What exactly is the error you are seeing? Please attach the popup window that appears when you run the 1D solver.

Cheers,
Dave

POST REPLY