Changeset 1747
- Timestamp:
- Apr 23, 2013, 4:06:30 PM (12 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dmem/abort_gcm.F
r1673 r1747 1 1 ! 2 ! $Id $2 ! $Id: abort_gcm.F 1492 2011-03-08 08:10:25Z fairhead $ 3 3 ! 4 4 c … … 24 24 25 25 character(len=*) modname 26 integer ierr 26 integer ierr, ierror_mpi 27 27 character(len=*) message 28 28 … … 47 47 else 48 48 write(lunout,*) 'Houston, we have a problem ', ierr 49 #ifdef CPP_MPI 50 C$OMP CRITICAL MPI 51 call MPI_ABORT(COMM_LMDZ, 1, ierror_mpi) 52 C$OMP END CRITICAL MPI 53 #else 49 54 stop 1 55 #endif 50 56 endif 51 57 END -
LMDZ5/trunk/libf/dyn3dpar/abort_gcm.F
r1492 r1747 24 24 25 25 character(len=*) modname 26 integer ierr 26 integer ierr, ierror_mpi 27 27 character(len=*) message 28 28 … … 47 47 else 48 48 write(lunout,*) 'Houston, we have a problem ', ierr 49 #ifdef CPP_MPI 50 C$OMP CRITICAL MPI 51 call MPI_ABORT(COMM_LMDZ, 1, ierror_mpi) 52 C$OMP END CRITICAL MPI 53 #else 49 54 stop 1 55 #endif 50 56 endif 51 57 END
Note: See TracChangeset
for help on using the changeset viewer.