Ignore:
Timestamp:
06/07/17 10:50:54 (8 years ago)
Author:
Eric.Larour
Message:

CHG: merged branch back to trunk-jpl 21754.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-larour-NatGeoScience2016/src/m/solve/solve.py

    r21097 r21759  
    77from waitonlock import waitonlock
    88from loadresultsfromcluster import loadresultsfromcluster
    9 import MatlabFuncs as m
    109
    1110def solve(md,solutionstring,*args):
     
    7675        md.private.solution=solutionstring
    7776        cluster=md.cluster
    78         if m.strcmpi(options.getfieldvalue('batch','no'),'yes'):
     77        if options.getfieldvalue('batch','no')=='yes':
    7978                batch=1
    8079        else:
     
    8281
    8382        #check model consistency
    84         if m.strcmpi(options.getfieldvalue('checkconsistency','yes'),'yes'):
     83        if options.getfieldvalue('checkconsistency','yes')=='yes':
    8584                print "checking model consistency"
    8685                ismodelselfconsistent(md)
     
    114113        marshall(md)                                           # bin file
    115114        md.toolkits.ToolkitsFile(md.miscellaneous.name+'.toolkits')    # toolkits file
    116         cluster.BuildQueueScript(md.private.runtimename,md.miscellaneous.name,md.private.solution,md.settings.io_gather,md.debug.valgrind,md.debug.gprof,md.qmu.isdakota)    # queue file
     115        cluster.BuildQueueScript(md.private.runtimename,md.miscellaneous.name,md.private.solution,md.settings.io_gather,md.debug.valgrind,md.debug.gprof,md.qmu.isdakota,md.transient.isoceancoupling)    # queue file
    117116
    118117        #Stop here if batch mode
    119         if m.strcmpi(options.getfieldvalue('batch','no'),'yes'):
     118        if options.getfieldvalue('batch','no')=='yes':
    120119                print 'batch mode requested: not launching job interactively'
    121120                print 'launch solution sequence on remote cluster by hand'
Note: See TracChangeset for help on using the changeset viewer.