Changeset 13009 for NEMO/trunk/tests
- Timestamp:
- 2020-06-03T08:35:19+02:00 (4 years ago)
- Location:
- NEMO/trunk/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/tests/CANAL/MY_SRC/stpctl.F90
r12933 r13009 260 260 !!! WRITE(clsum, '(i'//clfmt//')') ksum ! this is creating a compilation error with AGRIF 261 261 cl4 = '(i'//clfmt//')' ; WRITE(clsum, cl4) ksum 262 WRITE(clfmt, '(i1)') INT(LOG10(REAL( jpnij-1,wp))) + 1! how many digits to we need to write ? (we decide max = 9)262 WRITE(clfmt, '(i1)') INT(LOG10(REAL(MAX(1,jpnij-1),wp))) + 1 ! how many digits to we need to write ? (we decide max = 9) 263 263 cl4 = '(i'//clfmt//')' ; WRITE(clmin, cl4) kmin-1 264 264 WRITE(clmax, cl4) kmax-1 -
NEMO/trunk/tests/STATION_ASF/MY_SRC/stpctl.F90
r12933 r13009 219 219 !!! WRITE(clsum, '(i'//clfmt//')') ksum ! this is creating a compilation error with AGRIF 220 220 cl4 = '(i'//clfmt//')' ; WRITE(clsum, cl4) ksum 221 WRITE(clfmt, '(i1)') INT(LOG10(REAL( jpnij-1,wp))) + 1! how many digits to we need to write ? (we decide max = 9)221 WRITE(clfmt, '(i1)') INT(LOG10(REAL(MAX(1,jpnij-1),wp))) + 1 ! how many digits to we need to write ? (we decide max = 9) 222 222 cl4 = '(i'//clfmt//')' ; WRITE(clmin, cl4) kmin-1 223 223 WRITE(clmax, cl4) kmax-1
Note: See TracChangeset
for help on using the changeset viewer.