temp commit in current state
This commit is contained in:
parent
3edfa390f7
commit
27793d97dc
@ -11,6 +11,12 @@ class Intelmpi(Package):
|
|||||||
# Provides a virtual dependency 'mpi'
|
# Provides a virtual dependency 'mpi'
|
||||||
provides('mpi')
|
provides('mpi')
|
||||||
|
|
||||||
|
def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
|
||||||
|
spack_env.set('MPICC', join_path(self.prefix.bin, 'mpicc'))
|
||||||
|
spack_env.set('MPICXX', join_path(self.prefix.bin, 'mpic++'))
|
||||||
|
spack_env.set('MPIF77', join_path(self.prefix.bin, 'mpif77'))
|
||||||
|
spack_env.set('MPIF90', join_path(self.prefix.bin, 'mpif90'))
|
||||||
|
|
||||||
# def install(self, spec, prefix):
|
# def install(self, spec, prefix):
|
||||||
# configure("--prefix=%s" % prefix)
|
# configure("--prefix=%s" % prefix)
|
||||||
# make()
|
# make()
|
||||||
|
@ -52,9 +52,10 @@ class Plumed(Package):
|
|||||||
version('2.2.3', git="https://github.com/plumed/plumed2.git", tag='v2.2.3')
|
version('2.2.3', git="https://github.com/plumed/plumed2.git", tag='v2.2.3')
|
||||||
|
|
||||||
# FIXME: Add additional dependencies if required.
|
# FIXME: Add additional dependencies if required.
|
||||||
depends_on('intelmpi')
|
depends_on('mpi')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
# FIXME: Unknown build system
|
configure("--prefix=" + prefix,
|
||||||
|
"--enable-mpi",
|
||||||
|
"-enable-modules=crystallization")
|
||||||
make()
|
make()
|
||||||
make('install')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user