Adding package namd (#4321)

* Initial version of the namd package

* Modified charm to consider compile against intel/intel-mpi

* Correction of namd to compile with intel-mkl and intel compiler

* Adding inclue64 in the prefix

* adding property for the build directory

* removing useless function build
This commit is contained in:
Nicolas Richart
2017-06-14 20:11:30 +02:00
committed by Adam J. Stewart
parent bc2c4a14c2
commit f06c23ef42
4 changed files with 194 additions and 21 deletions

View File

@@ -54,6 +54,13 @@ def mpi_libs(self):
libraries, root=self.prefix.lib64, shared=True, recurse=True
)
@property
def mpi_headers(self):
# recurse from self.prefix will find too many things for all the
# supported sub-architectures like 'mic'
return find_headers(
'mpi', root=self.prefix.include64, recurse=False)
def install(self, spec, prefix):
self.intel_prefix = prefix
IntelInstaller.install(self, spec, prefix)