Error running svSolver in SimVascular 2.0.10320 for Mac

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Andrea Saglietto
Posts: 3
Joined: Fri Feb 13, 2015 10:27 am

Error running svSolver in SimVascular 2.0.10320 for Mac

Post by Andrea Saglietto » Tue Apr 07, 2015 2:09 pm

Good evening,

I downloaded SimVascular 2.0.10320 for Mac and I tried to reproduce the cylinder simulation available here (http://simvascular.ucsd.edu/docsFlowSolver.html)
I managed to create the mesh and all the files needed by svSolver (geombc.dat.1 restart.0.1 numstart.dat bct.dat solver.inp), then I created in the project folder a folder called "simulation" where I put those 5 file and a folder called "logs". Finally, I tried to run the simulation (you find attached a screenshot of how I set Run Dir and Log Dir), but I receive this error:

couldn't execute "/Applications/SimVascular.app/Contents/Resources/mpiexec": no such file or directory
couldn't execute "/Applications/SimVascular.app/Contents/Resources/mpiexec": no such file or directory
while executing
"exec "/Applications/SimVascular.app/Contents/Resources/mpiexec" -wdir "/Users/MyMac/Desktop/SimVascular/cylinder/simulation" -np 1 "/Applications/SimV..."
("eval" body line 1)
invoked from within
"eval exec \"$MPIEXEC\" -wdir \"$fullrundir\" $npflag $num_procs \"$SOLVER\" \"$fullrundir/solver.inp\" \"$stdout_file\" >>& $solver_log_file &"
(procedure "guiRUNSOLVERlaunchSolver" line 206)
invoked from within
"guiRUNSOLVERlaunchSolver localhost"
invoked from within
".guiCV.tframe3.tpanedwindow4.tframe6.tpanedwindow0.tframe2.frame2.frame3.notebook6.tframe12.
notebook0.tframe5.notebook1.tframe8.tframe1.tframe3.tframe..."
invoked from within
".guiCV.tframe3.tpanedwindow4.tframe6.tpanedwindow0.tframe2.frame2.frame3.notebook6.tframe12.
notebook0.tframe5.notebook1.tframe8.tframe1.tframe3.tframe..."
(command bound to event)

Could you help me?

Thanks a lot,
Andrea
Attachments
Schermata 2015-04-07 alle 22.59.36.png

User avatar
Andrea Saglietto
Posts: 3
Joined: Fri Feb 13, 2015 10:27 am

Re: Error running svSolver in SimVascular 2.0.10320 for Mac

Post by Andrea Saglietto » Tue Apr 07, 2015 2:23 pm

Attached you find the folder "Resources". mpiexec doesn't seem to be an executable, and if I try to open I receive a message telling me that the original file cannot be found!
Attachments
Schermata 2015-04-07 alle 23.17.04.png

User avatar
Jameson Merkow
Posts: 6
Joined: Wed Dec 11, 2013 7:12 pm

Re: Error running svSolver in SimVascular 2.0.10320 for Mac

Post by Jameson Merkow » Tue Apr 07, 2015 5:22 pm

Running simulations from the GUI is currently still under development. Right now, on OSX, its still not working quite right, we are aware of the issue, and are working on a solution.

You can run this simulation from the GUI if you install MPICH2 through macports.
You need to install the mpich-gcc46 variant.

You can also install the command line tools on OSX with by running /Applications/SimVascular.app/Contents/Resources/setup-symlinks.sh (you may need sudo access)
Then you can run the solver from the terminal, with our without mpi.

User avatar
Andrea Saglietto
Posts: 3
Joined: Fri Feb 13, 2015 10:27 am

Re: Error running svSolver in SimVascular 2.0.10320 for Mac

Post by Andrea Saglietto » Wed Apr 08, 2015 2:19 am

Thanks for the immediate reply Jameson!

I'm a med student so I'm not an expert in running executable from terminal and things like that :lol: Could I ask you to guide me step by step either in 'Solution 1' or in 'Solution 2' in order to run my simulation? maybe the easiest option should be preferrable since I'm not an expert in computer science :)

Thanks a lot

Andrea

POST REPLY