[Dart-dev] DART/branches Revision: 12968
dart at ucar.edu
dart at ucar.edu
Tue Feb 5 11:37:27 MST 2019
hendric at ucar.edu
2019-02-05 11:37:27 -0700 (Tue, 05 Feb 2019)
54
fixing build scripts to compile create_obs_sequence
Modified: DART/branches/radiance/models/wrf/work/mkmf_create_obs_sequence
===================================================================
--- DART/branches/radiance/models/wrf/work/mkmf_create_obs_sequence 2019-01-31 23:57:55 UTC (rev 12967)
+++ DART/branches/radiance/models/wrf/work/mkmf_create_obs_sequence 2019-02-05 18:37:27 UTC (rev 12968)
@@ -6,7 +6,43 @@
#
# DART $Id$
+set XTRALIBS_BASE = /Users/hendric
+
+set JPGDIR = ${XTRALIBS_BASE}/eos
+set HDFDIR = ${XTRALIBS_BASE}/eos
+set EOSDIR = ${XTRALIBS_BASE}/eos
+set RTTOV = ${XTRALIBS_BASE}/rttov122
+
+
+set JPGINC = ${JPGDIR}/include
+set JPGLIB = ${JPGDIR}/lib
+
+set HDFINC = ${HDFDIR}/include
+set HDFLIB = ${HDFDIR}/lib
+
+set EOSINC = ${EOSDIR}/include
+set EOSLIB = ${EOSDIR}/lib
+
+set RTINC = "${RTTOV}/include"
+set RTMOD = "${RTTOV}/mod"
+set RTLIB = "${RTTOV}/lib"
+set RTSRC = "${RTTOV}/src"
+set RTLIBS = "-lrttov_main -lrttov_brdf_atlas -lrttov_coef_io -lrttov_emis_atlas -lrttov_mw_scatt -lrttov_mw_scatt_coef -lrttov_other"
+
+# leaving this out for now: rttov_parallel
+
+set MYLIBS = "${RTLIBS} -lhdfeos -lmfhdf -ldf -ljpeg -lz -lm"
+
+set MYINCDIRS = "-I${RTINC} -I${RTMOD} -I${EOSINC} -I${HDFINC} -I${JPGINC} -I${RTSRC}"
+set MYLIBDIRS = "-L${RTLIB} -L${EOSLIB} -L${HDFLIB} -L${JPGLIB}"
+
+# is -cpp compiler specific? on a mac with a case-insensitive filesystem
+# we have to tell it to call cpp to build files with #if and #include lines.
+
+set MYFLAGS = "-cpp ${MYINCDIRS}"
+
../../../build_templates/mkmf -p create_obs_sequence -t ../../../build_templates/mkmf.template \
+ -o "${MYFLAGS}" -l "${MYFLAGS} ${MYINCDIRS} ${MYLIBDIRS} ${MYLIBS}" \
-a "../../.." path_names_create_obs_sequence
exit $status
Modified: DART/branches/radiance/models/wrf/work/path_names_create_obs_sequence
===================================================================
--- DART/branches/radiance/models/wrf/work/path_names_create_obs_sequence 2019-01-31 23:57:55 UTC (rev 12967)
+++ DART/branches/radiance/models/wrf/work/path_names_create_obs_sequence 2019-02-05 18:37:27 UTC (rev 12968)
@@ -27,3 +27,7 @@
models/wrf/module_map_utils.f90
observations/forward_operators/obs_def_mod.f90
observations/forward_operators/obs_def_utilities_mod.f90
+observations/forward_operators/parkind1.f90
+observations/forward_operators/rttov_const_mod.f90
+observations/forward_operators/rttov_interface_mod.f90
+observations/forward_operators/rttov_types.f90
More information about the Dart-dev
mailing list