Changeset 5022


Ignore:
Timestamp:
08/06/10 12:56:45 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added report2.sh and fixed cluster.rc

Location:
issm/trunk/cron
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/cron/nightlyrun2.sh

    r5007 r5022  
    7777#}}}
    7878
    79 
    8079#Lauch installation
    8180#Checkout/update/none ISSM if requested (ISSM_INSTALLATION){{{1
     
    8786        svn checkout $REPOSITORY
    8887
    89 
    90         #create simpler  cluster.rc file, with only the cluster we are interested in.
    91         cat << END > cluster.rc
     88elif [ "$ISSM_INSTALLATION" == "update" ]
     89then
     90
     91        #only update ISSM
     92        cd $ISSM_DIR
     93        svn update
     94
     95elif [ "$ISSM_INSTALLATION" == "none" ]
     96then
     97
     98        #do nothing
     99        echo "Skipping ISSM installation"
     100
     101else
     102
     103        #Error message
     104        echo "ISSM_INSTALLATION supported values are: checkout, update and none. Exiting..." >&2 # Error message to stderr.
     105        exit 1
     106
     107fi
     108#}}}
     109#Create cluster.rc {{{1
     110#create simpler  cluster.rc file, with only the cluster we are interested in.
     111cd $ISSM_DIR/etc
     112cat << END > cluster.rc
    92113begin
    93114cluster_name=$HOST_NAME
     
    99120end
    100121END
    101 
    102 elif [ "$ISSM_INSTALLATION" == "update" ]
    103 then
    104 
    105         #only update ISSM
    106         cd $ISSM_DIR
    107         svn update
    108 
    109 elif [ "$ISSM_INSTALLATION" == "none" ]
    110 then
    111 
    112         #do nothing
    113         echo "Skipping ISSM installation"
    114 
    115 else
    116 
    117         #Error message
    118         echo "ISSM_INSTALLATION supported values are: checkout, update and none. Exiting..." >&2 # Error message to stderr.
    119         exit 1
    120 
    121 fi
    122122#}}}
    123123#Source environment variables with new matlab path {{{1
Note: See TracChangeset for help on using the changeset viewer.