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
RevLine 
[21337]1Index: ../trunk-jpl/src/m/solve/loadresultsfromcluster.py
2===================================================================
3--- ../trunk-jpl/src/m/solve/loadresultsfromcluster.py (revision 20819)
4+++ ../trunk-jpl/src/m/solve/loadresultsfromcluster.py (revision 20820)
5@@ -30,8 +30,11 @@
6 cluster.Download(md.private.runtimename,filelist)
7
8 #If we are here, no errors in the solution sequence, call loadresultsfromdisk.
9- md=loadresultsfromdisk(md,md.miscellaneous.name+'.outbin')
10-
11+ if os.path.getsize(md.miscellaneous.name+'.outbin')>0:
12+ md=loadresultsfromdisk(md,md.miscellaneous.name+'.outbin')
13+ else:
14+ print 'WARNING, outbin file is empty for run '+md.miscellaneous.name
15+
16 #erase the log and output files
17 if md.qmu.isdakota:
18 filename=os.path.join('qmu'+str(os.getpid()),md.miscellaneous.name)
Note: See TracBrowser for help on using the repository browser.