8 lines
204 B
Bash
Executable file
8 lines
204 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Create the scratch directory for the job
|
|
SCRATCH_DIR="/scratch/job-$SLURM_JOB_ID"
|
|
mkdir -p "$SCRATCH_DIR"
|
|
|
|
# Set the SCRATCH environment variable
|
|
echo "export SCRATCH=$SCRATCH_DIR"
|