Changeset 3a54479 in flex_extract.git


Ignore:
Timestamp:
Jun 14, 2020, 8:48:42 PM (4 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
5bf163a
Parents:
a916e8f
Message:

added automatic python3 loading on ECMWF servers in setup and run scripts

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Run/run.sh

    ra916e8f r3a54479  
    5555# INITIALIZE EMPTY PARAMETERLIST
    5656parameterlist=""
     57
     58# CHECK IF ON ECMWF SERVER;
     59if [[ $HOST == *"ecgb"* ]] || [[ $HOST == *"cca"* ]] || [[ $HOST == *"ccb"* ]]; then
     60# LOAD PYTHON3 MODULE
     61  module load python3
     62fi
    5763
    5864# CHECK FOR MORE PARAMETER
  • setup.sh

    r5f67883 r3a54479  
    4747parameterlist=""
    4848
     49# CHECK IF ON ECMWF SERVER;
     50if [[ $HOST == *"ecgb"* ]] || [[ $HOST == *"cca"* ]] || [[ $HOST == *"ccb"* ]]; then
     51# LOAD PYTHON3 MODULE
     52  module load python3
     53fi
     54
    4955# DEFAULT PARAMETERLIST
    5056if [ -n "$TARGET" ]; then
     
    5763
    5864# CHECK FOR MORE PARAMETER
    59 if [ "$TARGET" == "ecgate" ] || [ "$TARGET" == "cca" ]; then
     65if [ "$TARGET" == "ecgate" ] || [ "$TARGET" == "cca" ] || [ "$TARGET" == "ccb" ]; then
    6066  # check if necessary Parameters are set
    6167  if [ -z "$ECUID" ] || [ -z "$ECGID" ] || [ "$ECUID" == "<username>" ] || [ "$ECGID" == "<groupID>" ] ; then
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG