Hi David,
On 20/01/2017 17:17, David Ramírez wrote:
Hi
I used old Ifort (version 12). I need to compile Open-MPI for example
and another programs. I tried to edit some easyconfig files. However
does no work. I see toolchains. My question is. Can I use my local
compilers inside some files?
For example I need compile VASP with OpenMPI and Ifort 12.0.2
Thanks in advanced
EasyBuild heavily relies on the use of toolchains, which typically
consist of C/C++/Fortran compilers together with an MPI library and
libraries for BLAS/LAPACK/FFT.
Leveraging existing compiler installations is possible, all that
EasyBuild really needs is an environment module file for that compiler
installation that provides the necessary information.
There is an easyconfig file available [1] that uses the SystemCompiler
easyblock [2] to create a module for the system GCC compiler.
The SystemCompiler easyblock is also aware of icc/ifort, so you should
be able to use it in a similar way to create a module file for your
system icc/ifort installations.
That's only the first step though...
From there, you'll need to get an iccifort [3] module installed that
combines those icc/ifort modules so that can be used as a toolchain to
compile OpenMPI, and then put that together with iccifort to form an
iompi module & toolchain [4] to build other stuff with.
That being said, you may be better off to look into just reinstalling
icc/ifort through EasyBuild entirely...
You are kind of going off the beaten path here, most people just install
their whole software stack with EasyBuild.
regards,
Kenneth
[1]
https://github.com/hpcugent/easybuild-easyconfigs/blob/master/easybuild/easyconfigs/g/GCC/GCC-system.eb
[2]
https://github.com/hpcugent/easybuild-easyblocks/blob/master/easybuild/easyblocks/generic/systemcompiler.py
[3]
https://github.com/hpcugent/easybuild-easyconfigs/tree/master/easybuild/easyconfigs/i/iccifort
[4]
https://github.com/hpcugent/easybuild-easyconfigs/tree/master/easybuild/easyconfigs/i/iompi