[petsc-users] Compile petsc using intel mpi
Zhang, Junchao
jczhang at mcs.anl.gov
Tue Nov 27 10:10:22 CST 2018
On Tue, Nov 27, 2018 at 5:25 AM Edoardo alinovi via petsc-users <petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>> wrote:
Dear users,
I have installed intel parallel studio on my workstation and thus I would like to take advantage of intel compiler.
Before messing up my installation, have you got some guidelines to survive at this attempt? I have found here in the mailing list the following instructions:
--with-cc=icc --with-fc=ifort --with-mpi-include=/path-to-intel --with-mpi-lib=/path-to-intel
Are they correct?
I think so. But you may also add PETSC_DIR=/path-to-petsc PETSC_ARCH=name-for-this-build
Also I have an already existing and clean installation of petsc using openmpi. I would like to retain this installtion since it is working very well and switching between the two somehow. Any tips on this?
Use PETSC_ARCH in PETSc configure to differentiate different builds, and export PETSC_ARCH in your environment to select the one you want to use. See more at https://www.mcs.anl.gov/petsc/documentation/installation.html
I will never stop to say thank you for your precious support!
Edoardo
------
Edoardo Alinovi, Ph.D.
DICCA, Scuola Politecnica,
Universita' degli Studi di Genova,
1, via Montallegro,
16145 Genova, Italy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181127/7012c944/attachment-0001.html>
More information about the petsc-users
mailing list