Kranc, Cactus, and MPI linking issues

Issue #2578 closed
Nicholas Hugh Olsen created an issue

After installing Kranc and seeing a successful install message, I went to build the ET with the standard

   simfactory/bin/sim build -j2 --thornlist manifest/

like I always do when changing or adding a thorn but I received a slew of errors about undefined references with MPI(See log file for details). All of this is done on a personal computer which I have attached my previously working configuration file(I think) for, along with options and thorn lists just in case.

The make.log was made with

 VERBOSE=1 simfactory/bin/sim build -j1 2>&1 | tee make.log 

as found on the support page without any changes made that might have messed with building.

Comments (5)

  1. Roland Haas

    If it’s Kranc specific then you may consider using Kranc’s mailng list and issue tracker as mentioned on the Kranc website:

    Having said that, the Kranc authors tend to see ET tickets and may speak up.

    My (Debian Bookworm) /usr/lib/x86_64-linux-gnu/openmpi/lib/ looks like this

    ~$ ls /usr/lib/x86_64-linux-gnu/openmpi/lib/                 openmpi3          pkgconfig          

    ie there is a library mpi_cxx in addition to mpi. So you may try and add mpi_cxx to you MPI_LIBS variable in the option list.

  2. Ian Hinder

    @{606c600bedc14f007689694e} Is this still an issue, or did you manage to fix it? It sounds like it might be a problem with having the wrong, or multiple MPI libraries installed.

  3. Log in to comment