<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div dir="ltr"><br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Nov 27, 2018 at 5:25 AM Edoardo alinovi via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Dear users,
<div><br>
</div>
<div>I have installed intel parallel studio on my workstation and  thus I would like to take advantage of intel compiler. </div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div>--with-cc=icc --with-fc=ifort --with-mpi-include=/path-to-intel --with-mpi-lib=/path-to-intel <br>
</div>
<div><br>
</div>
<div>Are they correct?<br>
</div>
</div>
</div>
</div>
</blockquote>
<div>I think so. But you may also add PETSC_DIR=/path-to-petsc PETSC_ARCH=name-for-this-build</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div></div>
<div><br>
</div>
<div>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? </div>
</div>
</div>
</div>
</blockquote>
<div>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 <a href="https://www.mcs.anl.gov/petsc/documentation/installation.html">https://www.mcs.anl.gov/petsc/documentation/installation.html</a> </div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
<div>I will never stop to say thank you for your precious support! </div>
<div><br>
</div>
<div>Edoardo</div>
<div> </div>
<div>
<div>
<div dir="ltr" class="gmail-m_-701431352824103836gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">------
<div><br>
</div>
<div>Edoardo Alinovi, Ph.D.</div>
<div><br>
</div>
<div>DICCA, Scuola Politecnica,<br>
Universita' degli Studi di Genova,<br>
1, via Montallegro,<br>
16145 Genova, Italy<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>