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
62b2f2a7
Commit
62b2f2a7
authored
8 years ago
by
Todd Gamblin
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1065 from epfl-scitas/packages/espresso_update
espresso : update to 5.4.0
parents
4569df02
a1cbb73f
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/espresso/package.py
+18
-6
18 additions, 6 deletions
var/spack/repos/builtin/packages/espresso/package.py
with
18 additions
and
6 deletions
var/spack/repos/builtin/packages/espresso/package.py
+
18
−
6
View file @
62b2f2a7
...
@@ -26,20 +26,28 @@
...
@@ -26,20 +26,28 @@
import
os
import
os
class
Espresso
(
Package
):
class
Espresso
(
Package
):
"""
"""
QE is an integrated suite of Open-Source computer codes for electronic-structure calculations and materials
QE is an integrated suite of Open-Source computer codes for
modeling at the nanoscale. It is based on density-functional theory, plane waves, and pseudopotentials.
electronic-structure calculations and materials modeling at
the nanoscale. It is based on density-functional theory, plane
waves, and pseudopotentials.
"""
"""
homepage
=
'
http://quantum-espresso.org
'
homepage
=
'
http://quantum-espresso.org
'
url
=
'
http://www.qe-forge.org/gf/download/frsrelease/204/912/espresso-5.3.0.tar.gz
'
url
=
'
http://www.qe-forge.org/gf/download/frsrelease/204/912/espresso-5.3.0.tar.gz
'
version
(
'
5.4.0
'
,
'
8bb78181b39bd084ae5cb7a512c1cfe7
'
,
url
=
'
http://www.qe-forge.org/gf/download/frsrelease/211/968/espresso-5.4.0.tar.gz
'
)
version
(
'
5.3.0
'
,
'
6848fcfaeb118587d6be36bd10b7f2c3
'
)
version
(
'
5.3.0
'
,
'
6848fcfaeb118587d6be36bd10b7f2c3
'
)
variant
(
'
mpi
'
,
default
=
True
,
description
=
'
Build
Quantum-ESPRESSO
with mpi support
'
)
variant
(
'
mpi
'
,
default
=
True
,
description
=
'
Build
s
with mpi support
'
)
variant
(
'
openmp
'
,
default
=
False
,
description
=
'
Enables openMP support
'
)
variant
(
'
openmp
'
,
default
=
False
,
description
=
'
Enables openMP support
'
)
variant
(
'
scalapack
'
,
default
=
True
,
description
=
'
Enables scalapack support
'
)
variant
(
'
scalapack
'
,
default
=
True
,
description
=
'
Enables scalapack support
'
)
variant
(
'
elpa
'
,
default
=
True
,
description
=
'
Use elpa as an eigenvalue solver
'
)
variant
(
'
elpa
'
,
default
=
True
,
description
=
'
Use
s
elpa as an eigenvalue solver
'
)
depends_on
(
'
blas
'
)
depends_on
(
'
blas
'
)
depends_on
(
'
lapack
'
)
depends_on
(
'
lapack
'
)
...
@@ -47,7 +55,12 @@ class Espresso(Package):
...
@@ -47,7 +55,12 @@ class Espresso(Package):
depends_on
(
'
mpi
'
,
when
=
'
+mpi
'
)
depends_on
(
'
mpi
'
,
when
=
'
+mpi
'
)
depends_on
(
'
fftw~mpi
'
,
when
=
'
~mpi
'
)
depends_on
(
'
fftw~mpi
'
,
when
=
'
~mpi
'
)
depends_on
(
'
fftw+mpi
'
,
when
=
'
+mpi
'
)
depends_on
(
'
fftw+mpi
'
,
when
=
'
+mpi
'
)
depends_on
(
'
scalapack
'
,
when
=
'
+scalapack+mpi
'
)
# TODO : + mpi needed to avoid false dependencies installation
# TODO : + mpi needed to avoid false dependencies installation
depends_on
(
'
scalapack
'
,
when
=
'
+scalapack+mpi
'
)
# Spurious problems running in parallel the Makefile
# generated by qe configure
parallel
=
False
def
check_variants
(
self
,
spec
):
def
check_variants
(
self
,
spec
):
error
=
'
you cannot ask for
\'
+{variant}
\'
when
\'
+mpi
\'
is not active
'
error
=
'
you cannot ask for
\'
+{variant}
\'
when
\'
+mpi
\'
is not active
'
...
@@ -93,4 +106,3 @@ def install(self, spec, prefix):
...
@@ -93,4 +106,3 @@ def install(self, spec, prefix):
install
(
filename
,
prefix
.
bin
)
install
(
filename
,
prefix
.
bin
)
else
:
else
:
make
(
'
install
'
)
make
(
'
install
'
)
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