mpiexec configuration
Komanduri Ravi Kumar
ravi at cdacindia.com
Sat Sep 14 06:43:27 EDT 2002
Dear All
I am trying to configure mpiexec-0.68 for OpenPBSv-2.3.16. I have
already installed MPICH-1.2.4 for P4 device and Shared memory(enabled both
options). Now according to the readme file given in the mpiexec0.68 i
followed the steps.
./configure --with-pbs=/usr/local/PBS-2_3_16 --with-smp-size=2
--with-default-comm=mpich-p4
--with-mpicc=/usr/local/mpich-1.2.4/Install/solaris/ch_p4/bin/mpicc
--prefix=/usr/local/mpiexec-0.68
then it is printed the following error
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for tm_init in -lpbs...
no
configure: error: libpbs.a not found in /usr/local/PBS-2_3_16/lib
i am unable to find the error. i did check it in the configure script
but couldnot figure it out. In the configure script it is setting
ac_cv_lib_$ac_lib_var=no which making me come out of the script.
And in the config.log file it prints these things
configure:812: gcc -o conftest -g -O2 conftest.c -lpbs
-L/usr/local/PBS-2_3_16/lib 1>&5
Undefined first referenced
symbol in file
socket /usr/local/PBS-2_3_16/lib/libpbs.a(tm.o)
gethostbyname /usr/local/PBS-2_3_16/lib/libpbs.a(tm.o)
setsockopt /usr/local/PBS-2_3_16/lib/libpbs.a(tm.o)
connect /usr/local/PBS-2_3_16/lib/libpbs.a(tm.o)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
can anyone help me in succesfull configuration.
Note:I applied the patch to the pbs source code 2.3.16 which was specified
in the mpiexec/patch directory pbs-2.3.12-mpiexec.diff
regards
Ravi Kumar
More information about the mpiexec
mailing list