I see that the openmpi5. x version has a fault-tolerant system, so I want to use openmpi5.0 and openacc to complete my project. I downloaded openmpi-5.0.0rc11 and previously used./configure – prefix=usr/local/openmpi to complete the installation. However, I found that this seemed to be compiled using the gcc compiler, so I searched for some methods again, such as
./configure CC=pgcc CXX=pgCC FC=pgf77 F90=pgf90 --prefix=/usr/local/openmpi
make
make install
But there seems to be a problem in the last step
The prompt error is as follows
/home/orin/Downloads/openmpi-5.0.0rc11/3rd-party/openpmix/libtool: line 10537: pgcc: command not found
libtool: error: error: relink 'libpmix.la' with the above command before installing it
Make [5]: * * * [Makefile: 1033: install libLTLIBRARIES] Error 1
Make [5]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/3rd party/openmix/src'
Make [4]: * * * [Makefile: 1494: install am] Error 2
Make [4]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/3rd party/openmix/src'
Make [3]: * * * [Makefile: 1331: install recursive] Error 1
Make [3]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/3rd party/openmix/src'
Make [2]: * * * [Makefile: 857: install recursive] Error 1
Make [2]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/3rd party/openmix'
Make [1]: * * * [Makefile: 1403: install recursive] Error 1
Make [1]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/3rd party'
Make: * * * [Makefile: 1530: install recursive] Error 1
Let me ask the folks that do our OpenMPI builds for our recipe. Though I’m not sure they’ve done anything with OpenMPI 5.0 since it’s not been released yet, just release candidates.
Though the error appears that libtool can’t find pgcc. Do you have the compiler bin directory in your PATH?
Perhaps there was a problem with my installation. I just reinstalled it again
Making install in config
Make [1]: Enter the directory '/home/orin/Downloads/openmpi-5.0.0rc11/config'
Make [2]: Enter the directory '/home/orin/Downloads/openmpi-5.0.0rc11/config'
Make [2]: No need to do anything for 'install exec am'.
Make [2]: No need to do anything for 'install data am'.
Make [2]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/config'
Make [1]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/config'
Making install in contrib
Make [1]: Enter the directory '/home/orin/Downloads/openmpi-5.0.0rc11/contrib'
Make [2]: Enter the directory '/home/orin/Downloads/openmpi-5.0.0rc11/contrib'
Make [2]: No need to do anything for 'install exec am'.
/usr/bin/mkdir -p '/usr/local/openmpi/share/openmpi/amca-param-sets'
/usr/bin/install -c -m 644 amca-param-sets/example.conf amca-param-sets/ft-mpi '/usr/local/openmpi/share/openmpi/amca-param-sets'
/Usr/bin/install: Unable to delete '/usr/local/openmpi/share/openmpi/amca param sets/example. conf': Insufficient permissions
/Usr/bin/install: Unable to delete '/usr/local/openmpi/share/openmpi/amca param sets/ft mpi': Insufficient permissions
Make [2]: * * * [Makefile: 1456: install dist_amca_paramDATA] Error 1
Make [2]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/contrib'
Make [1]: * * * [Makefile: 1548: install am] Error 2
Make [1]: Leave the directory '/home/orin/Downloads/openmpi-5.0.0rc11/contrib'
Make: * * * [Makefile: 1530: install recursive] Error 1