Changeset 1595


Ignore:
Timestamp:
08/05/09 16:53:45 (16 years ago)
Author:
Eric.Larour
Message:

Matlab better launching

Location:
issm/trunk/cron
Files:
2 edited

Legend:

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

    r1593 r1595  
    5151
    5252#Erase previous code and Fetch the new one
    53 #rm -rf trunk
    54 #svn checkout $REPOSITORY
     53rm -rf trunk
     54svn checkout $REPOSITORY
    5555
    5656#install ISSM
     
    7777        cd $ISSM_DIR
    7878        rm -rf externalpackages
    79         ln -s $EXTERNALPACKAGESDIR ./
     79        cp -Rf $EXTERNALPACKAGESDIR ./
    8080
    8181        rm -rf devpackages
    82         ln -s $DEVPACKAGESDIR ./
     82        cp -Rf $DEVPACKAGESDIR ./
    8383else
    8484        #2: install some required external packages
     
    103103
    104104#4: compile and install ISSM
    105 make -j $NUMCPUS
    106 make -j $NUMCPUS install
     105if [[ "$OS" == "winxp32" ]]
     106then
     107        cd $ISSM_DIR/src/c
     108        ./intel-compile.sh
     109        cd $ISSM_DIR/src/mex
     110        make install
     111        cd $ISSM_DIR
     112else
     113        make -j $NUMCPUS
     114        make -j $NUMCPUS install
     115fi
     116
    107117INSTAL_TIME=$(timer)
    108118export ELAPSED_INSTAL=$(timer $START_TIME)
    109119
    110120#Launch matlab and the nightly run script
    111 matlab -nojvm -nosplash  > ./nightlylong.log << EOF
     121cat > matlab_run.m << EOF
    112122startup
    113123nightlyrun($PACKAGES);
     124exit
    114125EOF
     126
     127matlab -wait -nojvm -nosplash  -r matlab_run -logfile nightlylong.log
    115128
    116129#removed unused lines to deal with a smaller file
  • issm/trunk/cron/winxp32_cronfile

    r1554 r1595  
    22SHELL=/bin/bash
    33
    4 #mail output to Mathieu
     4#mail output to Eric
    55MAILTO=eric.larour@jpl.nasa.gov
    66
    77#cronjob: issm sunday-friday 9:00pm
    8 0 21 * * 0-5 cd /u/wilkes-r1b/morlighe/svn/issm/trunk/cron/ && ./nightlyrun.sh configs/winxp32_larour
     80 21 * * 0-5 cd /cygdrive/c/issm/trunk/cron && ./nightlyrun.sh configs/winxp32_larour
Note: See TracChangeset for help on using the changeset viewer.