-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.mk_r
64 lines (48 loc) · 1.88 KB
/
config.mk_r
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
# ====== Executable Install Location ===========================
# INSTALL = directory prefix for installing executable and scripts
# Several possible install locations are suggested below.
INSTALL=../..
#INSTALL=${HOME}/.local
#INSTALL=/usr/local/
# ============ Compiler and Options ============================
# Fortran compiler and settings for high and low optimization.
# Note: High optimization setting (FAST) is used for every file
# except the space_groups_mod.f, which is compiled with no
# optimiztion (NOPT). This is because space_groups_mod.f is a
# very long file that can take a long time to compile, but that
# requires very little run time.
# Gnu Compiler Collection (gcc) - gfortran
F90=gfortran
FAST=-O3 -ffree-form
NOPT=-ffree-form
LINK=-O3 -ffree-form -lgfortran
# Mac OS X, gfortran as installed by MacPorts package manager
#F90=/opt/local/bin/gfortran-mp-5
# Intel compiler
# F90=ifort
# FAST=-O3 -free
# NOPT=-free
# LINK=-O3 -free
# ============ Directories for Libraries =======================
# LIBDIRS= nonstandard directories containing libraries
# Empty by default
LIBDIRS=
# Mac OS X, if using MacPorts package manager
#LIBDIRS= -L /opt/local/lib
# ============ FFTW Fast Fourier Transform Library =============
# FFTWLIB = path(s) to directory(ies) containing FFTW library
# FFT_FILE = fft2_mod for FFTW version 2
# = fft3_mod for FFTW version 3
# Linux and Mac
FFTWLIB= -lfftw3
FFT_FILE=fft3_mod
# ============ LAPACK Linear Algebra Library ==================
# LAPACKLIB = path(s) to directories containing lapack and blas
# Fedora linux (as installed by yum) and Mac OS X
LAPACKLIB= -llapack -lblas
#LAPACKLIB= -llapack -lblas -latlas
# Ubuntu linux (as installed by apt-get)
#LAPACKLIB=/usr/lib/liblapack.so.3gf /usr/lib/libf77blas.so.3gf /usr/lib/libatlas.so.3gf
# ====== Program Version =====================================
#DEVEL=-D DEVEL
DEVEL=