Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
eic_tools
Spack
Commits
d39b6669
Commit
d39b6669
authored
8 years ago
by
Massimiliano Culpo
Browse files
Options
Downloads
Patches
Plain Diff
plumed : avoid linking with libgslcblas
parent
16c5403a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
var/spack/repos/builtin/packages/plumed/package.py
+8
-0
8 additions, 0 deletions
var/spack/repos/builtin/packages/plumed/package.py
with
8 additions
and
0 deletions
var/spack/repos/builtin/packages/plumed/package.py
+
8
−
0
View file @
d39b6669
...
@@ -66,6 +66,8 @@ class Plumed(Package):
...
@@ -66,6 +66,8 @@ class Plumed(Package):
depends_on
(
'
mpi
'
,
when
=
'
+mpi
'
)
depends_on
(
'
mpi
'
,
when
=
'
+mpi
'
)
depends_on
(
'
gsl
'
,
when
=
'
+gsl
'
)
depends_on
(
'
gsl
'
,
when
=
'
+gsl
'
)
depends_on
(
'
autoconf
'
,
type
=
'
build
'
)
# Dictionary mapping PLUMED versions to the patches it provides
# Dictionary mapping PLUMED versions to the patches it provides
# interactively
# interactively
plumed_patches
=
{
plumed_patches
=
{
...
@@ -98,6 +100,12 @@ def setup_dependent_package(self, module, ext_spec):
...
@@ -98,6 +100,12 @@ def setup_dependent_package(self, module, ext_spec):
module
.
plumed
=
Executable
(
join_path
(
self
.
spec
.
prefix
.
bin
,
'
plumed
'
))
module
.
plumed
=
Executable
(
join_path
(
self
.
spec
.
prefix
.
bin
,
'
plumed
'
))
def
install
(
self
,
spec
,
prefix
):
def
install
(
self
,
spec
,
prefix
):
# This part is needed to avoid linking with gsl cblas
# interface which will mask the cblas interface
# provided by optimized libraries due to linking order
filter_file
(
'
-lgslcblas
'
,
''
,
'
configure.ac
'
)
autoreconf
(
'
-ivf
'
)
# From plumed docs :
# From plumed docs :
# Also consider that this is different with respect to what some other
# Also consider that this is different with respect to what some other
# configure script does in that variables such as MPICXX are
# configure script does in that variables such as MPICXX are
...
...
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