Sabre |
Testing Sabre | |
Sabre manual |
A number of Sabre examples are available for
downloading. They may be used to test your implementation of Sabre.
Running Parallel JobsThe way in which parallel jobs are run is implementation specific. To run a parallel Sabre job on the HPC at Lancaster a command file has to be written and submitted to run in batch mode. A command file to run parallel Sabre on the example wage.sab in the directory $HOME/sabre/examples would look like the following:
#!/bin/bash #$ -o $HOME/sabre/examples/wage.stdout #$ -e $HOME/sabre/examples/wage.stderr #$ -S /bin/bash #$ -v LD_LIBRARY_PATH=/usr/lib:/usr/local/lib #$ -v LD_LIBRARY_PATH_64=/usr/lib/sparcv9:/usr/local/lib/sparcv9 echo "Got $NSLOTS slots." cd $HOME/sabre/examples mpirun -np $NSLOTS -machinefile $TMPDIR/machines sabre_parallel < wage.sabIf this command file is called wage_parallel.com it could then be submitted for running with a request for, say, 16 processors as follows:
qsub -pe mpich 16 wage_parallel.com |
Other links: Centre for e-Science | Centre for Applied Statistics