mpiexec configuration
Ben Webb
ben at bellatrix.pcl.ox.ac.uk
Mon Sep 16 06:47:21 EDT 2002
On Mon, Sep 16, 2002 at 03:33:29PM +0530, Komanduri Ravi Kumar wrote:
> 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
Well, it doesn't actually remove paths.h; it just makes it conditional
on HAVE_PATHS_H being defined by configure.
> 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
That's OK - "touch start_tasks.c" should fix this.
> 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
Hmm, odd. This works fine on my Solaris box, although _PATH_DEFPATH is
used on line 337 on my system, not 323. (Are you sure you haven't
changed something else as well?) You could just replace the _PATH_DEFPATH
with "/usr/bin:/bin" to get it to work temporarily, I suppose.
Ben
--
ben at bellatrix.pcl.ox.ac.uk http://bellatrix.pcl.ox.ac.uk/~ben/
"There is but one step from the grotesque to the horrible."
- 'His Last Bow. Wisteria Lodge', Sir Arthur Conan Doyle
More information about the mpiexec
mailing list