(Adding some simple FAQ)
Revision as of 18:52, 19 April 2014
How do I connect to Beocat
How do I compile my programs?
ifort or gfortran
icc, gcc and g++
mpif77 or mpif90
mpicc or mpic++
How are the filesystems on Beocat set up?
|Mountpoint||Local / Shared||Size||Filesystem||Advice|
|/home||Shared||210TB total||glusterfs on top of xfs||Good enough for most jobs|
|/tmp||Local||>30GB (varies per node)||ext2||Good for I/O intensive jobs|
For most jobs you shouldn't need to worry, your default working directory is your homedir and it will be fast enough for most tasks. I/O intensive work should use /tmp, but you will need to remember to copy your files to and from this partition as part of your job script. This is made easier through the $TMPDIR environment variable in your jobs.
Example usage of $TMPDIR in a job script
1 #!/bin/bash 2 3 #copy our input file to $TMPDIR to make processing faster 4 cp ~/experiments/input.data $TMPDIR 5 6 #use the input file we copied over to the local system 7 #generate the output file in $TMPDIR as well 8 ~/bin/my_program --input-file=$TMPDIR/input.data --output-file=$TMPDIR/output.data 9 10 #copy the results back from $TMPDIR 11 cp $TMPDIR/output.data ~/experiments/results.$SGE_JOBID
You need to remember to copy over your data from $TMPDIR as part of your job. That directory and its contents are deleted when the job is complete.