[Wien] w2web + lava queuing system
celhin
celhin at MIT.EDU
Sun Jul 4 02:38:05 CEST 2010
Dear wien2k users,
I try to launch jobs on lava queuing system from w2web. In the execution type, I
have bsub=cat %f > w2web-job;bsub -n4 < hp2.bsub. Below is the hp2.bsub script.
This does not work. Any idea what's wrong?
In addition, where can I find the master-job-template qsub-job0_lapw? I do not
find it in $WIENROOT.
Best,
Céline Hin.
Script:
#!/bin/csh
#BSUB -o job.out
#BSUB -e job.err
cd /home/celine/wienessaie/Wienessaie_mpi/Si9
# copy the machines file in
#cp $TMPDIR/machines.wien2k .machines
set mpijob=1
echo nodes for this job: $LSB_HOSTS
set proclist=`echo $LSB_HOSTS`
set nproc=$#proclist
echo number of processors: $nproc
echo '#' > .machines
# example for an MPI parallel lapw0
#echo -n 'optimize.job:' >> .machines
#set i=1
#while ($i <= $nproc )
#echo -n "$proclist[$i] " >>.machines
#@ i = $i + 1
#end
#echo ' ' >>.machines
#example for k-point and mpi parallel lapw1/2
set i=1
while ($i <= $nproc )
echo -n '1:' >>.machines
@ i1 = $i + $mpijob
@ i2 = $i1 - 1
echo $proclist[$i-$i2] >>.machines
set i=$i1
end
echo 'granularity:1' >>.machines
echo 'extrafine:1' >>.machines
More information about the Wien
mailing list