Errors in the "create-flow-files" code

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
GUANGYU ZHU
Posts: 7
Joined: Fri Nov 11, 2022 10:39 am

Errors in the "create-flow-files" code

Post by GUANGYU ZHU » Sat Nov 26, 2022 8:42 am

Hi, Dave

I'm tring to run several cases in SV by using batch file in Windows 10. Currently the automatic job submission and result export are work well. To export the flow files, I complied your code of "create-flow-files" in Ubuntu shell within Win10 (Ubuntu 18.04 LTS) with no problem, but got "Segmentation fault (core dumped)" when create the files, and nothing generated. The operation is normal in GUI.

Attached is the screen shot of the error. Seems like this is caused by memory access problem. Is this caused by the OS version?
error.png
error.png (8.47 KiB) Viewed 200 times
Best Regards,
Guangyu

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

Re: Errors in the "create-flow-files" code

Post by David Parker » Mon Nov 28, 2022 4:21 pm

Hi Guangyu,

I'm not sure what the problem is. It might be that the results files can't be found or that they don't contain the data needed to compute the cap quantities or that the output directory does not exist. The code is a big hack and does not check if files exist or are valid.

You might need to put in some print statements to see where things are failing.

Cheers,
Dave

POST REPLY