Changeset 12163


Ignore:
Timestamp:
05/01/12 09:11:26 (13 years ago)
Author:
Mathieu Morlighem
Message:

updating runme.m as ISSM_TIER does not exist anymore

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/runme.m

    r11593 r12163  
    3030%      md=runme('id',102,'procedure','model');
    3131
    32 %Get ISSM_TIER variable
    33 ISSM_TIER=issmtier();
     32%Get ISSM_DIR variable
     33ISSM_DIR=issmdir();
    3434
    3535%Check inputs
     
    168168                                        message=getReport(me2);
    169169                                        if strcmpi(output,'nightly')
    170                                                 fid=fopen([ISSM_TIER '/nightlylog/matlaberror.log'], 'at');
     170                                                fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at');
    171171                                                fprintf(fid,'%s',message);
    172172                                                fprintf(fid,'\n------------------------------------------------------------------\n');
     
    174174                                                disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,id_string,fieldname));
    175175                                        elseif strcmpi(output,'daily');
    176                                                 fid=fopen([ISSM_TIER '/dailylog/matlaberror.log'], 'at');
     176                                                fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at');
    177177                                                fprintf(fid,'%s',message);
    178178                                                fprintf(fid,'\n------------------------------------------------------------------\n');
     
    193193                message=getReport(me);
    194194                if strcmpi(output,'nightly')
    195                         fid=fopen([ISSM_TIER '/nightlylog/matlaberror.log'], 'at');
     195                        fid=fopen([ISSM_DIR '/nightlylog/matlaberror.log'], 'at');
    196196                        fprintf(fid,'%s',message);
    197197                        fprintf(fid,'\n------------------------------------------------------------------\n');
     
    199199                        disp(sprintf(['FAILURE difference: N/A test id: %i test name: %s field: %s'],id,id_string,'N/A'));
    200200                elseif strcmpi(output,'daily');
    201                         fid=fopen([ISSM_TIER '/dailylog/matlaberror.log'], 'at');
     201                        fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at');
    202202                        fprintf(fid,'%s',message);
    203203                        fprintf(fid,'\n------------------------------------------------------------------\n');
Note: See TracChangeset for help on using the changeset viewer.