[petsc-users] Compile petsc using intel mpi

Matthew Knepley knepley at gmail.com
Tue Nov 27 10:16:09 CST 2018


On Tue, Nov 27, 2018 at 6:25 AM Edoardo alinovi via petsc-users <
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
>

Yes, this looks right.


> Are they correct?
>
> 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?
>

When you do the Intel configuration, use a different name like
--PETSC_ARCH=arch-intelps-opt

  Thanks,

    Matt


> 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
>
>
>

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20181127/720b35da/attachment.html>


More information about the petsc-users mailing list