Changeset 1802
- Timestamp:
- Jul 19, 2013, 4:03:57 PM (11 years ago)
- Location:
- LMDZ5/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/bld.cfg
r1789 r1802 30 30 src::ext_src %EXT_SRC 31 31 32 bld::lib::dyn %DYN 33 bld::lib::phys %PHYS 34 bld::lib::grid grid 35 bld::lib::filtrez filtrez 36 bld::lib::bibio bibio 37 bld::lib::cosp cosp 38 bld::lib: ext_src ext_src 39 32 bld::lib lmdz 40 33 41 34 bld::outfile_ext::exe %SUFF_NAME.e 42 bld::target lib %{DYN}.a lib%{PHYS}.a libgrid.a libfiltrez.a libbibio.a libcosp.a libext_src.a35 bld::target liblmdz.a 43 36 bld::target %EXEC%SUFF_NAME.e 44 bld::exe_dep %{DYN} %{PHYS} grid filtrez bibio cosp ext_src37 bld::exe_dep 45 38 46 39 … … 64 57 65 58 59 # Example of how to set specific compiling options for a specific file 60 # -> this can be including in the arch.opt file 66 61 #bld::tool::fflags::phys::readaerosol %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt -pi auto 67 #bld::tool::fflags::phys::aeropt_2bands %BASE_FFLAGS %PROD_FFLAGS %INCDIR68 #bld::tool::fflags::phys::radiation_AR4 %BASE_FFLAGS %PROD_FFLAGS1 %INCDIR -C hopt -Wf,-O,extendreorder69 #bld::tool::fflags::phys::radiation_AR4_param %BASE_FFLAGS %PROD_FFLAGS1 %INCDIR -C hopt -f370 #bld::tool::fflags::phys::fisrtilp %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt71 #bld::tool::fflags::phys::cv30_routines %BASE_FFLAGS %PROD_FFLAGS %INCDIR -Wf,-O,extendreorder72 #bld::tool::fflags::phys::cvltr %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt73 #bld::tool::fflags::phys::clouds_gno %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt74 #bld::tool::fflags::dyn::vlsplt_p %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt75 #bld::tool::fflags::dyn::groupeun_p %BASE_FFLAGS %PROD_FFLAGS %INCDIR -C hopt76 62 77 63 … … 95 81 bld::excl_dep use::mod_prism_get_proto 96 82 bld::excl_dep use::mod_prism_put_proto 97 bld::excl_dep use::mkl_dfti98 83 99 84 # Don't generate interface files -
LMDZ5/trunk/build_gcm
r1755 r1802 29 29 fi 30 30 31 job=1 31 32 dirname="" #path to where the fcm command will be found 32 33 if (( $# >= 1 )) ; then … … 39 40 # add a trailing "/" to $dirname 40 41 dirname=${dirname}"/" 42 shift; 41 43 fi 42 44 43 45 # run "fcm build" command 44 ${dirname}fcm build 46 ${dirname}fcm build $* 45 47 46 48 # cleanup -
LMDZ5/trunk/makelmdz_fcm
r1789 r1802 29 29 LIBPREFIX="" 30 30 cosp=false 31 job=1 32 full='' 31 33 32 34 LMDGCM=`/bin/pwd` … … 79 81 [-filtre NOMFILTRE] : use filtre from libf/NOMFILTRE (default: filtrez) 80 82 [-link LINKS] : additional links with other libraries 83 [-j n] : active parallel compiling on ntask 84 [-full] : full recompiling 81 85 [-fcm_path path] : path to the fcm tool (default: tools/fcm/bin) 82 86 [-ext_src path] : path to an additional set of routines to compile with the model … … 147 151 "-ext_src") 148 152 EXT_SRC=$2 ; shift ; shift ;; 153 "-j") 154 job=$2 ; shift ; shift ;; 155 "-full") 156 full="-full" ; shift ;; 149 157 150 158 "-arch") … … 468 476 469 477 rm -f $LIBOGCM/${arch}${SUFF_NAME}/.config/fcm.bld.lock 470 ./build_gcm ${fcm_path} 478 ./build_gcm ${fcm_path} -j $job $full 471 479 472 480 rm -rf tmp_src
Note: See TracChangeset
for help on using the changeset viewer.