Changeset 26778


Ignore:
Timestamp:
01/13/22 13:02:46 (3 years ago)
Author:
jdquinn
Message:

BUG: MATLAB command for Windows was removed accidentally; reduced timeout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/jenkins/jenkins.sh

    r26773 r26778  
    346346                cd $ISSM_DIR/test/NightlyRun
    347347
    348                 $MATLAB_PATH/bin/matlab -nodisplay -nosplash -nojvm -r "addpath ${ISSM_DIR}/src/m/dev; devpath; addpath ${ISSM_DIR}/nightlylog; matlab_run$i" &> ${ISSM_DIR}/nightlylog/matlab_log$i.log
     348                if [[ "${OS}" == CYGWIN* || ${MINGW} -eq 1 ]]; then
     349                        $MATLAB_PATH/bin/matlab -nodesktop -nosplash -nojvm -r "addpath ${ISSM_DIR_WIN}/src/m/dev; devpath; addpath ${ISSM_DIR_WIN}/nightlylog; matlab_run$i" &> ${ISSM_DIR}/nightlylog/matlab_log$i.log
     350                else
     351                        $MATLAB_PATH/bin/matlab -nodisplay -nosplash -nojvm -r "addpath ${ISSM_DIR}/src/m/dev; devpath; addpath ${ISSM_DIR}/nightlylog; matlab_run$i" &> ${ISSM_DIR}/nightlylog/matlab_log$i.log
     352                fi
    349353        done
    350354
     
    376380                # Time out after $max_time seconds because sometimes multiple MATLAB processes get locked in race condition
    377381                timer=0
    378                 max_time=10800
     382                max_time=7200
    379383                while [[ $timer -lt $max_time && -n "${pid}" ]]; do
    380384                        pid=$(ps -W | grep MATLAB | awk '{print $1}')
Note: See TracChangeset for help on using the changeset viewer.