Changeset 5983


Ignore:
Timestamp:
09/23/10 10:02:27 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fixed cluster

File:
1 edited

Legend:

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

    r5591 r5983  
    9696fi
    9797#}}}
    98 #Create cluster.rc {{{1
     98#Create cluster's settings{{{1
    9999#create simpler  cluster.rc file, with only the cluster we are interested in.
    100 cd $ISSM_DIR/etc
    101 cat << END > cluster.rc
    102 begin
    103 cluster_name=$HOST_NAME
    104 cluster_codepath=$ISSM_DIR/bin
    105 cluster_executionpath=$EXECUTION_PATH
    106 cluster_login=$USER
    107 cluster_port=0
    108 
    109 end
     100cd $ISSM_DIR/test/NightlyRun/
     101cat << END > SetParallel.m
     102function md=SetParallel(md,numcpus);
     103
     104eval(['md.cluster=' oshostname() '(''np'',numcpus,''login'',''$USER'',''codepath'',''$ISSM_DIR/bin'',''executionpath'',''$EXECUTION_PATH'');']);
    110105END
    111106#}}}
Note: See TracChangeset for help on using the changeset viewer.