mpiexec configuration

Komanduri Ravi Kumar ravi at cdacindia.com
Mon Sep 16 06:03:29 EDT 2002


On Mon, 16 Sep 2002, Ben Webb wrote:

> On Sat, Sep 14, 2002 at 11:54:15PM +0530, Komanduri Ravi Kumar wrote:
> >   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
> 
> 	Try the attached patch. ("patch -p0 < mpiexec-paths.patch"
> should apply it; then you'll need to rerun configure.)

Thanks for sending in the info . i applied the patch which you have given
me "patch -p0 < mpiexec-paths.patch"

when i do configure it says paths.h not found.. ok because we removed
paths.h include from start_exec.c when we apply this patch 

then after make is executed it displays the following errors

 make
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
make: *** Warning: File `start_tasks.c' has modification time in the
future
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
In file included from mpiexec.h:14,
                 from start_tasks.c:19:
util.h:41: warning: `malloc' attribute directive ignored
start_tasks.c: In function `start_tasks':
start_tasks.c:323: `_PATH_DEFPATH' undeclared (first use in this function)
start_tasks.c:323: (Each undeclared identifier is reported only once
start_tasks.c:323: for each function it appears in.)
make: *** [start_tasks.o] Error 1

thanks in advance 
 
> > BTW, I use
the
following in my configure scripts to detect Solaris > socket libraries:-



> 
>    AC_SEARCH_LIBS(socket, socket)
>    AC_SEARCH_LIBS(gethostbyname, nsl socket)
>    AC_CHECK_FUNCS(socket gethostbyname)
> 
> 	Ben
> -- 
> ben at bellatrix.pcl.ox.ac.uk           http://bellatrix.pcl.ox.ac.uk/~ben/
> "One word sums up probably the responsibility of any vice president,
> and that one word is 'to be prepared'."
> 	- Vice President Dan Quayle, 12/6/89
> 







More information about the mpiexec mailing list