This repository has been archived by the owner on May 28, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
make.inc.template
54 lines (41 loc) · 1.77 KB
/
make.inc.template
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# Copyright (C) 2011-2012 Quantum ESPRESSO Foundation
# Copyright (C) 2010-2011 Irish Centre for High-End Computing (ICHEC)
#
# This file is distributed under the terms of the
# GNU General Public License. See the file `License'
# in the root directory of the present package,
# or http://www.gnu.org/copyleft/gpl.txt .
#
# Author: Filippo Spiga ([email protected])
.SUFFIXES :
.SUFFIXES : .o .c
# *** from Quantum ESPRESSO ***
# most FORTRAN compilers can directly preprocess c-like directives: use
# $(MPIF90) $(F90FLAGS) -c $<
# if explicit preprocessing by the C preprocessor is needed, use:
# $(CPP) $(CPPFLAGS) $< -o $*.F90
# $(MPIF90) $(F90FLAGS) -c $*.F90 -o $*.o
# remember the tabulator in the first column !!!
.c.o:
$(PHIGEMM_NVCC) $(PHIGEMM_NVCC_FLAGS) $(PHIGEMM_GEMM_OPT) $(PHIGEMM_EXT_INC) -I../include/ -c $< -o $*.o
PHIGEMM_TOP = .
PHIGEMM_AR = ar
PHIGEMM_ARFLAGS = ruv
PHIGEMM_CC = icc
PHIGEMM_CFLAGS = -O3 -openmp -fPIC
PHIGEMM_FC = ifort
PHIGEMM_FFLAGS = -module ../include/
PHIGEMM_CPP = cpp
PHIGEMM_CPPFLAGS = -P -traditional
PHIGEMM_LD = icc
PHIGEMM_LD_FLAGS = -O3 -openmp -fPIC -zmuldefs
PHIGEMM_LD_SHARED_FLAGS = --shared
PHIGEMM_FC_PREPROC_FLAG = -module ../include/
PHIGEMM_NVCC = nvcc
PHIGEMM_NVCC_FLAGS = -ccbin gcc -O3 --compiler-options '-c -fPIC -fopenmp'
PHIGEMM_EXT_INC = -I/home/fs395/scratch/QE/q-e/GPU/..//phiGEMM/include -I/include
PHIGEMM_CUDA_LIB = -L/lib64 -lcublas -lcufft -lcudart
PHIGEMM_LD_LIB = /home/fs395/scratch/QE/q-e/GPU/..//phiGEMM/lib/libphigemm.a -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -L/lib64 -lcublas -lcufft -lcudart
PHIGEMM_CUDA_PATH =
PHIGEMM_GEMM_OPT = -D__PHIGEMM_WEAK_INTERFACES -D__PHIGEMM_ENABLE_SPECIALK