Attempting to compile OpenMPI for use with my cluster running PBSPro 14.1.0 and receiving the following error from the configure command:
— MCA component ess:tm (m4 configuration macro)
checking for MCA component ess:tm compile mode… static
checking --with-tm value… sanity check ok (/opt/pbs)
checking for pbs-config… not found
checking tm.h usability… yes
checking tm.h presence… yes
checking for tm.h… yes
looking for library in lib
checking for library containing tm_init… no
looking for library in lib64
checking for library containing tm_init… no
looking for library in lib
checking for library containing tm_init… no
looking for library in lib64
checking for library containing tm_init… no
configure: error: TM support requested but not found. Aborting
Excerpt from config.log:
configure:133689: checking for library containing tm_init
configure:133720: gcc -std=gnu99 -o conftest -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -pthread -I/usr/local/src/openmpi-1.10.1/opal/mca/hwloc/hwloc191/hwloc/include -I/usr/local/src/openmpi-1.10.1/opal/mca/event/libevent2021/libevent -I/usr/local/src/openmpi-1.10.1/opal/mca/event/libevent2021/libevent/include -I/opt/pbs/include -L/opt/pbs/lib conftest.c -lrt -lm -lutil >&5
/tmp/ccPqRZ2s.o: In function main':** **conftest.c:(.text.startup+0x7): undefined reference to
tm_init’
collect2: error: ld returned 1 exit status
configure:133720: $? = 1
My configure line is as follows:
./configure --prefix=/usr/local/software/OpenMPI/ --with-tm=/opt/pbs --with-verbs
The /opt/pbs/include does have the tm.h file
Anyone have an idea as to what I’m missing here?
-SS-