Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gyacomo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Cyril David Hoffmann
Gyacomo
Commits
e651ef6b
Commit
e651ef6b
authored
2 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
add Lapack library
parent
789906ab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+10
-7
10 additions, 7 deletions
Makefile
local/dirs.inc
+1
-0
1 addition, 0 deletions
local/dirs.inc
local/make.inc
+11
-1
11 additions, 1 deletion
local/make.inc
with
22 additions
and
8 deletions
Makefile
+
10
−
7
View file @
e651ef6b
...
...
@@ -5,13 +5,16 @@ EXEC = $(BINDIR)/helaz3
EDBG
=
$(
BINDIR
)
/helaz3_dbg
F90
=
mpiifort
#F90 = ftn #for piz-daint cluster
# Add Multiple-Precision Library
EXTLIBS
+=
-L
$(
FMDIR
)
/lib
EXTINC
+=
-I
$(
FMDIR
)
/mod
EXTLIBS
+=
-L
$(
FFTWDIR
)
/lib
EXTINC
+=
-I
$(
FFTWDIR
)
/include
# #F90 = ftn #for piz-daint cluster
# # Add Multiple-Precision Library
# EXTLIBS += -L$(FMDIR)/lib
# EXTINC += -I$(FMDIR)/mod
# # Add local fftw dir
# EXTLIBS += -L$(FFTWDIR)/lib
# EXTINC += -I$(FFTWDIR)/include
# # Add lapack
# EXTLIBS += -L$(LAPACKDIR)/lib
# EXTINC += -I$(LAPACKDIR)/mod
all
:
dirs src/srcinfo.h
all
:
F90FLAGS = -O3 -xHOST
...
...
This diff is collapsed.
Click to expand it.
local/dirs.inc
+
1
−
0
View file @
e651ef6b
...
...
@@ -10,5 +10,6 @@ FMDIR = $(HOME)/lib/FM
FFTW3DIR
=
$
(
HOME
)
/
lib
/
fftw
-
3.3.8
#FFTW3DIR = $(FFTW_HOME)#for Marconi
FUTILS_DIR
=
$
(
HOME
)
/
lib
/
futils
/
src
#LAPACKDIR = $(HOME)/lib/lapack
# Naming ideas : HeLaZ, MoNoLiT (Moment Non Linear Torroidal)
This diff is collapsed.
Click to expand it.
local/make.inc
+
11
−
1
View file @
e651ef6b
...
...
@@ -68,14 +68,24 @@ endif
# Add Multiple-Precision Library
LIBS
+=
-
lfm
# Add FFTW3 local lib
ifdef
FFTW3DIR
LIBS
+=
-
lfftw3
-
lfftw3_mpi
LDIRS
+=
-
L
$
(
FFTW3DIR
)
/
lib
IDIRS
+=
-
I
$
(
FFTW3DIR
)
/
include
endif
# Add lapack local lib
ifdef
LAPACKDIR
LIBS
+=
-
llapack
-
lblas
LDIRS
+=
-
L
$
(
LAPACKDIR
)
/
lib
endif
# FM library
ifdef
FMDIR
LDIRS
+=
-
L
$
(
FMDIR
)
/
lib
IDIRS
+=
-
I
$
(
FMDIR
)
/
mod
endif
################################################################
#
# Section V: Set up inclusion of modules and libraries during
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment