I'm using OpenSuse Leap
and I installed openMPI
thought YaST. Running a which mpirun
command I get /usr/lib64/mpi/gcc/openmpi/bin/mpirun
and running which mpicc
i get /usr/bin/mpicc
.
How to make sure first that OpenMPI is correctly installed?
Second, I have a simple hello world I am process X program and running mpicc hello.c
I get this output
gcc: error: libtool:: No such file or directory
gcc: error: link:: No
such file or directory mpicc: No such file or directory
Also, I installed Eclipse for Parallel Application
and used a build-in example and it gives me this output at build
make all
Building target: hello
Invoking: GCC C Linker
mpicc -o "hello" ./src/hello.o
gcc: error: libtool:: No such file or directory
gcc: error: link:: No such file or directory
makefile:30: recipe for target 'hello' failed
mpicc: No such file or directory
make: *** [hello] Error 1
I checked YaST and libtool is installed.
This answer comes at a time too late. I recently had the same issue. Hence anyone who comes here for an answer, this was how I got it working.
Please note: this is an isolated situation who gets similar error
First try to check the solution suggested by LPs. It will try to update your libtool autoconf and automake. If you get nothing to do:
Then explicitly add your OpemMPI path variable.
This worked for me. Good luck!