mpiexec configuration
Komanduri Ravi Kumar
ravi at cdacindia.com
Sat Sep 14 14:24:15 EDT 2002
Dear All
thanks for your immediate response. i could configure it with keeping
-lsocket -lnsl libraries. But when i am doing make it is searching for
paths.h file in start_exec.c but the paths.h file is not present in
/usr/include on Solaris m/c
Can anyone tell me how to do with the make.
i am just putting the error
gcc -MM -g -O2 -Wall -W -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -Wbad-function-cast -I/usr/local/PBS-2_3_16/include mpiexec.c
get_hosts.c start_tasks.c wait_tasks.c util.c config.c stdio.c gmpiconf.c
growstr.c > .depend
start_tasks.c:14: warning: No include path in which to find paths.h
gcc -g -O2 -Wall -W -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -Wbad-function-cast -I/usr/local/PBS-2_3_16/include -c
start_tasks.c
start_tasks.c:14: paths.h: No such file or directory
Thanks in advance
with regards
Ravi Kumar
On Sat, 14 Sep 2002, Pete Wyckoff wrote:
> ravi at cdacindia.com said:
> > 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.
>
> You're doing fine, but you might want to consider 0.70 just in case
> there were some bug fixes recently.
>
> > configure: error: libpbs.a not found in /usr/local/PBS-2_3_16/lib
> [..]
> > 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
>
> Aha. It appears that your system needs extra libraries to make socket
> code work. Good thing you looked in the log file. I vaguely remember
> having to add "-lsocket" to make such code compile on suns, for
> instance.
>
> You might try:
>
> LIBS=-lsocket ./configure ...
>
> or
>
> LIBS="-lsocket -lnsl" ./configure ...
>
> and see if that will convince the configure script to link with the
> appropriate system libraries. You will likely have to edit the Makefile
> which is generated by this to do the same thing when it goes to build
> mpiexec.
>
> I'll work on a proper patch for you next week.
>
> -- Pete
> _______________________________________________
> mpiexec mailing list
> mpiexec at osc.edu
> http://email.osc.edu/mailman/listinfo/mpiexec
>
=============================================================================
K.Ravi Kumar
National PARAM SuperComputing Facility,
Centre For Development OF Advanced Computing,
Poona University Campus,
Ganesh Khind,
Pune-411007,
Maharastra,
INDIA.
Voice : (91)-(020)-5694080(O)
(91)-(020)-5694000/1/2 Ext - 505 (O)
(91)-(020)-5898255(R)
Fax : (91)-(020)-5694081
=============================================================================
More information about the mpiexec
mailing list