Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LanczosPlusPlus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Alvarez, Gonzalo
LanczosPlusPlus
Commits
b7af0c87
Commit
b7af0c87
authored
6 years ago
by
Alvarez, Gonzalo
Browse files
Options
Downloads
Patches
Plain Diff
psiTag compilation fixed
parent
2e0b2268
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
TestSuite/inputs/Config.make
+0
-1
0 additions, 1 deletion
TestSuite/inputs/Config.make
TestSuite/inputs/ConfigBase.make
+0
-62
0 additions, 62 deletions
TestSuite/inputs/ConfigBase.make
TestSuite/inputs/ConfigBase.psiTag
+68
-52
68 additions, 52 deletions
TestSuite/inputs/ConfigBase.psiTag
with
68 additions
and
115 deletions
TestSuite/inputs/Config.make
deleted
100644 → 0
+
0
−
1
View file @
2e0b2268
include
ConfigBase.make
This diff is collapsed.
Click to expand it.
TestSuite/inputs/ConfigBase.make
deleted
100644 → 0
+
0
−
62
View file @
2e0b2268
# PsimagLite support is needed by DMRG++
LDFLAGS
=
-L
../../PsimagLite/lib
-lpsimaglite
# Compiler to use. If using MPI then say mpicxx here (or mpic++)
# and also say -DUSE_MPI below
CXX
=
g++
# We're using ansi C++
CPPFLAGS
+=
-pedantic
-std
=
c++98
# Enable MPI (you must set the proper
# compiler wrapper under CXX above)
# CPPFLAGS += -DUSE_MPI
# Here add your lapack and blas libraries or say NO_LAPACK
# CPPFLAGS += -DNO_LAPACK
LDFLAGS
+=
-lblas
-llapack
# Here add -lpthread if threading is needed and also
# set -DUSE_PTHREADS below
LDFLAGS
+=
-lpthread
# Enable pthreads
CPPFLAGS
+=
-DUSE_PTHREADS
# Enable warnings and treat warnings as errors
CPPFLAGS
+=
-Wall
-Werror
# This disables debugging
CPPFLAGS
+=
-DNDEBUG
# Optimization level here
CPPFLAGS
+=
-O3
# This enables partial debugging (make sure to comment out previous line)
#CPPFLAGS += -g3
# This enables additional debugging
#CPPFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_PROFILE
# This makes the code use long instead of short integers
#CPPFLAGS +=-DUSE_LONG
# This makes the code use float instead of double
#CPPFLAGS += -DUSE_FLOAT
# This makes the code complex instead of real
#CPPFLAGS += -DUSE_COMPLEX
# This enables signals
#CPPFLAGS +=-DUSE_SIGNALS
# This enables gsl support
#CPPFLAGS +=-DUSE_GSL
#LDFLAGS += -lgsl -lgslcblas
# This enables the custom allocator (use only for debugging)
#CPPFLAGS += -DUSE_CUSTOM_ALLOCATOR
# Specify the strip command to use (or use true to disable)
STRIP_COMMAND
=
strip
This diff is collapsed.
Click to expand it.
TestSuite/inputs/ConfigBase.psiTag
+
68
−
52
View file @
b7af0c87
#
# Format of psiTag files is described in PsimagLite/scripts/PsiTag.pm
#
# PsimagLite support is needed by DMRG++
dependency PsimagLite = (
LDFLAGS = -L../../PsimagLite/lib -lpsimaglite
)
# Compiler to use. If using MPI then say mpicxx here (or mpic++)
# and also say -DUSE_MPI below
dependency cpp = (
CXX = g++
# Compiler to use. For clang++ see commented out line.
# Note that -mtune=native -march=native should not be
# used if you intend your executable to run in machines
# other than the one your are compiling on
compilerCPP GNU = CXX = g++ -frecord-gcc-switches
compilerCPP CLANG = CXX = clang++
compilerCPPOptions ansi = (
# We're using ansi C++
CPPFLAGS += -pedantic -std=c++98
# Enable warnings and treat warnings as errors
CPPFLAGS += -Wall -Werror
)
CPPFLAGS += -Wall -Wendif-labels
# Enable MPI (you must set the proper
# compiler wrapper under CXX above)
dependency MPI = (
CPPFLAGS += -DUSE_MPI
)
# Here add your lapack and blas libraries or say NO_LAPACK
dependency BLAS = (
# CPPFLAGS += -DNO_LAPACK
LDFLAGS += -lblas
)
dependency LAPACK = (
LDFLAGS += -llapack
)
# Here add -lpthread if threading is needed and also
# set -DUSE_PTHREADS below
dependency Pthreads = (
LDFLAGS += -lpthread
# Enable pthreads
CPPFLAGS += -DUSE_PTHREADS
)
# Treat warnings as errors
# (hdf5 on Ubuntu does not pass this, so it's
# commented out by default now)
compilerCPPOptions Werror = CPPFLAGS += -Werror
# This enables additional debugging
o
ption
a
ddit
i
onal
d
ebugging = (
compilerCPPO
ption
s A
dditonal
D
ebugging = (
CPPFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_PROFILE
)
# This makes the code use long instead of short integers
option USE_LONG
= CPPFLAGS +=-DUSE_LONG
.
= CPPFLAGS +=-DUSE_LONG
# This makes the code use float instead of double
option USE_FLOAT = CPPFLAGS += -DUSE_FLOAT
# This makes the code complex instead of real
option USE_COMPLEX = CPPFLAGS += -DUSE_COMPLEX
.= CPPFLAGS += -DUSE_FLOAT
# This enables signals
option USE_SIGNALS
= CPPFLAGS +=-DUSE_SIGNALS
.
= CPPFLAGS +=-DUSE_SIGNALS
# This enables gsl support
dependency GSL = (
...
...
@@ -72,46 +59,75 @@ CPPFLAGS += -g3
STRIP_COMMAND = true
)
option with optimization = (
# This disables asserts
CPPFLAGS += -DNDEBUG
# This disables debugging
compilerCPPOptions NDEBUG = CPPFLAGS += -DNDEBUG
# Optimization level here
compilerCPPOptions Optimize3 = (
CPPFLAGS += -O3
)
# This enables partial debugging (make sure to comment out previous line)
compilerCPPOptions Symbols3 = (
CPPFLAGS += -g3
)
# Here add your lapack and blas libraries or say NO_LAPACK
dependency LAPACK = (
# If on MacOs please say LDFLAGS += -framework Accelerate
LDFLAGS += -llapack
)
dependency BLAS = (
LDFLAGS += -lblas
)
dependency pthreads = (
# Here add -lpthread if threading is needed and also
# set -DUSE_PTHREADS below
LDFLAGS += -lpthread
# Enable pthreads
CPPFLAGS += -DUSE_PTHREADS
)
default flavor = production
group requirements = (
default compiler = < compilerCPP GNU
group basics = (
< dependency PsimagLite
< de
pendency cpp
<
dependency BLAS
< de
fault compiler
<
compilerCPPOptions ansi
< dependency LAPACK
< dependency BLAS
STRIP_COMMAND = strip
)
flavor production = (
< group requirements
< dependency Pthreads
< option with optimization
< group basics
< dependency pthreads
< compilerCPPOptions Optimize3
< compilerCPPOptions NDEBUG
)
flavor debug = (
< group requirements
< option with gdb
< group basics
STRIP_COMMAND = true
< compilerCPPOptions Symbols3
< compilerCPPOptions Werror
)
flavor callgrind = (
<
group requirements
<
option with o
ptimiz
ation
<
option with gdb
<
flavor debug
<
compilerCPPOptions O
ptimiz
e3
<
compilerCPPOptions NDEBUG
)
flavor drd = (
< group requirements
< option with gdb
< dependency Pthreads
< flavor debug
< dependency pthreads
)
flavor helgrind = < flavor drd
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