Rev | Line | |
---|
[3326] | 1 | # -- |
---|
| 2 | # module switch netcdf netcdf/4.2 |
---|
| 3 | |
---|
| 4 | cfg::type bld |
---|
| 5 | cfg::version 1.0 |
---|
| 6 | |
---|
| 7 | bld::tool::shell /bin/ksh |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | # ---------- User section ----------- |
---|
| 11 | |
---|
| 12 | # Maximum number polygone edges (i.e. maximum atm resolution) |
---|
| 13 | %JPOL 180 |
---|
| 14 | |
---|
| 15 | # Machine dependant configuration |
---|
| 16 | # -- |
---|
| 17 | ## Configuration FCM pour Cesium |
---|
| 18 | |
---|
[3364] | 19 | %ROOT ${PWD} |
---|
[3326] | 20 | %PREC -i4 -r8 |
---|
| 21 | %F90 ifort %{PREC} -convert big_endian |
---|
| 22 | #%FFLAGS -O3 -ip -no-prec-div |
---|
| 23 | #%FFLAGS -g -check all -check noarg_temp_created -debug all -debug-parameters all -ftrapuv -traceback |
---|
| 24 | #%FFLAGS -g -check arg_temp_created -check bounds -check format -check output_conversion -check pointers -check uninit -ftrapuv -traceback |
---|
| 25 | %FFLAGS -g -traceback |
---|
| 26 | #%FFLAGS -g -check all -check noarg_temp_created -debug all -debug-parameters all -ftrapuv -traceback |
---|
| 27 | |
---|
| 28 | # ---------- Do no touch ----------- |
---|
| 29 | |
---|
| 30 | dir::root %{ROOT} |
---|
| 31 | bld::target lmdz.exe allgrid.exe mosaic.exe cotes_etal.exe isf_icb.exe icestream.exe calving.exe inv_wei.exe tstmosaic.exe |
---|
| 32 | |
---|
| 33 | search_src 1 |
---|
| 34 | |
---|
| 35 | # -- Compiler, etc ... |
---|
| 36 | bld::tool::fc %{F90} |
---|
| 37 | bld::tool::fflags %{FFLAGS} -DJPOL=%{JPOL} -I${NETCDF_INC_DIR} -L${NETCDF_LIB_DIR} |
---|
| 38 | bld::tool::ld %{F90} %{FFLAGS} -I${NETCDF_INC_DIR} -L${NETCDF_LIB_DIR} |
---|
| 39 | bld::tool::ldflags -lnetcdff -lnetcdf |
---|
| 40 | bld::tool::ar ar |
---|
| 41 | |
---|
| 42 | # -- Creates libraries ???? |
---|
| 43 | # bld::lib::src::POLY poly |
---|
| 44 | # bld::lib::src::IOIPSL ioipsl |
---|
| 45 | # bld::lib::src::MOZAIC mozaic |
---|
| 46 | |
---|
| 47 | # -- Ignore the following dependencies |
---|
| 48 | bld::excl_dep use::netcdf |
---|
| 49 | |
---|
| 50 | # -- Dont generate interface files |
---|
| 51 | bld::tool::geninterface none |
---|
Note: See
TracBrowser
for help on using the repository browser.