Page 1 of 1

Svfsi installation

Posted: Thu Sep 05, 2024 1:38 am
by jmahdavifar
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

Re: Svfsi installation

Posted: Thu Sep 05, 2024 11:29 am
by davep
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

Re: Svfsi installation

Posted: Fri Sep 06, 2024 7:00 am
by jmahdavifar
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

Re: Svfsi installation

Posted: Fri Sep 06, 2024 10:25 am
by davep
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

Re: Svfsi installation

Posted: Sat Sep 07, 2024 6:19 pm
by jmahdavifar
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

Re: Svfsi installation

Posted: Mon Sep 09, 2024 1:15 pm
by davep
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

Re: Svfsi installation

Posted: Tue Sep 10, 2024 12:34 am
by jmahdavifar
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

Re: Svfsi installation

Posted: Tue Sep 10, 2024 1:29 pm
by davep
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