-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMake.dmx
47 lines (47 loc) · 1.25 KB
/
Make.dmx
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
############################################################
# nuTRLan make include file
############################################################
#
# C compiler
CC = gcc
MPICC = mpicc
LOADER = gcc
PLOADER = mpicc
#
CFLAGS = -O3 -DF2C -DBLASWRAP
#
# Make command
MAKE = make
# MAKEFLAGS = TOP=${PWD}
#
# nuTRLan home directory
# TOP=${PWD}
NUTRLAN = $(TOP)/libnutrlan.a
PNUTRLAN = $(TOP)/libnutrlan_mpi.a
#
# External directories
DIR_CLAPACK = /software/workspace/build/CLAPACK
#
# External libraries
LIB_DIR = -L/software/lapack
MATH = -lm
BLAS = -lblas
LAPACK = -llapack
CLAPACK = $(DIR_CLAPACK)/lapack_LINUX.a
F2C = -lF77 -lI77
LIB = $(LIB_DIR) $(LAPACK) $(BLAS) $(CLAPACK) $(F2C) $(MATH)
PLIB = $(LIB)
#
# Include files
INC_CLAPACK = -I$(DIR_CLAPACK)/F2CLIBS \
-I$(DIR_CLAPACK)/BLAS/WRAP
INC_NUTRLAN = -I$(TOP)/INC
INC = $(INC_CLAPACK) $(INC_NUTRLAN)
#
# Object files
OBJ_REAL = dsort2.o dstqrb.o trlan.o trlaux.o trlcore.o restart.o trlmap.o
OBJ_CPLX = zdgemm.o zdgemv.o zdaxpy.o ztrlan.o ztrlaux.o ztrlcore.o
OBJ_CBLAS = ddot.o zdotc.o d_cnjg.o
OBJ = $(OBJ_REAL) $(OBJ_CPLX)
OBJ_SERIAL = trl_comm_none.o ztrl_comm_none.o
OBJ_PARALLEL = trl_comm_mpi.o ztrl_comm_mpi.o