Well that's fun. Is this the library location where Torque put them by default? What does "pbs-config --libs" return?

Also -- I second Reuti's question: what is the nature of your requirement such that you need to be able to run outside of the nodes that have been allocated to a job? Are you running on multiple clusters simultaneously, or something along those lones?


On Dec 18, 2007, at 11:09 AM, pat.o'bry...@exxonmobil.com wrote:

    We have Torque as an mpi job scheduler. Additionally,  I have some
users that want to modify the contents of "-hostfile" when they execute "mpirun". To allow the modification of the hostfile, I downloaded OpenMPI
1.2 and attempted to do a "configure" with the options shown below:

./configure --prefix /opt/openmpi-1.2 --with-openib=/usr/local/ofed
--with-tm=/usr/local/pbs CC=icc CXX=icpc F77=ifort FC=ifort
--with-threads=posix --enable-mpi-threads

The configure fails with the following messages:
--------------------------------------------------------------------------
checking tm.h presence... yes
checking for tm.h... yes
looking for library in lib
checking for tm_finalize in -ltorque... no
looking for library in lib64
checking for tm_finalize in -ltorque... no
configure: error: TM support requested but not found.  Aborting
--------------------------------------------------------------------------

In looking at the configure script there are typos for "hapy" for "happy".
Correcting those made no difference. The "config.log" lists an "-L"
parameter that isn't the correct path for Torque. Our release of Torque,
2.2.0, contains libraries under "/usr/local/pbs/x86_64" not
"/usr/local/pbs" so the links will fail. I am assuming that the "configure" script does not figure out the correct path for Torque 2.2.0 libraries.

Config log messages:
--------------------------------------------------------------------------
configure:78250: result: no
configure:78274: result: looking for library in lib64
configure:78276: checking for tm_finalize in -ltorque
configure:78306: icc -o conftest -O3 -DNDEBUG -finline-functions
-fno-strict-aliasing -restrict -pthread  -I/usr/local/pbs/include
-L/usr/local/pbs/lib64 conftest.c -ltorque  -lnsl -lutil   >&5
ld: cannot find -ltorque
configure:78312: $? = 1
configure: failed program was:
| /* confdefs.h.  */
--------------------------------------------------------------------------

So is there a "configure" script that works with Torque 2.2 and OpenMPI 1.2
?

Thanks,

J.W. (Pat) O'Bryant,Jr.
Business Line Infrastructure
Technical Systems, HPC
Office: 713-431-7022

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


--
Jeff Squyres
Cisco Systems

Reply via email to