Svfsi installation

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
seyed Jamal Eldin mahdavifar
Posts: 17
Joined: Wed Jul 14, 2021 4:13 pm

Svfsi installation

Post by seyed Jamal Eldin mahdavifar » Thu Sep 05, 2024 1:38 am

Hi Dave
I want to install the svfsi on Ubuntu 18.04 according to the instructions.
I did all the steps. Finally when I run the make command it gives me the following error.
{
"CMake Error at SimVascularMacros:190 (add_subdirectory):
add_subdirectory given source
"ThirdParty/metis_svfsi/simvascular_metis_svfsi" which is not an existing
directory.
Call Stack (most recent call first):
ThirdParty/metis_svfsi/simvascular_metis_svfsi/CMakeLists.txt:1 (simvascular_third_party)
}
I don't know where this source is?
I would be grateful if you could help me
Best
Jamal

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

Re: Svfsi installation

Post by David Parker » Thu Sep 05, 2024 11:29 am

Hi Jamal,

We have replaced the svFSI Fortran code with the svFSIplus C++ code (see https://github.com/SimVascular/svFSIplus).

You should be able to download the code and build on Ubuntu 18 no problem.

Cheers,
Dave

User avatar
seyed Jamal Eldin mahdavifar
Posts: 17
Joined: Wed Jul 14, 2021 4:13 pm

Re: Svfsi installation

Post by seyed Jamal Eldin mahdavifar » Fri Sep 06, 2024 7:00 am

Dear Dave
Thanks for your response. When I want to install the svFSIplus,
BLAS is needed. According to the instructions, when I visit the BLAS website
(https://www.netlib.org/blas/)
which icon should I use to download BLAS?
My thanks and appreciation
Jamal

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

Re: Svfsi installation

Post by David Parker » Fri Sep 06, 2024 10:25 am

Hi Jamal,

You can install all of the required packages using the Ubuntu apt package manager

Code: Select all

sudo apt-get install libblas-dev liblapack-dev
I will update the README to better describe how to build on each platform.

Cheers,
Dave

User avatar
seyed Jamal Eldin mahdavifar
Posts: 17
Joined: Wed Jul 14, 2021 4:13 pm

Re: Svfsi installation

Post by seyed Jamal Eldin mahdavifar » Sat Sep 07, 2024 6:19 pm

Dear Dave
Thank you for your reply. With your advice, BLAS problem was solved during installation,
but there is the following error during installation.
{CMake Error at Source/svFSI/CMakeLists.txt:139 (find_package):
By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "VTK", but
CMake did not find one.
Could not find a package configuration file provided by "VTK" with any of
the following names:
VTKConfig.cmake
vtk-config.cmake
Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
to a directory containing one of the above files. If "VTK" provides a separate development package or SDK, be sure it has been installed.}
I could use your help with this error.
Fond regards
Jamal

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

Re: Svfsi installation

Post by David Parker » Mon Sep 09, 2024 1:15 pm

Hi Jamal,

It seems that you don't have VTK installed.

You will need to install all of the software packages listed under the Software Dependencies section in https://github.com/SimVascular/svFSIplus.

Cheers,
Dave

User avatar
seyed Jamal Eldin mahdavifar
Posts: 17
Joined: Wed Jul 14, 2021 4:13 pm

Re: Svfsi installation

Post by seyed Jamal Eldin mahdavifar » Tue Sep 10, 2024 12:34 am

Dear Dave
Thanks for your interest. When I open (https://github.com/SimVascular/svFSIplus) and refer to Building Visualization Toolkit(VTK) Libraries, first command is (mkdir /user/shared/vtk). When I run first command, I get the following error
( no such file or directory ).
Could you tell me location of the user.
Best
Jamal

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

Re: Svfsi installation

Post by David Parker » Tue Sep 10, 2024 1:29 pm

Hi Jamal,

The mkdir /user/shared/vtk command was used to to show an example of how to build VTK. You should probably build VTK in your $HOME directory unless other users will use it.

Cheers,
Dave

POST REPLY