Changeset 24541


Ignore:
Timestamp:
01/31/20 14:42:10 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing a few things

Location:
issm/trunk-jpl/src/m
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/qmu/postqmu.m

    r24540 r24541  
    2222qmuinfile=[md.miscellaneous.name '.qmu.in'];
    2323qmuoutfile=[md.miscellaneous.name '.qmu.out'];
    24 
    25 %[method,dvar,dresp_in]=dakota_in_parse(qmuinfile);
    26 %dakotaresults.method   =method;
    27 %dakotaresults.dvar     =dvar;
    28 %dakotaresults.dresp_in =dresp_in;
    29 
    3024[method,dresp_out,scm,pcm,srcm,prcm]=dakota_out_parse(qmuoutfile);
    3125dakotaresults.dresp_out=dresp_out;
  • issm/trunk-jpl/src/m/qmu/postqmu.py

    r24540 r24541  
    2828    qmuinfile = str(md.miscellaneous.name) + '.qmu.in'
    2929    qmuoutfile = str(md.miscellaneous.name) + '.qmu.out'
    30 
    31     # unused and unimplemented
    32     #[method, dvar, dresp_in] = dakota_in_parse(qmuinfile)
    33     #dakotaresults.method   =method
    34     #dakotaresults.dvar     =dvar
    35     #dakotaresults.dresp_in =dresp_in
    36 
    3730    [method, dresp_out, scm, pcm, srcm, prcm] = dakota_out_parse(qmuoutfile)
    3831    dakotaresults = struct()
  • issm/trunk-jpl/src/m/qmu/preqmu.m

    r24540 r24541  
    5959%create in file for dakota
    6060dakota_in_data(md.qmu.method(imethod),variables,responses,md.qmu.params(iparams),qmufile);
    61 system(['rm -rf ' md.miscellaneous.name '.m']);
    6261
    6362%build a list of variables and responses descriptors. the list is not expanded.
  • issm/trunk-jpl/src/m/qmu/preqmu.py

    r24540 r24541  
    7979    dakota_in_data(md.qmu.method, variables, responses, md.qmu.params, qmufile)
    8080
    81     #====================================================================================  #
    82     #REMOVED FOR DEBUGGING ONLY:
    83     #os.system('rm -rf ' + str(md.miscellaneous.name) + '.py')
    84     #====================================================================================  #
    85 
    8681    # build a list of variables and responses descriptors. the list is not expanded.
    8782    #{{{
  • issm/trunk-jpl/src/m/solve/loadresultsfromcluster.m

    r24538 r24541  
    4646
    4747%erase the log and output files
    48 if ~nolog,
    49         delete([md.miscellaneous.name '.outlog']);
    50         delete([md.miscellaneous.name '.errlog']);
    51 end
    52 if exist([md.private.runtimename '.outbin'])
    53         delete([md.miscellaneous.name '.outbin']);
     48for i=1:numel(filelist)
     49        filename = filelist{i};
     50        if exist(filename)
     51                delete(filename)
     52        end
    5453end
    5554if exist([md.private.runtimename '.tar.gz']) & ~ispc(),
     
    6261        delete([md.miscellaneous.name '.bin']);
    6362        delete([md.miscellaneous.name '.toolkits']);
     63        if md.qmu.isdakota
     64                delete([md.miscellaneous.name '.qmu.in']);
     65        end
    6466        if ~ispc(),
    6567                delete([md.miscellaneous.name '.queue']);
  • issm/trunk-jpl/src/m/solve/solve.m

    r24538 r24541  
    107107end
    108108
    109 %if running qmu analysis, some preprocessing of dakota files using models
    110 %fields needs to be carried out.
     109%if running qmu analysis, some preprocessing of dakota files using models fields needs to be carried out.
    111110if md.qmu.isdakota,
    112111        md=preqmu(md,options);
Note: See TracChangeset for help on using the changeset viewer.