Changeset c31ee05 in flex_extract.git for Templates/installscript.template.bologna
- Timestamp:
- Oct 20, 2022, 8:37:03 PM (19 months ago)
- Branches:
- dev
- Children:
- 78d1f9d
- Parents:
- 5cff464
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Templates/installscript.template.bologna
r373b74e rc31ee05 1 #!/bin/ ksh1 #!/bin/bash 2 2 3 3 # ON ECS or HPC servers: … … 5 5 # start with srun <NAME_OF_THIS_FILE> directly on machine 6 6 7 #SBATCH --chdir= $$SCRATCH7 #SBATCH --chdir=/scratch/$username 8 8 #SBATCH --qos=el 9 #SBATCH --job-name=flex_ extract10 #SBATCH --output=flex_ extract.%j.out11 #SBATCH --error=flex_ error.%j.out9 #SBATCH --job-name=flex_compile 10 #SBATCH --output=flex_compile.%j.out 11 #SBATCH --error=flex_compile.%j.out 12 12 #SBATCH --mail-type=FAIL 13 #SBATCH --mail-user=$username14 13 15 14 ## CRAY specific batch requests … … 59 58 ls -l $fortran_program >>flexcompile 60 59 if [ $$? -eq 0 ]; then 61 echo 'SUCCESS!' >>flexcompile60 echo -e '\nSUCCESS!' >>flexcompile 62 61 mail -s flexcompile.$${HOST}.$$$$ $${USER} <flexcompile 62 sleep 1 63 63 else 64 64 echo Environment: >>flexcompile 65 65 env >> flexcompile 66 66 mail -s "ERROR! flexcompile.$${HOST}.$$$$" $${USER} <flexcompile 67 sleep 1 67 68 fi
Note: See TracChangeset
for help on using the changeset viewer.