Kranc, Cactus, and MPI linking issues

Create issue
Issue #2578 new
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/einsteintoolkit.th

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 (2)

  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: http://kranccode.org/support.html

    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/
    libmca_common_monitoring.so  libmpi_cxx.so                libopen-rte.so
    libmca_common_ofi.so         libmpi_java.so               liboshmem.so
    libmca_common_ompio.so       libmpi_mpifh.so              ompi_monitoring_prof.so
    libmca_common_sm.so          libmpi_usempi_ignore_tkr.so  openmpi3
    libmca_common_ucx.so         libmpi_usempif08.so          pkgconfig
    libmca_common_verbs.so       libompitrace.so
    libmpi.so                    libopen-pal.so
    

    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. Log in to comment