Programming Tips

Disk Access

If the jobs needs to read/write quite much and often, in the submission script it is better to copy the input files to the /tmp directory (which is in the local harddrive of the node) and to write the output files also there, moving them in the /home/user_name directory only when the computation is over. In this way your job does not have to use NFS for each read/write operation relieving majorana of some weight (the /home partition is exported from there to all the nodes), making it faster.

Remember to remove your files from the /tmp directory once the computation is over.

Letting your node write frequently data into your home is effectively a denial-of-service attack on majorana!

Leave a Reply