Open MPI cannot locate tm.h or pbs-config


Problem:
When configuring Open MPI for compilation, we see errors like this:

checking --with-tm...simple ok (unspecified)
checking for pbs-config...not found
checking for tm.h usability...no
checking tm.h presence...no
checking for tm.h...no
configure: error: TM support requested but not found. Aborting.

or:

checking --with-tm value...sanity check ok (/usr/local/)
checking for pbs-config...not found
checking for tm.h usability...no
checking tm.h presence...no
checking for tm.h...no
configure: error: TM support requested but not found. Aborting.

Solution:
The development libraries and headers are probably missing on the build host. When building openmpi, tm.h should be in the path, and/or you can optionally specify a path:

--with-tm[=/path/to/include/parent/dir]

(By default, Torque will place the tm.h header file in /usr/local/include/, but the OpenMPI configure process will append "include/" when looking for the file.)

If you've installed from RPMs, be sure to install the moab-torque-devel-... package.

If you've installed from Torque's self-extracting package files (i.e., created by running "make packages" after building from source), be sure to run the generated torque-package-devel-linux.sh script.

If you've installed from source (i.e., with "make install"), be sure to also run "make install_devel" on that host.

 

See also: https://www.open-mpi.org/faq/?category=building#build-rte-tm

Last update:
2017-06-07 01:07
Author:
Rick McKay
Revision:
1.5
Average rating:0 (0 Votes)

You can comment this FAQ

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags