Changeset c31ee05 in flex_extract.git for Templates/installscript.template.bologna


Ignore:
Timestamp:
Oct 20, 2022, 8:37:03 PM (19 months ago)
Author:
Anne Tipka <anne.tipka@…>
Branches:
dev
Children:
78d1f9d
Parents:
5cff464
Message:

added loading of ecaccess module in submit script and adjusted installscript to Bologna environment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Templates/installscript.template.bologna

    r373b74e rc31ee05  
    1 #!/bin/ksh
     1#!/bin/bash
    22
    33# ON ECS or HPC servers:
     
    55# start with srun <NAME_OF_THIS_FILE> directly on machine
    66
    7 #SBATCH --chdir=$$SCRATCH
     7#SBATCH --chdir=/scratch/$username
    88#SBATCH --qos=el
    9 #SBATCH --job-name=flex_extract
    10 #SBATCH --output=flex_extract.%j.out
    11 #SBATCH --error=flex_error.%j.out
     9#SBATCH --job-name=flex_compile
     10#SBATCH --output=flex_compile.%j.out
     11#SBATCH --error=flex_compile.%j.out
    1212#SBATCH --mail-type=FAIL
    13 #SBATCH --mail-user=$username
    1413
    1514## CRAY specific batch requests
     
    5958ls -l $fortran_program >>flexcompile
    6059if [ $$? -eq 0 ]; then
    61   echo 'SUCCESS!' >>flexcompile
     60  echo -e '\nSUCCESS!' >>flexcompile
    6261  mail -s flexcompile.$${HOST}.$$$$ $${USER} <flexcompile
     62  sleep 1
    6363else
    6464  echo Environment: >>flexcompile
    6565  env >> flexcompile
    6666  mail -s "ERROR! flexcompile.$${HOST}.$$$$" $${USER} <flexcompile
     67  sleep 1
    6768fi
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG