-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase_intel.mk
executable file
·36 lines (34 loc) · 1.28 KB
/
base_intel.mk
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
USR := jma
ID_PROG := enecast
NAME_DBG := debug
DIR_HOME := /home/$(USR)/
DIR_PROJS := $(DIR_HOME)1_Projects/
DIR_TOOLS := $(DIR_HOME)2_Tools/
DIR_DATA := $(DIR_HOME)3_Data/
DIR_BIN_INS := /usr/bin/taketa_ifort/$(ID_PROG)/
DIR_LIB_INS := /usr/lib/taketa_ifort/$(ID_PROG)/
DIR_BIN_RLS := $(DIR_PROJS)$(DIR_PROJ)bin/Release/
#DIR_BIN_DBG := $(DIR_PROJS)$(DIR_PROJ)bin/Debug/
DIR_BIN_DBG := ./debug/
DIR_LIB_RLS := $(DIR_PROJS)$(DIR_PROJ)lib/Release/
DIR_LIB_DBG := $(DIR_PROJS)$(DIR_PROJ)lib/Debug/
DIR_OBJ_RLS := $(DIR_PROJS)$(DIR_PROJ)obj/Release/$(NAME)/
DIR_OBJ_DBG := $(DIR_PROJS)$(DIR_PROJ)obj/Debug/$(NAME)/
PATH_BIN_RLS := $(addprefix $(DIR_BIN_RLS), $(NAME))
PATH_BIN_DBG := $(addprefix $(DIR_BIN_DBG), $(NAME_DBG))
FC := ifort
CC := ic
CP := cp
LN := ln -s
RM := rm -f
MKDIR := mkdir -p
AR := xiar
AARGS := -rcsv
CFLAGS := -Dintel -fpp -mcmodel=large -pthread -heap-arrays
RFLAGS := -O3 -march=native -Drelease -parallel
DFLAGS := -g -debug full -Ddebug
LFLAGS := -static-intel
EXT := f90
OP_DIR_OBJ := -module
# intel
#source /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh -arch intel64 -platform linux