NERSC Berkeley 2016 HOWTO

From VASP Wiki
Revision as of 19:58, 4 November 2016 by Vaspmaster (talk | contribs) (Created page with "* '''Running the examples''': :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....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • Running the examples:
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: