Hello,
I would like to make an easybuild file for Dalton2011. It has a non-standard
build process. One basically has to create a config file like the one
attached. Is there an easyconfig file to start from (for another program) that
does something similar?
Best Regards,
Toon
--
Prof. Dr. ir. Toon Verstraelen
Center for Molecular Modeling
Ghent University
Technologiepark 903,
B9052 Zwijnaarde
Belgium
Tel: +32 9 264 65 56
E-mail: [email protected]
http://molmod.UGent.be/
http://molmod.UGent.be/software/
ARCH = linux
MKLROOT = /apps/gent/SL5/harpertown/software/imkl/10.3.12.361/mkl
#
#
CPPFLAGS = -DVAR_IFORT -DSYS_LINUX -DVAR_MFDS -D'INSTALL_WRKMEM=131000000'
-D'INSTALL_MMWORK=1' -D_FILE_OFFSET_BITS=64 -DIMPLICIT_NONE
F90 = ifort
CC = icc
LOADER = ifort
RM = rm -f
FFLAGS = -g -O3 -xW -ip -w -fpp -assume byterecl
SAFEFFLAGS = -g -O1 -w -fpp -assume byterecl
CFLAGS = -g -O3 -xW -ip -restrict -DRESTRICT=restrict
INCLUDES = -I../include -I$(MKLROOT)/include
MODULES = -module ../modules
LIBS = -L$(MKLROOT)/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential
-lmkl_core -lpthread -lm
INSTALLDIR = /user/data/gent/gvo000/gvo00003/local/dalton/2011/bin
PDPACK_EXTRAS = linpack.o eispack.o gp_dlapack.o gp_zlapack.o
GP_EXTRAS =
AR = ar
ARFLAGS = rvs
# flags for ftnchek on Dalton /hjaaj
CHEKFLAGS = -nopure -nopretty -nocommon -nousage -noarray -notruncation -quiet
-noargumants -arguments=number -usage=var-unitialized
# -usage=var-unitialized:arg-const-modified:arg-alias
# -usage=var-unitialized:var-set-unused:arg-unused:arg-const-modified:arg-alias
#
default : dalton linux.x
SAFE_FFLAGS_for_ifort = $(SAFEFFLAGS)
#
# Suffix rules
# hjaaj Oct 04: .g is a "cheat" suffix, for debugging.
# 'make x.g' will create x.o from x.F or x.c with -g debug flag
set.
#
.SUFFIXES : .F .F90 .c .o .i .g .s
.F.o:
$(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -c $*.F
.F.i:
$(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) -E $*.F > $*.i
.F.g:
$(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(SAFEFFLAGS) -g -c $*.F
.F.s:
$(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -S -g -c $*.F
.F90.o:
$(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -c $*.F90
.F90.i:
$(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) -E $*.F90 > $*.i
.F90.g:
$(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(SAFEFFLAGS) -g -c $*.F90
.F90.s:
$(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -S -g -c $*.F90
.c.o:
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -c $*.c
.c.i:
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -E $*.c > $*.i
.c.g:
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -g -c $*.c
.c.s:
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -S -g -c $*.c