added MPI dependency to Nekbone package (#4903)
* removed the tags as per comment in PR# 4749 * addressed above comments * changed fortran compiler. * added proxy application tags. * added tags by removing them from description. * addressed comments * used join_path instead of path concat. * removed the tags as per comment in PR# 4749 * addressed above comments * changed fortran compiler. * added proxy application tags. * added tags by removing them from description. * addressed comments * used join_path instead of path concat. * added tags. * changes to use MPI as depedency. * removed MPI as variant. * changed pointer to filtered makenek file. * flake 8 fix.
This commit is contained in:
parent
b62f0962b0
commit
4ab12fb503
@ -39,6 +39,8 @@ class Nekbone(Package):
|
||||
|
||||
version('develop', git='https://github.com/ANL-CESAR/nekbone.git')
|
||||
|
||||
depends_on('mpi')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
|
||||
working_dirs = ['example1', 'example2', 'example3', 'nek_comm',
|
||||
@ -47,6 +49,9 @@ def install(self, spec, prefix):
|
||||
|
||||
for wdir in working_dirs:
|
||||
with working_dir('test/' + wdir):
|
||||
makenec = FileFilter('makenek')
|
||||
makenec.filter('CC.*', 'CC=' + self.spec['mpi'].mpicc)
|
||||
makenec.filter('FF77.*', 'FF77=' + self.spec['mpi'].mpif77)
|
||||
makenek = Executable('./makenek')
|
||||
path = join_path(prefix.bin, wdir)
|
||||
makenek('ex1', '../../src')
|
||||
|
Loading…
Reference in New Issue
Block a user