installing Simvascular/svsolver on a linux server

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Parastou Eslami
Posts: 10
Joined: Mon Nov 07, 2016 2:16 pm

installing Simvascular/svsolver on a linux server

Post by Parastou Eslami » Thu Nov 21, 2019 4:03 pm

Hello,

I'm trying to install a new version of simvascular/svsolver on a linux server with Ubuntu 16.04. I have tried using the quick install using the github repo suggestion to source "quick-build-linux.sh" in the BuildWithMake folder and I get the following error!

/usr/bin/ld: cannot find -lGLEW
collect2: error: ld returned 1 exit status
Makefile:68: recipe for target '../../../../BuildWithMake/Bin/svpost-gcc-gfortran.exe' failed
make[3]: *** [../../../../BuildWithMake/Bin/svpost-gcc-gfortran.exe] Error 1
make[3]: Leaving directory '/home/peslami/SimVNew/svsolver/Code/FlowSolvers/ThreeDSolver/svPost'
Makefile:87: recipe for target 'shared' failed
make[2]: *** [shared] Error 2
make[2]: Leaving directory '/home/peslami/SimVNew/svsolver/Code/FlowSolvers/ThreeDSolver'
Makefile:152: recipe for target 'exec-shared-build' failed
make[1]: *** [exec-shared-build] Error 2
make[1]: Leaving directory '/home/peslami/SimVNew/svsolver/BuildWithMake'
Makefile:44: recipe for target 'fast' failed
make: *** [fast] Error 2

However when I try to use cmake based on the suggestions here (http://simvascular.github.io/docsCompil ... SetupLinux) when I run "ccmake .." it says that I am using a older version of cmake which is not true because I have updated my version to 3.16 and when I type in "cmake --version" it shows the correct version.

could you please let me know how to fix this?

Thank you!
Parastou

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

Re: installing Simvascular/svsolver on a linux server

Post by David Parker » Thu Nov 21, 2019 8:16 pm

Hi Parastou,

I just build svSolver on Ubuntu 16.04 no problem.

The instructions on the web page are a bit out of data. You just need to

Code: Select all

$ git clone https://github.com/SimVascular/svSolver.git
$ mkdir svsolver-build
$ cd svsolver-build
$ ccmake ../svSolver
$ make
You can also download an Ubuntu svSolver installer from https://simtk.org/projects/simvascular. Do you really need the latest version? If so then I can build you an installer.

Cheers,
Dave

User avatar
Nathan Wilson
Posts: 46
Joined: Tue Jun 20, 2006 9:19 am

Re: installing Simvascular/svsolver on a linux server

Post by Nathan Wilson » Thu Nov 21, 2019 11:21 pm

Hello Parastou,

The Make build issue was that your system doesn't have GLEW (since it's the server version of the OS). That isn't necessary to link VTK for the solver. I've deleted the unneeded libraries from the link line so svsolver hopefully now builds without error using the make build and the quick-build-linux.sh script. You need to merge the update changes in master to your copy if you want to use the update.

Nathan
SimVascular Support Team

POST REPLY