...
export PATH=/sdf/group/epptheory/bin:/sdf/group/epptheory/Programs/gcc-12/bin:$PATH
export LD_LIBRARY_PATH=/sdf/group/epptheory/lib:/sdf/group/epptheory/Programs/gcc-12/lib64:/sdf/group/epptheory/Programs/mysql/lib:$LD_LIBRARY_PATH
export LD_RUN_PATH=/sdf/group/epptheory/Programs/gcc-12/lib:$LD_RUN_PATH
SLURM
To use S3DF two options are in principle available.
First, there are interactive nodes like "iana" that allow you to log in and just run programs from the command line.
The theory group has purchased two interactive nodes, which should arrive in fall 2023.
Submitting Jobs
Second, the batch farm can be used to submit jobs via SLURM.
Here, we are benefitting from shared resources that are owned by others but are currently idle.
We can submit our jobs to the farm but we have very low priority to run given we have no purchased resources ourselves.
Nevertheless, this works quite well.
To submit a job you can either use command line. For example to run the script "test.out", do the following:
srun -n 4 -t 24:00:00 -o output.txt -e error.txt test.out
The above will allocate 4 CPUs for a time of 24 hours to run your script and write the output and errors into the output.txt and error.txt files.
The above options are optional and just listed as an example.
To submit a batch script you can create first a file (e.g. "submit.slurm").
#!/bin/bash
#SBATCH -n4
#SBATCH -t 24:00:00
#SBATCH -o output.txt
#SBATCH -e error.txt
test.out
Next you can submit this script using the command
sbatch submit.slurm
Managing jobs
sacct
See running jobs.
scancel #id
Cancel your job with job-id #id.