Changeset 13817


Ignore:
Timestamp:
10/23/12 21:19:34 (12 years ago)
Author:
Eric.Larour
Message:

CHG: generic assumed etc path was given though issmdir, but in the case where the host is not local, the path of etc/environment.sh might be completely different.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/clusters/generic.m

    r13304 r13817  
    1414                interactive=1;
    1515                codepath=[issmdir() '/bin'];
     16                etcpath=[issmdir() '/etc'];
    1617                executionpath=[issmdir() '/execution'];
    1718                valgrind=[issmdir() '/externalpackages/valgrind/install/bin/valgrind'];
     
    190191
    191192                        disp('launching solution sequence on remote cluster');
    192                         launchcommand=['source ' issmdir '/etc/environment.sh && cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
     193                        launchcommand=['source ' cluster.etcpath '/environment.sh && cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
    193194                                ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && source  ' modelname '.queue '];
    194195                        issmssh(cluster.name,cluster.login,cluster.port,launchcommand);
Note: See TracChangeset for help on using the changeset viewer.