- Timestamp:
- 2017-02-03T14:24:58+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2016/dev_merge_2016/NEMOGCM/TOOLS/COMPILE/Fcheck_archfile.sh
r7421 r7635 194 194 195 195 #- do we need oasis libraries? 196 if [ "$2" != "nocpp" ]197 then198 use_oasis=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$2 | grep -c key_oasis3 )199 else200 use_oasis=0201 fi202 for liboa in psmile.MPI1 mct mpeu scrip mpp_io203 do204 have_liboa=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$1 | grep -c "\-l${liboa}" )205 if [[ ( $use_oasis -eq 0 ) && ( $have_liboa -ge 1 ) ]]206 then207 sed -e "s/-l${liboa}//g" ${COMPIL_DIR}/$1 > ${COMPIL_DIR}/tmp$$208 mv -f ${COMPIL_DIR}/tmp$$ ${COMPIL_DIR}/$1209 fi210 done211 196 #if [ "$2" != "nocpp" ] 197 #then 198 # use_oasis=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$2 | grep -c key_oasis3 ) 199 #else 200 # use_oasis=0 201 #fi 202 #for liboa in psmile.MPI1 mct mpeu scrip mpp_io 203 #do 204 # have_liboa=$( sed -e "s/#.*$//" ${COMPIL_DIR}/$1 | grep -c "\-l${liboa}" ) 205 # if [[ ( $use_oasis -eq 0 ) && ( $have_liboa -ge 1 ) ]] 206 # then 207 # sed -e "s/-l${liboa}//g" ${COMPIL_DIR}/$1 > ${COMPIL_DIR}/tmp$$ 208 # mv -f ${COMPIL_DIR}/tmp$$ ${COMPIL_DIR}/$1 209 # fi 210 #done 211
Note: See TracChangeset
for help on using the changeset viewer.