easyconfigs-it4i/i/IOTK/IOTK-intel-2020a.patch
Lukáš Krupčík 2e868e151f new file: i/IOTK/IOTK-1.2.2-intel-2020a.eb
new file:   i/IOTK/IOTK-intel-2020a.patch
	new file:   l/libxc/libxc-2.2.3-intel-2020a.eb
	new file:   n/netCDF-Fortran/netCDF-Fortran-4.5.2-intel-2020a.eb
	new file:   y/Yambo/Yambo-4.5.2-intel-2020a.eb
2020-07-24 13:25:06 +02:00

105 lines
2.8 KiB
Diff

--- Makefile.orig 2017-04-27 12:07:15.000000000 +0200
+++ Makefile 2020-07-23 10:57:23.388831089 +0200
@@ -1,5 +1,47 @@
# Inclusion of system dependent files
-include ../make.sys
+
+# -----------------------------
+# # compilation rules
+
+.SUFFIXES :
+.SUFFIXES : .o .c .F .f90
+
+.F.o:
+ @rm -f $*.f90
+ (eval $(FPP) $(IFLAGS) $(dopts) $*.F > $*.f90 ) > /dev/null
+ (eval $(FC) $(FCFLAGS) -c $*.f90 ) > /dev/null
+ @rm -f $*.f90
+
+
+# -----------------------------
+# # compiler definitions
+
+make = make
+CC = mpiicc
+CFLAGS = -O2 -xHost -ftz -fp-speculation=safe -fp-model source -D_C_US -D_FORTRAN_US $(IFLAGS)
+CPP = mpiicc -E
+FPP = fpp -free -P
+CPPFLAGS = $(IFLAGS)
+FC = mpiifort
+MPIF90 = mpiifort
+FCFLAGS = -nofor_main $(IFLAGS)
+F77 = mpiifort
+FFLAGS = -O2 -xHost -ftz -fp-speculation=safe -fp-model source
+LD = mpiifort
+LDFLAGS = -nofor_main $(IFLAGS)
+AR = ar
+ARFLAGS = -ru
+RANLIB = echo
+#RANLIB = @ranlib@
+
+
+# -----------------------------
+# # libraries
+
+#
+##LIBS = $(extlibs_prefix)/$(fc_kind)/$(f90)/lib/libiotk.a
+LIBS = ./libiotk.a
+IFLAGS = -I./ -I../ -I../include
info:
cd src ; make info
--- src/Makefile.orig 2020-07-23 11:55:21.410994964 +0200
+++ src/Makefile 2020-07-23 11:57:24.072183404 +0200
@@ -129,8 +129,48 @@
# List of used library files
AUTO_LIBS=$(LIB_IOTK)
-# Inclusion of system dependent files
-include $(IDEHOME)/make.sys
+# -----------------------------
+# # # compilation rules
+
+.SUFFIXES :
+.SUFFIXES : .o .c .F .f90
+
+.F.o:
+ @rm -f $*.f90
+ (eval $(FPP) $(IFLAGS) $(dopts) $*.F > $*.f90 ) > /dev/null
+ (eval $(FC) $(FCFLAGS) -c $*.f90 ) > /dev/null
+ @rm -f $*.f90
+
+# -----------------------------
+# # # compiler definitions
+
+make = make
+CC = mpiicc
+CFLAGS = -O2 -xHost -ftz -fp-speculation=safe -fp-model source -D_C_US -D_FORTRAN_US $(IFLAGS)
+CPP = mpiicc -E
+FPP = fpp -free -P
+CPPFLAGS = $(IFLAGS)
+FC = mpiifort
+MPIF90 = mpiifort
+FCFLAGS = -nofor_main $(IFLAGS)
+F77 = mpiifort
+FFLAGS = -O2 -xHost -ftz -fp-speculation=safe -fp-model source
+LD = mpiifort
+LDFLAGS = -nofor_main $(IFLAGS)
+AR = ar
+ARFLAGS = -ru
+RANLIB = echo
+#RANLIB = @ranlib@
+
+# -----------------------------
+# # # libraries
+
+#
+###LIBS = $(extlibs_prefix)/$(fc_kind)/$(f90)/lib/libiotk.a
+LIBS = ./libiotk.a
+IFLAGS = -I./ -I../ -I../include
+
+
# Macro (re)definitions from OPTIONS file (keyword DEFINITION)
PRECISION = $(FAUTODBL)