KHOME=/home/fimm/nersc/knutali #Compiler -- F90 CF90 = ifort #Compiler -- F77 CF77 = $(CF90) #Compiler -- C CC = gcc #Linker LD = $(CF90) #Paralellization opts PARO = #Size defaults SIZEO = -real_size 32 #Arch opts ARCHO= #Optimalization opts OPTO= -O2 #Inlining opts INLO= # Diverse options DIVO= -convert big_endian # Flags for debugging -- Note linker halt occurs when using qextchk flag and # passing types as arrays ... DEBUG_FLAGS=-g -traceback #DEBUG_FLAGS= F77FLG = -nofree F90FLG = -free #LIBNCDAP = -L/home/fimm/nersc/knutali/opt/libnc-dap/lib/ \ #-lnc-dap \ #-L/home/fimm/nersc/knutali/opt/libdap-3.7.10/lib/ -ldapclient -ldap \ #/home/fimm/nersc/knutali/opt/curl-7.18.0/lib/libcurl.a \ #-lxml2 -lstdc++ -lz -lpthread -lidn -ldl -lc -lg2c LIBNCDAP=-L/home/fimm/nersc/knutali/opt/libnc-dap//lib -lnc-dap \ -L/home/fimm/nersc/knutali/opt/libdap-3.7.10//lib -ldap -ldapclient \ -L/home/fimm/nersc/knutali/opt/curl-7.18.0/lib -lcurl -lpthread -lstdc++ INCNCDAP = -I/home/fimm/nersc/knutali/opt/libnc-dap/include/libnc-dap/ CFLAGS = FFLAGS = $(SIZEO) $(OPTO) $(ARCHO) $(PARO) $(INLO) $(DIVO) FFLAGS = $(SIZEO) $(OPTO) $(ARCHO) $(PARO) $(INLO) $(DIVO) $(DEBUG_FLAGS) \ -I/local/netcdf/include/ $(INCNCDAP) FFLAGSD = $(SIZEO) $(ARCHO) $(PARO) $(INLO) $(DIVO) $(DEBUG_FLAGS) LINKFLAGS= $(SIZEO) $(OPTO) $(PARO) $(INLO) $(DIVO) CPPARCH = -DIA32 -DREAL4 CPPFLAGS = -P $(CPPARCH) $(CPPMODEL) -traditional LIBS = -L/local/acml/ifort64/lib/ -lacml -lacml_mv -L/local/netcdf/lib -lnetcdf -lnetcdff CPP = /usr/bin/cpp