Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Gilles Gouaillardet via users
Ray, note there is a bug in nvc compilers since 21.3 (it has been reported and is documented at https://github.com/open-mpi/ompi/issues/9402) For the time being, I suggest you use gcc, g++ and nvfortran FWIW, the AVX2 issue is likely caused by nvc **not** defining some macros (that are both defi

Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Ray Muno via users
Tried this configure CC='nvc -fPIC' CXX='nvc++ -fPIC' FC='nvfortran -fPIC' Configure completes. Compiles quite a way through. Dies in a different place. It does get past the first error, however with libmpi_usempif08.la FCLD libmpi_usempif08.la make[2]: Leaving directory `/project

Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Ray Muno via users
In config.log, it appears to be passing the flag in the tests. It also fails with version 21.9 of the HPC-SDK. On 9/29/21 11:42 AM, Bennet Fauber via users wrote: Ray, If all the errors about not being compiled with -fPIC are still appearing, there may be a bug that is preventing the option f

Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Bennet Fauber via users
Ray, If all the errors about not being compiled with -fPIC are still appearing, there may be a bug that is preventing the option from getting through to the compiler(s). It might be worth looking through the logs to see the full compile command for one or more of them to see whether that is true?

Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Ray Muno via users
I did try that and it fails at the same place. Which version of the nVidia HPC-SDK are you using? I a m using 21.7. I see there is an upgrade to 21.9, which came out since I installed. I have that installed and will try to see if they changed anything. Not much in the releases notes to indica

Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Ray Muno via users
On 9/29/21 9:58 AM, Jeff Squyres (jsquyres) wrote: Ray -- Looks like this is a dup of https://github.com/open-mpi/ompi/issues/8919 . Looking at the page on the OpenMPI Developer list, it says "A known workaround is to add '-fPIC' to the CFLAGS

Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Jing Gong via users
Hi, Before Nvidia persons look into details,pProbably you can try to add the flag "-fPIC" to the nvhpc compiler likes cc="nvc -fPIC", which at least worked with me. /Jing From: users on behalf of Ray Muno via users Sent: Wednesday, September 29, 2021 17:22

Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Ray Muno via users
Thanks, I looked through previous emails here in the user list. I guess I need to subscribe to the Developers list. -Ray Muno On 9/29/21 9:58 AM, Jeff Squyres (jsquyres) wrote: Ray -- Looks like this is a dup of https://github.com/open-mpi/ompi/issues/8919

Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Jeff Squyres (jsquyres) via users
Ray -- Looks like this is a dup of https://github.com/open-mpi/ompi/issues/8919. On Sep 29, 2021, at 10:47 AM, Ray Muno via users mailto:users@lists.open-mpi.org>> wrote: Looking to compile OpenMPI 4.1.1 under Centos 7.9, (with Mellanox OFED 5.3 stack) with the nVidia HPC-SDK, version 21.7.

[OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, build hints?

2021-09-29 Thread Ray Muno via users
Looking to compile OpenMPI 4.1.1 under Centos 7.9, (with Mellanox OFED 5.3 stack) with the nVidia HPC-SDK, version 21.7. Configure works, build fails. The nvidia HPC-SDK is using their environmental module which sets these variables, etc. setenv NVHPC /stage/opt/NV_hpc_sdk setenv