source: issm/oecreview/Archive/20545-21336/ISSM-20819-20820.diff@ 21337

Last change on this file since 21337 was 21337, checked in by Mathieu Morlighem, 8 years ago

CHG: added Archive/20545-21336

File size: 817 bytes
  • ../trunk-jpl/src/m/solve/loadresultsfromcluster.py

     
    3030        cluster.Download(md.private.runtimename,filelist)
    3131
    3232        #If we are here, no errors in the solution sequence, call loadresultsfromdisk.
    33         md=loadresultsfromdisk(md,md.miscellaneous.name+'.outbin')
    34 
     33        if os.path.getsize(md.miscellaneous.name+'.outbin')>0:
     34                md=loadresultsfromdisk(md,md.miscellaneous.name+'.outbin')
     35        else:
     36                print 'WARNING, outbin file is empty for run '+md.miscellaneous.name
     37               
    3538        #erase the log and output files
    3639        if md.qmu.isdakota:
    3740                filename=os.path.join('qmu'+str(os.getpid()),md.miscellaneous.name)
Note: See TracBrowser for help on using the repository browser.