-
Notifications
You must be signed in to change notification settings - Fork 0
/
K-computer.psmp
24 lines (23 loc) · 1.09 KB
/
K-computer.psmp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Minimal Configuration for K-Computer (Fujitsu)
# http://www.fujitsu.com/global/about/tech/k/
# SPARC64 VIIIfx CPU designed and developed by Fujitsu
# Tofu interconnect: 6-Dimensional Mesh/Torus Topology Network Technology
# WARNING: The clause "collapse(n)" had troubles on the Fujitsu compiler
# (K-computer and Fujitsu FX10 machine) until the version
# Fujitsu Fortran Driver Ver. 1.2.1 P-id T01641-02 (2013).
# You might well need to better tune your own compilation !
# The above bug should have been fixed in Fujitsu Fortran Driver
# Ver. 1.2.1 P-id T01641-04 (2014)
# (MB-University of Tokyo, 2014).
CC = mpifccpx -c -O
CPP = /lib/cpp
FC = mpifrtpx -c
FC_fixed = mpifrtpx -FI -c
LD = mpifrtpx
AR = /usr/bin/ar -r
DFLAGS = -D__GFORTRAN -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK
CPPFLAGS = -C $(DFLAGS) -P -traditional
FCFLAGS = -Aw -O3 -Kfast,openmp -Kopenmp -Ksimd -Kparallel -X03 -Free -Cpp -Ccpp
LDFLAGS = $(FCFLAGS) -L$(HOME)/lib
LIBS = $(FCFLAGS) -SSL2BLAMP -SCALAPACK -Ntl_trt
OBJECTS_ARCHITECTURE = machine_intel.o