Page 1 of 2
VTK Installation
Posted: Sat Sep 14, 2024 10:54 pm
by jmahdavifar
Dear Dave
Thanks for your interest. As you said before, I installed the VTK according to the instructions on the site below.
(
https://github.com/SimVascular/svFSIplus)
But when I run the command "make install" it gives me the following error
{
CMake Error at Wrapping/Tools/cmake_install.cmake:46 (file):
file INSTALL cannot set permissions on
"/user/shared/vtk/install/include/vtk-9.3/vtkParse.h": Operation not permitted.
Call Stack (most recent call first):
cmake_install.cmake:47 (include)
}
Can you help me solve this problem?
Best
Jamal
Re: VTK Installation
Posted: Thu Oct 03, 2024 10:11 pm
by jmahdavifar
Dear Dave
Following the previous post, when I ran the "sudo make install" command instead of the " make install" command for
Building VTK, the previous problem was solved, But when I run the "install" command in the fsiplus-build directory
according to the instructions, it gives the following error
{
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 appreciate your guiding me regarding this.
Best
Jamal
Re: VTK Installation
Posted: Fri Oct 04, 2024 12:17 pm
by davep
Hi Jamal,
When you execute ccmake you need to set the location of the VTK build in the SV_LOCAL_VTK_PATH parameter.
- Screenshot 2024-10-04 at 12.12.56 PM.png (217.71 KiB) Viewed 1287 times
Cheers,
Dave
Re: VTK Installation
Posted: Tue Oct 15, 2024 8:57 am
by jmahdavifar
Dear Dave
Thanks for your reply. The previous problem was solved with your help.
But when I run the command "make" according to the instructions, the following
message will appear and svfsiplus binary executable isnt created in path "fsiplus-build/svFSIplus-build/bin"
- Screenshot from 2024-10-15 18-34-47.png (179.62 KiB) Viewed 1225 times
I would be grateful if you could help me
Regards
Jamal
Re: VTK Installation
Posted: Tue Oct 15, 2024 10:27 am
by davep
Hi Jamal,
It seems that you don't have OpenMPI installed. You can install it using apt on Ubuntu and brew on MacOS.
Cheers,
Dave
Re: VTK Installation
Posted: Wed Oct 16, 2024 1:09 am
by jmahdavifar
Hi Dave
Thanks for your interest. According your advice I install OpenMPI with command
"sudo apt-get install openmpi-bin openmpi-common libopenmpi-dev libgtk2.0-dev".
But when I run command "make", the following message appears
- Screenshot from 2024-10-16 10-24-43.png (250.56 KiB) Viewed 1189 times
I appreciate your guiding me regarding this.
Best
Jamal
Re: VTK Installation
Posted: Wed Oct 16, 2024 10:35 am
by davep
Hi Jamal,
The
Filesystem library was added to C++ 17 so it seems that you don't have C++ 17 installed or you have not set CMake to use it (see
https://github.com/SimVascular/svFSIplus). Which Ubuntu are you using?
You can install it using apt-get install g++-17 and then set the CMake compiler flags (e.g. CMAKE_CXX_COMPILER) to use this version.
Cheers,
Dave
Re: VTK Installation
Posted: Wed Oct 16, 2024 10:35 pm
by jmahdavifar
Hi Dave
Thanks for your response. My Ubuntu is Ubuntu 18.04.
Please let me know if you could help me.
Best
Jamal
Re: VTK Installation
Posted: Mon Oct 21, 2024 3:56 pm
by davep
Hi Jamal,
Ubuntu 18 is not longer supported, you should upgrade to Ubuntu 20 or even better Ubuntu 22.
There are svFSIplus installers for Ubuntu 20 and 22 on SimTK.
Cheers,
Dave
Re: VTK Installation
Posted: Mon Nov 25, 2024 2:57 pm
by jmahdavifar
Dear Dave
Thanks for your response. As your advice, I am going to install Ubuntu 22 But I didn't see simvascular version that is supported by Ubuntu 22 installer. Can you help me.
Best
Jamal