Changeset 8580


Ignore:
Timestamp:
06/09/11 07:41:20 (14 years ago)
Author:
Mathieu Morlighem
Message:

new way to set settings

File:
1 edited

Legend:

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

    r8476 r8580  
    100100#create simpler  cluster.rc file, with only the cluster we are interested in.
    101101cd $ISSM_TIER/test/NightlyRun/
    102 cat << END > SetParallel.m
    103 function md=SetParallel(md,numcpus);
    104 
    105 eval(['md.cluster=' oshostname() '(''np'',numcpus,''login'',''$USER'',''codepath'',''$ISSM_TIER/bin'',''executionpath'',''$EXECUTION_PATH'');']);
     102cat << END > $HOST_NAME"_settings.m"
     103cluster.login='$USER';
     104cluster.codepath='$ISSM_TIER/bin';
     105cluster.executionpath='$EXECUTION_PATH';
    106106END
    107107#}}}
Note: See TracChangeset for help on using the changeset viewer.