Changeset 2200 for modipsl


Ignore:
Timestamp:
02/11/14 13:34:00 (11 years ago)
Author:
aclsce
Message:

Added specific treatment in order to compile OASIS-MCT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modipsl/trunk/util/ins_make

    r785 r2200  
    177177done 
    178178#- 
     179#- Specific to OASIS-MCT 
     180if [ -d ${d_n}/../oasis3-mct ] ;  
     181then 
     182    mk_dir=$(cd ${d_n}/../oasis3-mct;/bin/pwd;); 
     183        l_make=$(find ${d_n}/../config/IPSLCM6/SOURCES/OASIS-MCT -name "make*" -print) 
     184            W_X1="COUPLE          =" 
     185            for j in ${l_make} 
     186            do   
     187                cp ${j} ${d_n}/../config/IPSLCM6/SOURCES/OASIS-MCT/mk3.$$ 
     188                sed -e "s!^${W_X1}.*!${W_X1} ${mk_dir}!" ${d_n}/../config/IPSLCM6/SOURCES/OASIS-MCT/mk3.$$ > ${j} 
     189                rm -f ${d_n}/../config/IPSLCM6/SOURCES/OASIS-MCT/mk3.$$ 
     190            done 
     191fi 
    179192# Creating environment file  
    180193echo ${x_t} > ${d_n}/.host_target 
Note: See TracChangeset for help on using the changeset viewer.