- Almost all examples come with a bash-script that runs them. In most cases these scripts are called job.sh, doall.sh, loop.sh, run.sh or something like that.
- To submit these jobscripts to the Haswell nodes on Cori you may do the following:
- copy the files hsw.sl and sub.sh to the directory where you want to run the example:
cd path-to-your-directory
cp /.../hsw.sl .
cp /.../sub.sh .
- then to submit for instance the jobscripts run.sh, you specify:
./sub.sh run.sh
- The file hsw.sl contains the slurm-preamble, loads the relevant environment modules, and sets the command with which VASP will be called by the jobscript: