Changeset 13610


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

CHG: cosmetics

Location:
issm/trunk-jpl/src/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/IssmComm.cpp

    r13589 r13610  
    1818}/*}}}*/
    1919int IssmComm::GetRank(){  /*{{{*/
    20         int my_rank;
     20        int my_rank2;
    2121        #ifdef _HAVE_MPI_
    22         MPI_Comm_rank(comm,&my_rank);
     22        MPI_Comm_rank(comm,&my_rank2);
    2323        #else
    24         my_rank=0;
     24        my_rank2=0;
    2525        #endif
    26         return my_rank;
     26        return my_rank2;
    2727
    2828}/*}}}*/
  • issm/trunk-jpl/src/c/include/globals.h

    r13609 r13610  
    1212COMM IssmComm::comm;
    1313
    14 //int my_rank=0;
    15 //int num_procs=1;
    16 
    1714#endif
  • issm/trunk-jpl/src/c/solutions/issm.cpp

    r13609 r13610  
    1414        /*Initialize environment (MPI, PETSC, MUMPS, etc ...)*/
    1515        comm_init=EnvironmentInit(argc,argv);
    16 
    17         /*Hack for now: */
    18         //MPI_Comm_rank(comm_init,&my_rank);
    19         //MPI_Comm_size(comm_init,&num_procs);
    2016
    2117        /*Initialize femmodel from arguments provided command line: */
Note: See TracChangeset for help on using the changeset viewer.