- Timestamp:
- 2018-05-08T15:08:55+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package_moci_xios2/NEMOGCM/TOOLS/COMPILE/Fcheck_archfile.sh
r6486 r9562 180 180 181 181 #- do we need oasis libraries? 182 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 182 # comment this out so that we can link against XIOS which is built with oasis3-mct, even if we are not using oasis at this time. 183 # if [ "$2" != "nocpp" ] 184 # then 185 # use_oasis=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$2 | grep -c key_oasis3 ) 186 # else 187 # use_oasis=0 188 # fi 189 # for liboa in psmile.MPI1 mct mpeu scrip mpp_io 190 # do 191 # have_liboa=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$1 | grep -c "\-l${liboa}" ) 192 # if [[ ( $use_oasis -eq 0 ) && ( $have_liboa -ge 1 ) ]] 193 # then 194 # sed -e "s/-l${liboa}//g" ${COMPIL_DIR}/$1 > ${COMPIL_DIR}/tmp$$ 195 # mv -f ${COMPIL_DIR}/tmp$$ ${COMPIL_DIR}/$1 196 # fi 197 # done 198 #
Note: See TracChangeset
for help on using the changeset viewer.