-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWRF-WPS-netcdf.patch
16 lines (16 loc) · 1.44 KB
/
WRF-WPS-netcdf.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -up WRF-WPS-3.8-3.8/WRFV3/external/io_netcdf/makefile.netcdf WRF-WPS-3.8-3.8/WRFV3/external/io_netcdf/makefile
--- WRF-WPS-3.8-3.8/WRFV3/external/io_netcdf/makefile.netcdf 2016-05-25 15:35:32.663036706 -0600
+++ WRF-WPS-3.8-3.8/WRFV3/external/io_netcdf/makefile 2016-05-25 15:36:21.891821308 -0600
@@ -50,11 +50,7 @@ diffwrf: diffwrf.F90
$(FC) -c $(FFLAGS) diffwrf.f
@if [ \( -f ../../frame/wrf_debug.o \) -a \( -f ../../frame/module_wrf_error.o \) -a \( -f $(ESMF_MOD_DEPENDENCE) \) -a \( -f ../../frame/clog.o \) ] ; then \
echo "diffwrf io_netcdf is being built now. " ; \
- if [ \( -f $(NETCDFPATH)/lib/libnetcdff.a -o -f $(NETCDFPATH)/lib/libnetcdff.so \) ] ; then \
- $(FC) $(FFLAGS) $(LDFLAGS) -o diffwrf diffwrf.o $(OBJSL) ../../frame/wrf_debug.o ../../frame/module_wrf_error.o ../../frame/clog.o $(ESMF_IO_LIB_EXT) $(LIBFFS) ;\
- else \
- $(FC) $(FFLAGS) $(LDFLAGS) -o diffwrf diffwrf.o $(OBJSL) ../../frame/wrf_debug.o ../../frame/module_wrf_error.o ../../frame/clog.o $(ESMF_IO_LIB_EXT) $(LIBS) ;\
- fi ; \
+ $(FC) $(FFLAGS) $(LDFLAGS) -o diffwrf diffwrf.o $(OBJSL) ../../frame/wrf_debug.o ../../frame/module_wrf_error.o ../../frame/clog.o $(ESMF_IO_LIB_EXT) $(LIBFFS) ;\
else \
echo "***************************************************************************** " ; \
echo "*** Rerun compile to make diffwrf in external/io_netcdf directory *** " ; \