Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems installing i-adhore #8

Open
giovannaVeiga opened this issue Aug 15, 2023 · 2 comments
Open

Problems installing i-adhore #8

giovannaVeiga opened this issue Aug 15, 2023 · 2 comments

Comments

@giovannaVeiga
Copy link

Hello,

I was installing i-adhore in my lab's server and no issues were reported during the process. However when I try to run the example I get the following error message:
i-adhore: error while loading shared libraries: libmpi_cxx.so.40: cannot open shared object file: No such file or directory

Any ideas about what's wrong?

Thanks in advance

@PSB-mibel
Copy link
Member

Have you tried running the example by forcing it to run single-threaded?
The libmpi library is used for parallellization (see section 3.3 of the documentation), and normally iadhore should detect the presence/absence of mpi (and disable multi-threading if mpi is not present). However, there appears to be going something wrong there.
Another solution would be of course to try and install the mpi library.

@samuelortion
Copy link

Hello,

normally iadhore should detect the presence/absence of mpi

It seems however that the current CMakeLists.txt returns an error when MPI is not available (at least on my machine (debian 12)).

CMake Error in i-ADHoRe/build/CMakeFiles/CMakeScratch/TryCompile-Fk3FJ9/CMakeLists.txt:
  Imported target "MPI::MPI_C" includes non-existent path

I had to install libopenmpi-dev to solve this issue.

Maybe you should either state that MPI is indeed required or change the CMakeLists.txt to ensure that a failure of FindMPI.cmake does not halt the cmake process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants