Added rules for the Intel Fortran compiler
authorPhilippe WAUTELET <philippe.wautelet@aero.obs-mip.fr>
Tue, 15 Sep 2015 14:56:51 +0000 (16:56 +0200)
committerPhilippe WAUTELET <philippe.wautelet@aero.obs-mip.fr>
Mon, 2 May 2016 10:23:53 +0000 (12:23 +0200)
conf/config.LXifort [new file with mode: 0644]
lib/COMPRESS/Rules.LXifort [new file with mode: 0644]
lib/NEWLFI/Rules.LXifort [new file with mode: 0644]
tools/lfi2cdf/Rules.LXifort [new file with mode: 0644]

diff --git a/conf/config.LXifort b/conf/config.LXifort
new file mode 100644 (file)
index 0000000..1c70b0f
--- /dev/null
@@ -0,0 +1,12 @@
+CPP = cpp -P -traditional -Wcomment
+AR = ar
+CC = cc 
+F77 = ifort
+F90 = ifort
+
+CPPFLAGS = 
+F90FLAGS =
+F77FLAGS =
+
+LDFLAGS =
+
diff --git a/lib/COMPRESS/Rules.LXifort b/lib/COMPRESS/Rules.LXifort
new file mode 100644 (file)
index 0000000..c292560
--- /dev/null
@@ -0,0 +1,5 @@
+F77FLAGS +=
+F90FLAGS += -O2
+CPPFLAGS = -DLITTLE_endian
+
+OBJS=comppar.o compress.o decompress.o nearestpow2.o searchgrp.o bitbuff.o ieee_is_nan.o
diff --git a/lib/NEWLFI/Rules.LXifort b/lib/NEWLFI/Rules.LXifort
new file mode 100644 (file)
index 0000000..08ab3a6
--- /dev/null
@@ -0,0 +1,5 @@
+F77FLAGS += -O3 -assume byterecl
+CFLAGS   += -O2
+CPPFLAGS += -DLINUX -DSWAPIO
+
+OBJS = NEWLFI_ALL.o poub.o fswap8buff.o
diff --git a/tools/lfi2cdf/Rules.LXifort b/tools/lfi2cdf/Rules.LXifort
new file mode 100644 (file)
index 0000000..ed75967
--- /dev/null
@@ -0,0 +1,30 @@
+# version de Didier recompilĂ©e pour LinuX avec un seul _
+#NETCDFHOME=/mesonh/MAKE/lib/netcdf-3.5.0.LX
+#NETCDFHOME=/usr/local/netcdf-3.5.0
+#
+
+#NETCDFHOME = /workdir/NETCDF_LIB
+#DIR_CDF = $(NETCDFHOME)/lib
+#LIBCDF = $(DIR_CDF)/libnetcdf.a
+
+#NETCDFHOME = /usr/local/netcdf4-tools
+#DIR_CDF = $(NETCDFHOME)/lib64
+#LIBCDF = -L$(DIR_CDF) -lnetcdff
+
+#NETCDFHOME = /workdir/MESONH/MNH-V5-1-3/src/LIB/netcdf-4.1.3-LXgfortranI4
+#DIR_CDF = $(NETCDFHOME)/lib64
+#LIBCDF = -L$(DIR_CDF) -lnetcdff -lnetcdf  -lhdf5_hl -lhdf5
+
+NETCDFCHOME = /home/waup/installations/libraries/netcdf-c/4.3.3.1_ser
+NETCDFFHOME = /home/waup/installations/libraries/netcdf-fortran/4.4.2_ser
+DIR_CDFC = $(NETCDFCHOME)/lib64
+DIR_CDFF = $(NETCDFFHOME)/lib64
+DIR_HDF5 = /home/waup/installations/libraries/HDF5/1.8.15p1_ser/lib64
+LIBCDF = -L$(DIR_CDFC) -L$(DIR_CDFF) -L$(DIR_HDF5) -lnetcdff -lnetcdf  -lhdf5_hl -lhdf5
+
+###################################
+
+INC      += -I$(NETCDFFHOME)/include
+F90FLAGS += -O2  
+LDFLAGS  +=
+LFI_INT=4