| 6 |
|
|
| 7 |
|
# Here we decide whether the build is single or mutiple processor |
| 8 |
|
|
| 9 |
< |
#BUILD = mpi |
| 10 |
< |
BUILD = single |
| 9 |
> |
BUILD = mpi |
| 10 |
> |
#BUILD = single |
| 11 |
|
|
| 12 |
|
# turn on compiler warnings |
| 13 |
|
|
| 22 |
|
#TALKATIVE = on |
| 23 |
|
TALKATIVE = off |
| 24 |
|
|
| 25 |
+ |
# use drand 48 or SPRNG |
| 26 |
+ |
|
| 27 |
+ |
RANDOM = sprng |
| 28 |
+ |
#RANDOM = drand48 |
| 29 |
+ |
|
| 30 |
+ |
|
| 31 |
|
YC = bison |
| 32 |
|
LC = flex |
| 33 |
|
LD = ld |
| 42 |
|
FC = mpif90 |
| 43 |
|
|
| 44 |
|
CFLAGS = -mp -DIS_MPI -I/usr/local/include |
| 45 |
< |
FFLAGS = -mp -DIS_MPI -I/usr/local/include |
| 45 |
> |
FFLAGS = -mp -DIS_MPI -I/usr/local/include -I/usr/local/include/f90choice |
| 46 |
|
|
| 47 |
|
LIBNAME = libMPImdtools.a |
| 48 |
|
|
| 72 |
|
CFLAGS += -DCHECKPOINT_VERBOSE |
| 73 |
|
endif |
| 74 |
|
|
| 75 |
+ |
ifeq ($(strip $(RANDOM)), $(strip sprng)) |
| 76 |
+ |
CFLAGS += -DUSE_SPRNG |
| 77 |
+ |
FFLAGS += -DUSE_SPRNG |
| 78 |
+ |
endif |