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 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?  Say, libs/comm_spawn_multiple_f08.o for example?

If -fPIC is missing, you may be able to recompile that manually with the -fPIC in place, then remake and see if that also causes the link error to go away, that would be a good start.

Hope this helps,    -- bennet



On Wed, Sep 29, 2021 at 12:29 PM Ray Muno via users <users@lists.open-mpi.org <mailto:users@lists.open-mpi.org>> wrote:

    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 indicate any major changes.

    -Ray Muno


    On 9/29/21 10:54 AM, Jing Gong wrote:
     > 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 <users-boun...@lists.open-mpi.org 
<mailto:users-boun...@lists.open-mpi.org>> on
    behalf of Ray Muno via users
     > <users@lists.open-mpi.org <mailto:users@lists.open-mpi.org>>
     > *Sent:* Wednesday, September 29, 2021 17:22
     > *To:* Open MPI User's List
     > *Cc:* Ray Muno
     > *Subject:* Re: [OMPI users] OpenMPI 4.1.1, CentOS 7.9, nVidia HPC-SDk, 
build hints?
     > 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
    <https://github.com/open-mpi/ompi/issues/8919> 
<https://github.com/open-mpi/ompi/issues/8919
    <https://github.com/open-mpi/ompi/issues/8919>>
     >> <https://github.com/open-mpi/ompi/issues/8919 
<https://github.com/open-mpi/ompi/issues/8919>
    <https://github.com/open-mpi/ompi/issues/8919 
<https://github.com/open-mpi/ompi/issues/8919>>>.
     >>
     >>

     >
--
       Ray Muno
       IT Systems Administrator
       e-mail: m...@umn.edu <mailto:m...@umn.edu>

       University of Minnesota
       Aerospace Engineering and Mechanics



--

 Ray Muno
 IT Systems Administrator
 e-mail:   m...@umn.edu
 Phone:   (612) 625-9531

 University of Minnesota
 Aerospace Engineering and Mechanics
 110 Union St. S.E.
 Minneapolis, MN 55455

Reply via email to