New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 5648 for branches/dev/shaddad/r5643_buildWithOasisNoKeys/NEMOGCM/TOOLS/COMPILE/Fcheck_archfile.sh – NEMO

Ignore:
Timestamp:
2015-07-30T16:37:18+02:00 (9 years ago)
Author:
stephenhaddad
Message:

Commented out code in Fcheck_archfile.sh which removes oasis libs if key_oasis3 not found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/shaddad/r5643_buildWithOasisNoKeys/NEMOGCM/TOOLS/COMPILE/Fcheck_archfile.sh

    r4162 r5648  
    180180 
    181181#- 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 
     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 
    197197 
Note: See TracChangeset for help on using the changeset viewer.