Page 1 of 1

Error running svSolver in SimVascular 2.0.10320 for Mac

Posted: Tue Apr 07, 2015 2:09 pm
by andrea1992
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

Re: Error running svSolver in SimVascular 2.0.10320 for Mac

Posted: Tue Apr 07, 2015 2:23 pm
by andrea1992
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!

Re: Error running svSolver in SimVascular 2.0.10320 for Mac

Posted: Tue Apr 07, 2015 5:22 pm
by jameson
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.

Re: Error running svSolver in SimVascular 2.0.10320 for Mac

Posted: Wed Apr 08, 2015 2:19 am
by andrea1992
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