Re: [OMPI devel] [1.8.2rc3] static linking fails on linux (openpty undefined)

2014-08-03 Thread Paul Hargrove
Hmm, On a different Linux/x86-64 host things work as expected with '-lutil' linked explicitly: $ ./INST/bin/mpicc -showme BLD/examples/hello_c.c pgcc BLD/examples/hello_c.c -I/scratch/scratchdirs/hargrove/OMPI/openmpi-1.8.2rc3-linux-x86_64-pgi-14.1/INST/include -L/opt/torque/4.2.7.h1/lib

[OMPI devel] [1.8.2rc3] static linking fails on linux (openpty undefined)

2014-08-03 Thread Paul Hargrove
I've configured the 1.8.2rc3 tarball with "--enable-static --disable-shared" on a fairly standard Linux/x86-64 platform. While there are no problems on the same platform w/o these configure flags, with them I cannot link any application codes. $ mpicc -ghello_c.c -o hello_c