On Tue, Nov 27, 2018 at 5:25 AM Edoardo alinovi via petsc-users 
<[email protected]<mailto:[email protected]>> 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


Reply via email to