Changeset 114


Ignore:
Timestamp:
04/28/09 16:58:32 (16 years ago)
Author:
Eric.Larour
Message:

Moved cielo.rc to issm.rc

Location:
issm/trunk
Files:
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • issm/trunk/etc/issm.rc

    r108 r114  
    6060server_port=1025
    6161server_tunneling=no
    62 server_codepath=/u/astrid1/larour/issm-1.0/bin
     62server_codepath=/u/astrid1/larour/issm/trunk/bin
    6363server_executionpath=/home/larour/Testing/Execution
    6464
  • issm/trunk/src/m/classes/public/loadresultsfromcluster.m

    r1 r114  
    55%      md=loadresultsfromcluster(md,solutiontype);
    66
    7 %Get cielo.rc location
    8 cielo_rc_location=which('cielo.rc');
     7%Get issm.rc location
     8issm_rc_location=which('issm.rc');
    99
    1010%Figure out parameters for this particular cluster
    11 [codepath,executionpath]=ProcessParallelParametersFromCieloRc(md.cluster,cielo_rc_location);
     11[codepath,executionpath]=ProcessParallelParametersFromCieloRc(md.cluster,issm_rc_location);
    1212
    1313%if we are running locally, no need to call ssh to recover the logs and results. We figure out by comparing the
  • issm/trunk/src/m/classes/public/peek.m

    r1 r114  
    77%   See also: QueueJobPeek
    88
    9 %Get cielo.rc location
    10 cielo_rc_location=which('cielo.rc');
     9%Get issm.rc location
     10issm_rc_location=which('issm.rc');
    1111
    1212%Figure out parameters for this particular cluster
    13 [codepath,executionpath]=ProcessParallelParametersFromCieloRc(md.cluster,cielo_rc_location);
     13[codepath,executionpath]=ProcessParallelParametersFromCieloRc(md.cluster,issm_rc_location);
    1414
    1515%peek at the queued job
  • issm/trunk/src/m/classes/public/preparerun.m

    r1 r114  
    2020end
    2121
    22 %Get cielo.rc location
    23 cielo_rc_location=which('cielo.rc');
     22%Get issm.rc location
     23issm_rc_location=which('issm.rc');
    2424
    2525%Figure out parameters for this particular cluster
    26 [codepath,executionpath]=ProcessParallelParametersFromCieloRc(md.cluster,cielo_rc_location);
     26[codepath,executionpath]=ProcessParallelParametersFromCieloRc(md.cluster,issm_rc_location);
    2727
    2828%Marshall model data into a binary file.
  • issm/trunk/src/m/classes/public/solveparallel.m

    r1 r114  
    2020end
    2121
    22 %Get cielo.rc location
    23 cielo_rc_location=which('cielo.rc');
     22%Get issm.rc location
     23issm_rc_location=which('issm.rc');
    2424
    2525%Figure out parameters for this particular cluster
    26 [codepath,executionpath]=ProcessParallelParametersFromCieloRc(md.cluster,cielo_rc_location);
     26[codepath,executionpath]=ProcessParallelParametersFromCieloRc(md.cluster,issm_rc_location);
    2727
    2828%Marshall model data into a binary file.
  • issm/trunk/src/m/solutions/ice/debug.m

    r1 r114  
    44%   the results of both solutions
    55
    6 %first get this into the cielo code, at the core solution level
     6%first get this into the issm code, at the core solution level
    77%PetscSynchronizedPrintf(MPI_COMM_WORLD,"Messing up here\n");
    88%PetscSynchronizedFlush(MPI_COMM_WORLD);
     
    1414%nicely, if not correct. When everything works, reinstate the try catch.
    1515
    16 %an alter is used to modify the core solution in Ice, to stop right after Emg. But for cielo,
     16%an alter is used to modify the core solution in Ice, to stop right after Emg. But for issm,
    1717%we don't have an alter, just use the first 5 lines of this file and put them in the batch
    1818%solution.
     
    6161md=solve(md,'diagnostic_horiz','cielo');
    6262
    63 cielo_rc_location=which('cielo.rc'); [codepath,executionpath]=ProcessBatchParametersFromCieloRc(md.cluster,cielo_rc_location);
     63issm_rc_location=which('issm.rc'); [codepath,executionpath]=ProcessBatchParametersFromCieloRc(md.cluster,issm_rc_location);
    6464
    6565pause(5);
  • issm/trunk/src/m/utils/Model/ProcessParallelParametersFromCieloRc.m

    r1 r114  
    1 function [server_codepath server_executionpath]=ProcessParallelParametersFromCieloRc(server_name,cielo_rc_location)
    2 %PROCESSPARALLELPARAMETERSFROMCIELORC - process parallel parameters from cielo
     1function [server_codepath server_executionpath]=ProcessParallelParametersFromCieloRc(server_name,issm_rc_location)
     2%PROCESSPARALLELPARAMETERSFROMCIELORC - process parallel parameters from issm
    33%
    4 %   This function reads through the cielo_rc_location for server settings (name, ip, port and
     4%   This function reads through the issm_rc_location for server settings (name, ip, port and
    55%   tunneling) used to run parallel solution sequences
    66%
    77%   Usage:
    8 %      [server_codepath server_executionpath]=ProcessParallelParametersFromCieloRc(server_name,cielo_rc_location)
     8%      [server_codepath server_executionpath]=ProcessParallelParametersFromCieloRc(server_name,issm_rc_location)
    99
    1010lines_per_server=5;
    11 %open cielo.rc file
    12 fid=fopen(cielo_rc_location);
     11%open issm.rc file
     12fid=fopen(issm_rc_location);
    1313if fid==-1,
    14         error('Could not find cielo.rc file in delivery directory');
     14        error('Could not find issm.rc file in delivery directory');
    1515end
    1616
     
    2020line=fgetl(fid);
    2121if ~strcmp(line,'begin'),
    22         error('cielo.rc file in delivery directory should always start with the begin statement');
     22        error('issm.rc file in delivery directory should always start with the begin statement');
    2323end
    2424
     
    3333        %Check for end of file
    3434        if ~ischar(line),
    35                 error('cielo.rc file in delivery directory should end with an end statement');
     35                error('issm.rc file in delivery directory should end with an end statement');
    3636        end
    3737        %Ignore empty lines
     
    6464                                value=splittedstring{2};
    6565                                if ~strcmp(descriptor,'server_codepath'),
    66                                         error('server settings in cielo.rc don''t follow the correct syntax');
     66                                        error('server settings in issm.rc don''t follow the correct syntax');
    6767                                end
    6868                                server_codepath=value;
     
    7676                                value=splittedstring{2};
    7777                                if ~strcmp(descriptor,'server_executionpath'),
    78                                         error('server settings in cielo.rc don''t follow the correct syntax');
     78                                        error('server settings in issm.rc don''t follow the correct syntax');
    7979                                end
    8080                                server_executionpath=value;
     
    9494
    9595if found==0,
    96         error(['ProcessParallelParametersFromCieloRc error message: could not find setting for cluster ' server_name 'in cielo.rc file']);
     96        error(['ProcessParallelParametersFromCieloRc error message: could not find setting for cluster ' server_name 'in issm.rc file']);
    9797end
    9898
Note: See TracChangeset for help on using the changeset viewer.