Changeset 2090 for LMDZ5/trunk/libf
- Timestamp:
- Jul 12, 2014, 11:24:09 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/physiq.F90
r2086 r2090 11 11 12 12 USE ioipsl, only: histbeg, histvert, histdef, histend, histsync, & 13 histwrite, ju2ymds, ymds2ju, ioget_year_len 13 histwrite, ju2ymds, ymds2ju, ioget_year_len, getin 14 14 USE comgeomphy 15 15 USE phys_cal_mod … … 710 710 character*20 modname 711 711 character*80 abort_message 712 logical ok_sync 712 logical, save :: ok_sync, ok_sync_omp 713 !$OMP THREADPRIVATE(ok_sync) 713 714 real date0 714 715 integer idayref … … 946 947 END DO 947 948 END IF 948 ok_sync=.false.949 949 950 950 IF (debut) THEN … … 1230 1230 1231 1231 !$OMP MASTER 1232 ! FH : if ok_sync=.true. , the time axis is written at each time step 1233 ! in the output files. Only at the end in the opposite case 1234 ok_sync_omp=.false. 1235 CALL getin('ok_sync',ok_sync_omp) 1232 1236 call phys_output_open(rlon,rlat,nCFMIP,tabijGCM, & 1233 1237 iGCM,jGCM,lonGCM,latGCM, & … … 1239 1243 flag_aerosol_strat, pdtphys, paprs, pphis, & 1240 1244 pplay, lmax_th, ptconv, ptconvth, ivap, & 1241 d_t, qx, d_qx, zmasse, ok_sync )1245 d_t, qx, d_qx, zmasse, ok_sync_omp) 1242 1246 !$OMP END MASTER 1243 1247 !$OMP BARRIER 1248 ok_sync=ok_sync_omp 1244 1249 1245 1250 freq_outNMC(1) = ecrit_files(7)
Note: See TracChangeset
for help on using the changeset viewer.