svFSI Simulation Error

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Kewil Bhima
Posts: 5
Joined: Tue Nov 07, 2023 4:24 am

svFSI Simulation Error

Post by Kewil Bhima » Wed May 15, 2024 11:20 am

Good day,

I am running Simvascular (macOS Catalina 2023 version) on a MacBook Pro M1 with macOS Sonoma 14.5. I have installed the svSolver 2022 version. When I run the svFSI simulation for the cylinder tutorial, I am getting the following error and the simulation fails immediately:

dyld[56227]: Library not loaded: /usr/local/opt/open-mpi/lib/libmpi_usempif08.40.dylib
Referenced from: <219D237B-C6D2-3D70-AC88-61889CA4B116> /usr/local/sv/svFSI/2023-05-25/bin/svFSI
Reason: tried: '/libmpi_usempif08.40.dylib' (no such file), '/Applications/SimVascular.app/Contents/Resources/svExternals/lib/libmpi_usempif08.40.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Applications/SimVascular.app/Contents/Resources/svExternals/lib/plugins/libmpi_usempif08.40.dylib' (no such file), '/Applications/SimVascular.app/Contents/Resources/lib/libmpi_usempif08.40.dylib' (no such file), '/Applications/SimVascular.app/Contents/Resources/./libmpi_usempif08.40.dylib' (no such file), '/Applications/SimVascular.app/Contents/Resources/bin/libmpi_usempif08.40.dylib' (no such file), '/Applications/SimVascular.app/Contents/Resources/lib/plugins/libmpi_usempif08.40.dylib' (no such file), '/usr/local/opt/open-mpi/lib/libmpi_usempif08.40.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/open-mpi/lib/libmpi_usempif08.40.dylib' (no such file), '/usr/local/opt/open-mpi/lib/libmpi_usempif08.40.dylib' (no such file), '/usr/local/lib/libmpi_usempif08.40.dylib' (no such file), '/usr/lib/libmpi_usempif08.40.dylib' (no such file, not in dyld cache)

I have installed openMPI 4.1.6, gcc11 and fortran. I have tried MPICH and openMPI, both do not seem to work. In preferences, the mpiexec does not have a path and I cannot find an executable file that works.

Any assistance will be greatly appreciated.
Last edited by Kewil Bhima on Thu May 16, 2024 2:19 am, edited 1 time in total.

User avatar
Kewil Bhima
Posts: 5
Joined: Tue Nov 07, 2023 4:24 am

Re: svFSI Simulation Error

Post by Kewil Bhima » Thu May 16, 2024 2:19 am

I have tried running the same cylinder tutorial simulation on an Ubuntu virtual machine with Ubuntu 20 installed. SimVascular version 2021 for Ubuntu 20 with the solvers from 2021. I get the following error:


Program received signal SIGILL: Illegal instruction.

Backtrace for this error:
#0 0x7f642ba4ed11 in ???
#1 0x7f642ba4dee5 in ???
#2 0x7f642b53108f in ???
at /build/glibc-e2p3jK/glibc-2.31/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0
#3 0x55ae5d95764a in readfiles_
at /home/dave/software/svFSI/Code/Source/svFSI/READFILES.f:325
#4 0x55ae5d8f3887 in MAIN__
at /home/dave/software/svFSI/Code/Source/svFSI/MAIN.f:70
#5 0x55ae5d818d8e in main
at /home/dave/software/svFSI/Code/Source/svFSI/MAIN.f:40

I have also tried installing the svSolver and svSFI solver from 2022 and I get the same error. I have installed openmpi, gcc, etc and still don't know why I am getting this issue

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

Re: svFSI Simulation Error

Post by David Parker » Mon May 20, 2024 10:16 am

Hello,

It seems that the solver can't read the solver input file. Upload you SV project somewhere I can download it and I'll have a look.

Cheers,
Dave

POST REPLY