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 9562 for branches/UKMO/dev_r5518_GO6_package_moci_xios2/NEMOGCM/TOOLS – NEMO

Ignore:
Timestamp:
2018-05-08T15:08:55+02:00 (6 years ago)
Author:
stephenhaddad
Message:

MOCI #314: Updated config to work with MOCI build/test suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_GO6_package_moci_xios2/NEMOGCM/TOOLS/COMPILE/Fcheck_archfile.sh

    r6486 r9562  
    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 
    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.