add Intel mpi package and add MPI wrappers to Intel parallel studio#3905
add Intel mpi package and add MPI wrappers to Intel parallel studio#3905adamjstewart merged 11 commits intospack:developfrom
Conversation
|
can't test the compilation with in UPDATE: it looks like i need some extra steps to set up license, here's This worked by loading |
|
|
|
|
||
| def install(self, spec, prefix): | ||
| # FIXME: | ||
| raise RuntimeError('Install method is not implemented yet') |
There was a problem hiding this comment.
Can you implement this? It shouldn't be that different from the other Intel packages.
There was a problem hiding this comment.
i added that, but i can't test it as I don't have a licence.
| self.intel_prefix = prefix | ||
| IntelInstaller.install(self, spec, prefix) | ||
|
|
||
|
|
| # Check for presence of bin64 or bin directory | ||
| if os.path.isdir(self.prefix.bin): | ||
| bindir = self.prefix.bin | ||
| elif os.path.isdir(join_path(self.prefix, 'bin64')): |
There was a problem hiding this comment.
You might as well add prefix.bin64 to https://github.com/LLNL/spack/blob/develop/lib/spack/spack/util/prefix.py#L63
| elif os.path.isdir(join_path(self.prefix, 'bin64')): | ||
| bindir = join_path(self.prefix, 'bin64') | ||
| else: | ||
| raise "No suitable bindir found" |
There was a problem hiding this comment.
Don't you need an error class?
There was a problem hiding this comment.
you are probably right, i blindly copy-pasted this from #2980
|
@davydden, looks like you have some version lines that are too long in the intel-mpi/package.py file. |
|
It's actually the hash causing the version line to be too long, not the URL. We only exempt |
|
i updated the PR, current flake8 issues are not related |
|
@davydden I restarted the |
…pack#3905) * intel-mpi: add new package * fix hashes * fix typo * flake8 * add install * blank line * error * add bin64 * fix MPI wrappers in intel-parallel-studio * add missing I_MPI_FC * use shorter hashes
…pack#3905) * intel-mpi: add new package * fix hashes * fix typo * flake8 * add install * blank line * error * add bin64 * fix MPI wrappers in intel-parallel-studio * add missing I_MPI_FC * use shorter hashes
…pack#3905) * intel-mpi: add new package * fix hashes * fix typo * flake8 * add install * blank line * error * add bin64 * fix MPI wrappers in intel-parallel-studio * add missing I_MPI_FC * use shorter hashes
…3905) * intel-mpi: add new package * fix hashes * fix typo * flake8 * add install * blank line * error * add bin64 * fix MPI wrappers in intel-parallel-studio * add missing I_MPI_FC * use shorter hashes
the main reason Intel-MPI was added in spack#3905 was to support a stand-alone installation, i.e. not a part of parallel studio or alike. The intended behaviour got broken during refactoring in spack#4300 This commit fixes the issue by supporting different directories.
the main reason Intel-MPI was added in spack#3905 was to support a stand-alone installation, i.e. not a part of parallel studio or alike. The intended behaviour got broken during refactoring in spack#4300 This commit fixes the issue by supporting different directories.
as per discussion in https://groups.google.com/forum/#!topic/spack/SDR04CNRoyQ and https://groups.google.com/forum/#!topic/spack/8ep-wfq9AVw
testing
spack install hdf5%gcc+mpi^intel-mpispack install hdf5%intel+mpi^intel-mpion CentOS 7 cluster with (setup with
spack compiler findaftermodule load intelmpi)and