--- trunk/mdtools/Makefile.inc 2002/11/18 21:23:58 177 +++ trunk/mdtools/Makefile.inc 2003/01/31 21:04:27 260 @@ -6,8 +6,8 @@ OSS = $(strip $(OS)) # Here we decide whether the build is single or mutiple processor -#BUILD = mpi -BUILD = single +BUILD = mpi +#BUILD = single # turn on compiler warnings @@ -16,14 +16,24 @@ WARN = off # turn on debuging -#DEBUG = on -DEBUG = off +DEBUG = on +#DEBUG = off +TALKATIVE = on +#TALKATIVE = off + +# use drand 48 or SPRNG + +RANDOM = sprng +#RANDOM = drand48 + + YC = bison LC = flex LD = ld -LIBDIR = $(HOME)/lib +#LIBDIR = $(HOME)/lib +LIBDIR = ../lib ifeq ($(strip $(BUILD)), $(strip mpi)) @@ -31,8 +41,8 @@ CFLAGS = -DIS_MPI -I/usr/local/include CC_PLUS = mpiCC FC = mpif90 -CFLAGS = -DIS_MPI -I/usr/local/include -FFLAGS = -DIS_MPI -I/usr/local/include +CFLAGS = -mp -DIS_MPI -I/usr/local/include +FFLAGS = -mp -DIS_MPI -I/usr/local/include -I/usr/local/include/f90choice -I../f90_include LIBNAME = libMPImdtools.a @@ -42,8 +52,8 @@ CFLAGS = -tpp6 -O3 CC_PLUS = icc FC = ifc -CFLAGS = -tpp6 -O3 -FFLAGS = -tpp6 -O3 +CFLAGS = -mp +FFLAGS = -mp LIBNAME = libmdtools.a @@ -55,6 +65,14 @@ FFLAGS += -g ifeq ($(strip $(DEBUG)), $(strip on)) CFLAGS += -g -FFLAGS += -g +FFLAGS += -g -u endif +ifeq ($(strip $(TALKATIVE)), $(strip on)) +CFLAGS += -DCHECKPOINT_VERBOSE +endif + +ifeq ($(strip $(RANDOM)), $(strip sprng)) +CFLAGS += -DUSE_SPRNG +FFLAGS += -DUSE_SPRNG +endif