Minor compile bugs, and LAM update

Ben Webb ben at bellatrix.pcl.ox.ac.uk
Tue Jun 18 08:42:34 EDT 2002


The recent release of mpiexec-0.67 made me notice two things...

1. If your PBS headers are installed in /usr/include, the mpiexec
   Makefile adds -I/usr/include to a gcc invocation. This is a bit dodgy
   as it alters the search path (if gcc has modified any system headers,
   and put them in gcc-specific directories, this use of -I will cause
   the old, buggy, headers to be used instead). gcc 3.1 complains about
   it, anyway. I use the attached patch to work around this.

2. The LAM patch is out of date. An updated version is available at
   http://bellatrix.pcl.ox.ac.uk/~ben/pbs/lam-mpiexec-tm.patch. (The
   version included with mpiexec won't, I think, work at all, due to a
   bug in my use of waitpid() for hboot's child processes.) I would have
   noticed this earlier except that there appears to be a problem with the
   mpiexec CVS server. Whenever I do a "cvs -z3 update -dP" I get:-

in.cvsd server: Updating .
in.cvsd server: Updating patch
in.cvsd server: failed to create lock directory in repository
`/cvs/mpiexec/patch': Permission denied
in.cvsd server: failed to obtain dir lock in repository
`/cvs/mpiexec/patch'
in.cvsd [server aborted]: read lock failed - giving up

This doesn't look like a problem at my end...

	Ben
-- 
ben at bellatrix.pcl.ox.ac.uk           http://bellatrix.pcl.ox.ac.uk/~ben/
"I was a modest, good-humoured boy. It is Oxford that has made me 
insufferable."
	- Max Beerbohm
-------------- next part --------------
diff -Nur mpiexec-0.66/Makefile.in mpiexec-0.66-patched/Makefile.in
--- mpiexec-0.66/Makefile.in	Tue May 28 20:06:53 2002
+++ mpiexec-0.66-patched/Makefile.in	Wed Jun 12 17:04:36 2002
@@ -38,7 +38,10 @@
 else
 PBSINCDIR = $(PBSDIR)/include
 endif
+
+ifneq ($(PBSINCDIR),/usr/include)
 INCLUDE = -I$(PBSINCDIR)
+endif
 
 LD = $(CC)
 LDFLAGS =


More information about the mpiexec mailing list