On Mon, Jan 28, 2013 at 10:54 AM, Barrett, Brian W <bwbarre@sandia.gov> wrote:We assume that we can link lib torque into a C application (if this is a problem for you, it's a huge deal breaker for us, since OMPI is a C library). What does config.log say when checking for tm_init?BrianBrian,libtorque can still be linked in to C applications. In testing with a simple C program, we did have to addvoid *__gxx_personality_v0;to the C program. Here is the error reported by the configure script:checking for pbs-config... /usr/local/bin/pbs-configchecking tm.h usability... yeschecking tm.h presence... yeschecking for tm.h... yeschecking for tm_finalize... nolooking for header without includeschecking tm.h usability... yeschecking tm.h presence... yeschecking for tm.h... yeslooking for library without search pathchecking for tm_init in -lpbs... nolooking for library in libchecking for tm_init in -lpbs... nolooking for library in lib64checking for tm_init in -lpbs... nolooking for library without search pathchecking for tm_init in -ltorque... nolooking for library in libchecking for tm_init in -ltorque... nolooking for library in lib64checking for tm_init in -ltorque... noconfigure: error: TM support requested but not found. AbortingOddly enough, if you have already configured with an older version of TORQUE, you can build open-mpi with TORQUE 4.2 installed, so it can find the function definitions when compiling, its just for some reason it doesn't find them in the configure script. This is why I think that something in the configure script is assuming that libtorque was compiled with gcc.David--Brian W. BarrettScalable System Software GroupSandia National Laboratories
_______________________________________________
devel mailing list
devel@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel--David Beer | Senior Software EngineerAdaptive Computing_______________________________________________
devel mailing list
devel@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel