I'm trying to enable OpenMPI on Ubuntu using migrate-n. I have installed OpenMPI.
I tried to run the following code:
tar xvfz migrate-3.7.2.src.tar.gz
cd migrate-3.7.2/src
./configure
make
make mpis
make install
But when I run "make mpis", I got the following error:
/home/zly/biosoft/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lmpi_cxx: No such file or directory
/home/zly/biosoft/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lmpi: No such file or directory
/home/zly/biosoft/miniconda/bin/../lib/gcc/x86_64-conda-linux-gnu/13.2.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lopen-rte: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:468: migrate-n-mpi] Error 1
make: *** [Makefile:244: mpis] Error 2
I don't know about Linux system. Can anyone help me solve this problem? Thanks
1 answer
From the error messages, it looks like you'll need to install OpenMPI, at a minimum.
See:
- https://docs.open-mpi.org/en/v5.0.x/installing-open-mpi/quickstart.html
- https://sites.google.com/site/rangsiman1993/comp-env/program-install/install-openmpi
- etc.
Going back to migrate, once you have OpenMPI installed, you may need to rerun ./configure with a flag pointing it to where OpenMPI and its libraries are located on the filesystem, if the configure script cannot locate it on its own.
You might connect with someone who has some system administration or software installation experience local to you, who is familiar with your host's setup and OS.
Log in to answer this question.
Thank you very much. I will try to install it again according to your suggestion.