-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMake.seaborg
More file actions
65 lines (65 loc) · 1.85 KB
/
Make.seaborg
File metadata and controls
65 lines (65 loc) · 1.85 KB
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
55
56
57
58
59
60
61
62
63
64
65
############################################################
# nuTRLan make include file
############################################################
#
# C compiler
CC = xlc
# CC = cc
MPICC = mpcc
#
# Fortran compiler
FC = mpxlf90
#
CFLAGS = -O3 -qcpluscmt -qstrict -lxlf90 -DSTD_DATA -DBLAS_EXT -DNOCHANGE -DCBLAS
# CFLAGS = -O3 -qcpluscmt -qstrict -lxlf90 -DESSL -DNOCHANGE
# Debuging:
# CFLAGS += -g
#
FFLAGS = -O3 -qstrict
#
# 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 = /home2/u14/yamazaki/src_so_sept02/nutrlan/CLAPACK
#
# External libraries
# LIB_DIR = -L$(DIR_CLAPACK) -L$(DIR_CLAPACK)/F2CLIBS
# MATH = -lm
# BLAS = ../../ZTRLan1/CLAPACK/blas.a
# LAPACK = $$LAPACK
# CLAPACK = $(DIR_CLAPACK)/lapack.a
# F2C = $(DIR_CLAPACK)/F2CLIBS/libF77.a $(DIR_CLAPACK)/F2CLIBS/libI77.a
# BLASWRAP = $(DIR_CLAPACK)/BLAS/WRAP/libcblaswr.a
# LIB = $(LIB_DIR) $$LAPACK $(BLAS) $(CLAPACK) $(F2C) $(MATH)
MATH = -lessl -lm
LIB = $$LAPACK $(MATH)
PLIB = $(LIB)
#
# Include files
INC_CLAPACK = -I$(DIR_CLAPACK)/F2CLIBS \
-I$(DIR_CLAPACK)/BLAS/WRAP
INC_NUTRLAN = -I$(TOP)/INC
INC = $(INC_NUTRLAN)
#
# Object files
OBJ_CBLAS = zdotc.o d_cnjg.o
# daxpy.o
# dcopy.o
# ddot.o
# dgemm.o
# dgemv.o
# dscal.o
# lsame.o \
# zaxpy.o zcopy.o zdotc.o zdscal.o zgemm.o zgemv.o zscal.o
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 = $(OBJ_REAL) $(OBJ_CPLX)
OBJ_SERIAL = trl_comm_none.o ztrl_comm_none.o
OBJ_PARALLEL = trl_comm_mpi.o ztrl_comm_mpi.o