Changeset 14287
- Timestamp:
- 01/25/13 15:24:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/c/classes/IssmComm.cpp ¶
r13701 r14287 21 21 int my_rank = 0; 22 22 23 24 #ifdef _HAVE_MPI_ 25 MPI_Comm_rank(comm,&my_rank); 26 #else 23 27 /*for matlab and python modules, comm == -1*/ 24 28 if((int)comm==-1) return my_rank; 25 26 #ifdef _HAVE_MPI_27 MPI_Comm_rank(comm,&my_rank);28 29 #endif 29 30 … … 35 36 int size = 1; 36 37 37 /*for matlab and python modules, comm == -1*/38 if((int)comm==-1) return size;39 40 38 #ifdef _HAVE_MPI_ 41 39 MPI_Comm_size(comm,&size);
Note:
See TracChangeset
for help on using the changeset viewer.