Open Akshay-Venkatesh opened 2 years ago
cc @janjust
@jladd-mlnx FYI
I tried to compile the released 4.1.4 with nvcc and nvfortran 22.04 and the compilation failed.
I had to change the configure of the openmpi library as below, i.e. I did add nvfortran so that the compiler is recognised. After that it worked. This is probably more related to issue #8919
Without I got the error
relocation R_X86_64_32S against .rodata' can not be used when making a shared object; recompile with -fPIC
43702c43702
< for ac_prog in gfortran f95 fort xlf95 ifort ifc efc pgfortran nvfortran pgf95 lf95 f90 xlf90 pgf90 epcf90 nagfor
---
> for ac_prog in gfortran f95 fort xlf95 ifort ifc efc pgfortran pgf95 lf95 f90 xlf90 pgf90 epcf90 nagfor
43746c43746
< for ac_prog in gfortran f95 fort xlf95 ifort ifc efc pgfortran nvfortran pgf95 lf95 f90 xlf90 pgf90 epcf90 nagfor
---
> for ac_prog in gfortran f95 fort xlf95 ifort ifc efc pgfortran pgf95 lf95 f90 xlf90 pgf90 epcf90 nagfor
414137c414137
< pgcc* | pgf77* | pgf90* | pgf95* | pgfortran* | nvfortran*)
---
> pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
414780c414780
< pgf77* | pgf90* | pgf95* | pgfortran* | nvfortran*)
---
> pgf77* | pgf90* | pgf95* | pgfortran*)
421450c421450
< pgcc* | pgf77* | pgf90* | pgf95* | pgfortran* | nvfortran*)
---
> pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
422078c422078
< pgf77* | pgf90* | pgf95* | pgfortran* | nvfortran*)
---
> pgf77* | pgf90* | pgf95* | pgfortran*)
@Akshay-Venkatesh @janjust Can you guys comment on this?
I have the same problem reported above about libevent with nvidia compiler. If the configure does not find the external libevent, the compilation of the internal libevent fails.
On ubuntu the solution is to install libevent-dev After that the installation works fine with the above change to the configure
I have seen similar warnings with AOCC 4.2
configure: WARNING: *** Fortran COMPLEX*4 does not have expected size!
configure: WARNING: *** Expected 4, got 8
configure: WARNING: *** Disabling MPI support for Fortran COMPLEX*4)
Seeing the following compiler warnings with nvidia hpc sdk 22.2 available here https://developer.nvidia.com/nvidia-hpc-sdk-releases
Background information
What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)
v4.1.3
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
release tarball configured with:
Please describe the system on which you are running
Details of the problem
Configure warnings:
Unexpected size warnings
libevent warnings
Build errors: