This was something I posted to the bproc mailing list already and I
figured I should post it here, too. The thing is I'm trying to get
lam-7.1.1 to work the bjs, which is the bundled scheduler for bproc.
So anyone tried to get this too work? Doesn't appear lamboot is very
happy with bjssub. Any hints on how to get this to work?
I was hoping to make it work by creating a script, which would parse the
$NODES enviroment variable that is passed from bjssub to the running
process. $NODES is a comma delimited list of integers corresponding to
available nodes:
#!/bin/sh
TMPFILE=`mktemp /tmp/lamhosts.$JOBID.XXXXXX`
echo $NODES | awk '{ split($0,nodes,","); print "n-1 no-schedule=1";
for (i in nodes) printf "n%d\n", nodes[i] }' > $TMPFILE
lamboot -d $TMPFILE
sleep 2
mpirun C <mpijob>
The output from lamboot is attached.
--
Dale Harris
rodmur_at_[hidden]
/.-)
|