Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
sacctmgr -s show user name=$USER format=user,account%-30

Note: The account noaccount is just a dummy account that can not be used for computing.

You can change the default setting on your own:

...

If your job does lots of reading/writing, using the local disk might be beneficial. To do so, you have to copy data to / from the compute nodes. The /tmp folders are deleted once a day.


Code Block
languagebash
# Copy data to the node, where your main MPI (rank 0) task runs
cp $MYDATA /tmp/myfolder

# If you need this data on every node, you have to add `srun` in front of the copy command
srun cp $MYDATA /tmp/myfolder

The same applies for the opposite direction (copying results to the global filesystem).

If your job produces many small files, please consider packing those files into an archive (i.e. tar -czvf file.tar.gz <input data>) before moving them to $WORK or $SCRATCH.


Example Scripts

Job arrays

...