Versions Compared

Key

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

...

The above shows the UNIX group "atlas-t3". People in the "Owners" line and add/remove members of this group. People in the "Member" line can run jobs in the dedicate queue. (Owner Owners are not members).

The following is an example job script for users to submit jobs to the atlas-t3 queue:

Code Block
$ cat job-script.sh 
#!/bin/sh
# run in LSF queue atlas-t3 and run up to 120 minutes (wall time)
#BSUB -q atlas-t3
#BSUB -W 120


cd /scratch
myworkdir=/scratch/`uname -u`$$
# create a work dir on batch node's /scratch space
mkdir $myworkdir
cd $myworkdir
# run payload
...run my task here...  &
wait  # wait for the task to finish 
# save the output to storage, use either "cp" to copy to NFS spaces, or "xrdcp" to copy to the xrootd spaces
cp myoutput_file /nfs/slac/g/atlas/u02/myoutput_file  
xrdcp myoutput_file root://atlprf01:11094//atlas/local/myoutput_file
# clean up
cd ..
rm -rf $myworkdir

$ bsub < job-script.sh  # submit the job

In the above script, the #BSUB directive tells LSF that the batch queue is "atlas-t3" and the wall time limit is 120 minutes. Please always specify a wall time. Otherwise, your job will be killed if they exist the default 30 minutes wall time limit.