blob: 578c0f015db9d9365ce76063a7e0b652fdcd317b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#---------------------------------------------------------------------------
#
# Makefile for executing the Ganlib non-regression tests
# Author : A. Hebert (2018-5-10)
#
#---------------------------------------------------------------------------
#
OS = $(shell uname -s | cut -d"_" -f1)
ifneq (,$(filter $(OS),SunOS AIX))
MAKE = gmake
endif
ifeq ($(openmp),1)
nomp = 16
else
nomp = 0
endif
ifeq ($(intel),1)
fcompilerSuite = intel
else
ifeq ($(nvidia),1)
fcompilerSuite = nvidia
else
ifeq ($(llvm),1)
fcompilerSuite = llvm
else
fcompilerSuite = custom
endif
endif
endif
all :
$(MAKE) -C src
clean :
$(MAKE) clean -C src
tests :
./rganlib -c $(fcompilerSuite) -p $(nomp) -q testgan1.x2m
./rganlib -c $(fcompilerSuite) -p $(nomp) -q testgan2.x2m
./rganlib -c $(fcompilerSuite) -p $(nomp) -q testgan3.x2m
ifeq ($(hdf5),1)
./rganlib -c $(fcompilerSuite) -p $(nomp) -q testgan4.x2m
endif
|