Discussion:
[OMPI users] OpenMPI 3.0.0 Failing To Compile
Justin Luitjens
2018-02-28 18:31:40 UTC
Permalink
I'm trying to build OpenMPI on Ubuntu 16.04.3 and I'm getting an error.


Here is how I configure and build:
./configure --with-cuda=$CUDA_HOME --prefix=$MPI_HOME && make clean && make -j && make install


Here is the error I see:

make[2]: Entering directory '/tmpnfs/jluitjens/libs/src/openmpi-3.0.0/opal/mca/crs'
CC base/crs_base_open.lo
GENERATE opal_crs.7
CC base/crs_base_select.lo
CC base/crs_base_close.lo
CC base/crs_base_fns.lo
Option package-version requires an argument
Usage: ../../../ompi/mpi/man/make_manpage.pl --package-name=<package name> --package-version=<package version> --ompi-date=<ompi date> --opal-date=<opal date> --orte-date=<orte date> --input=<input file> --output=<output file> [--nocxx] [ --nofortran] [--nof08]
Makefile:2199: recipe for target 'opal_crs.7' failed
make[2]: *** [opal_crs.7] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmpnfs/jluitjens/libs/src/openmpi-3.0.0/opal/mca/crs'
Makefile:2364: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmpnfs/jluitjens/libs/src/openmpi-3.0.0/opal'
Makefile:1885: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


Any suggestions on what might be going on?

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
Jeff Squyres (jsquyres)
2018-02-28 19:27:10 UTC
Permalink
Post by Justin Luitjens
make[2]: Entering directory '/tmpnfs/jluitjens/libs/src/openmpi-3.0.0/opal/mca/crs'
CC base/crs_base_open.lo
GENERATE opal_crs.7
CC base/crs_base_select.lo
CC base/crs_base_close.lo
CC base/crs_base_fns.lo
Option package-version requires an argument
Usage: ../../../ompi/mpi/man/make_manpage.pl --package-name=<package name> --package-version=<package version> --ompi-date=<ompi date> --opal-date=<opal date> --orte-date=<orte date> --input=<input file> --output=<output file> [--nocxx] [ --nofortran] [--nof08]
Makefile:2199: recipe for target 'opal_crs.7' failed
The only way that I can see that it would complain about --package-version not getting a value is if configure failed (and did therefore did not provide a value for @PACKAGE_VERSION@).

Can you send all the information listed here:

https://www.open-mpi.org/community/help/
--
Jeff Squyres
***@cisco.com
Loading...