- Timestamp:
- Feb 1, 2008, 1:24:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4_V3_patches/libf/dyn3dpar/parallel.F90
r811 r885 135 135 subroutine Finalize_parallel 136 136 #ifdef CPP_COUPLE 137 use mod_prism_proto137 use mod_prism_proto 138 138 #endif 139 implicit none 140 141 #include "dimensions.h" 142 #include "paramet.h" 139 use surface_data, only : ocean 140 implicit none 141 142 include "dimensions.h" 143 include "paramet.h" 143 144 integer :: ierr 144 145 integer :: i … … 149 150 deallocate(jj_nb_para) 150 151 152 if (ocean == 'couple') then 151 153 #ifdef CPP_COUPLE 152 call prism_terminate_proto(ierr) 153 IF (ierr .ne. PRISM_Ok) THEN 154 call abort_gcm('Finalize_parallel',' Probleme dans prism_terminate_proto ',1) 155 endif 156 #else 157 call MPI_FINALIZE(ierr) 158 #endif 154 call prism_terminate_proto(ierr) 155 IF (ierr .ne. PRISM_Ok) THEN 156 call abort_gcm('Finalize_parallel',' Probleme dans prism_terminate_proto ',1) 157 endif 158 #endif 159 else 160 call MPI_FINALIZE(ierr) 161 end if 159 162 160 163 end subroutine Finalize_parallel
Note: See TracChangeset
for help on using the changeset viewer.