[petsc-users] IMPI with Hypre

Victor Eijkhout eijkhout at tacc.utexas.edu
Tue Aug 8 11:26:08 CDT 2023


  *   Its easier to just add the newer version of gcc/g++ compilers to PATH

Except that I do my path loading through environment modules (lmod version) and they do not allow multiple compilers to be loaded at the same time.

But yes, that would work.

V.

From: Satish Balay <balay at mcs.anl.gov>
Date: Tuesday, August 8, 2023 at 11:20
To: Victor Eijkhout <eijkhout at tacc.utexas.edu>
Cc: Barry Smith <bsmith at petsc.dev>, Khaled Nabil Shar Abdelaziz <kabdelaz at purdue.edu>, petsc-users at mcs.anl.gov <petsc-users at mcs.anl.gov>
Subject: Re: [petsc-users] IMPI with Hypre
Its easier to just add the newer version of gcc/g++ compilers to PATH - and icc will pick it up [without requiring -gcc-toolchain option]

export PATH=/location/of/newer/g++/bin:$PATH
./configure ...
make ...

Satish

On Tue, 8 Aug 2023, Victor Eijkhout wrote:

> Maybe an option for specifying the explicit location of gcc version? The intel compiler has a “-gcc-toolchain” option for that.
>
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.intel.com%2Fcontent%2Fwww%2Fus%2Fen%2Fdocs%2Fdpcpp-cpp-compiler%2Fdeveloper-guide-reference%2F2023-0%2Fgcc-toolchain.html&data=05%7C01%7C%7C1ee068e767e042b91c3708db982b57b1%7C31d7e2a5bdd8414e9e97bea998ebdfe1%7C0%7C0%7C638271084142649215%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0jfUA3EMFkpeKOZdhawJjRyivCQ8yF2C50DP2pukJlk%3D&reserved=0<https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2023-0/gcc-toolchain.html>
>
> Victor.
>
>
>
>
>> This message is from an external sender. Learn more about why this <<
>> matters at https://links.utexas.edu/rtyclf.                        <<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230808/a216cb73/attachment.html>


More information about the petsc-users mailing list