Changeset 6883
- Timestamp:
- 2016-08-24T10:51:33+02:00 (8 years ago)
- Location:
- branches/UKMO/dev_r6237_moci_GC3/NEMOGCM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r6237_moci_GC3/NEMOGCM/NEMO/OPA_SRC/IOM/iom.F90
r6237 r6883 106 106 REAL(wp), ALLOCATABLE, DIMENSION(:,:) :: z_bnds 107 107 !!---------------------------------------------------------------------- 108 #if ! defined key_xios2 109 ALLOCATE( z_bnds(jpk,2) ) 110 #else 108 111 109 ALLOCATE( z_bnds(2,jpk) ) 112 #endif113 110 114 111 clname = cdname … … 192 189 193 190 ! Add vertical grid bounds 194 #if ! defined key_xios2195 z_bnds(: ,1) = gdepw_1d(:)196 z_bnds(1:jpkm1,2) = gdepw_1d(2:jpk)197 z_bnds(jpk: ,2) = gdepw_1d(jpk) + e3t_1d(jpk)198 #else199 191 z_bnds(1 ,:) = gdepw_1d(:) 200 192 z_bnds(2,1:jpkm1) = gdepw_1d(2:jpk) 201 193 z_bnds(2,jpk: ) = gdepw_1d(jpk) + e3t_1d(jpk) 202 #endif203 194 204 195 CALL iom_set_axis_attr( "deptht", bounds=z_bnds ) … … 206 197 CALL iom_set_axis_attr( "depthv", bounds=z_bnds ) 207 198 208 #if ! defined key_xios2209 z_bnds(: ,2) = gdept_1d(:)210 z_bnds(2:jpk,1) = gdept_1d(1:jpkm1)211 z_bnds(1 ,1) = gdept_1d(1) - e3w_1d(1)212 #else213 199 z_bnds(2,: ) = gdept_1d(:) 214 200 z_bnds(1,2:jpk) = gdept_1d(1:jpkm1) 215 201 z_bnds(1,1 ) = gdept_1d(1) - e3w_1d(1) 216 #endif 202 217 203 CALL iom_set_axis_attr( "depthw", bounds=z_bnds ) 218 204 -
branches/UKMO/dev_r6237_moci_GC3/NEMOGCM/TOOLS/COMPILE/Fcheck_archfile.sh
r5781 r6883 180 180 181 181 #- do we need oasis libraries? 182 if [ "$2" != "nocpp" ]183 then184 use_oasis=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$2 | grep -c key_oasis3 )185 else186 use_oasis=0187 fi188 for liboa in psmile.MPI1 mct mpeu scrip mpp_io189 do190 have_liboa=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$1 | grep -c "\-l${liboa}" )191 if [[ ( $use_oasis -eq 0 ) && ( $have_liboa -ge 1 ) ]]192 then193 sed -e "s/-l${liboa}//g" ${COMPIL_DIR}/$1 > ${COMPIL_DIR}/tmp$$194 mv -f ${COMPIL_DIR}/tmp$$ ${COMPIL_DIR}/$1195 fi196 done182 # if [ "$2" != "nocpp" ] 183 # then 184 # use_oasis=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$2 | grep -c key_oasis3 ) 185 # else 186 # use_oasis=0 187 # fi 188 # for liboa in psmile.MPI1 mct mpeu scrip mpp_io 189 # do 190 # have_liboa=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$1 | grep -c "\-l${liboa}" ) 191 # if [[ ( $use_oasis -eq 0 ) && ( $have_liboa -ge 1 ) ]] 192 # then 193 # sed -e "s/-l${liboa}//g" ${COMPIL_DIR}/$1 > ${COMPIL_DIR}/tmp$$ 194 # mv -f ${COMPIL_DIR}/tmp$$ ${COMPIL_DIR}/$1 195 # fi 196 # done 197 197
Note: See TracChangeset
for help on using the changeset viewer.