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

CHG: more changes to switch from my_rank and num_procs to IssmComm::GetSize and IssmComm::GetRank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/io/Disk/WriteLockFile.cpp

    r13549 r13606  
    99
    1010        int i;
    11         extern int my_rank;
     11        int my_rank2;
     12
     13        /*recover my_rank2:*/
     14        my_rank2=IssmComm::GetRank();
    1215       
    1316        /* output: */
     
    1518
    1619        /* Open lock file and write 1 into it: */
    17         if(my_rank==0){
     20        if(my_rank2==0){
    1821                fid=fopen(filename,"w");
    1922                if(fid==NULL) _error_("error message: could not open lock file " << filename);
Note: See TracChangeset for help on using the changeset viewer.