[petsc-dev] MPI shared library check broken for a very long time !!!!!!!
Smith, Barry F.
bsmith at mcs.anl.gov
Mon Jul 29 23:13:53 CDT 2019
I don't know what it means.
I just know that for several years the result of the test said the MPI libraries were not shared. I don't think that changed anything the rest of configure did.
I don't think we have been checking other libraries as shared or not for many years (maybe ever). Just checking MPI and concluding it was not.
Barry
> On Jul 29, 2019, at 11:05 PM, Jed Brown <jed at jedbrown.org> wrote:
>
> Does this mean we've been incorrectly identifying shared libraries all this time?
>
> "Smith, Barry F. via petsc-dev" <petsc-dev at mcs.anl.gov> writes:
>
>> Jed and Matt,
>>
>> I have two problems with the MPI shared library check goes back to at least 3.5
>>
>> 1) Executing: /Users/barrysmith/soft/gnu-gfortran/bin/mpiexec /var/folders/y5/5_h50n196d3_hpl0jbpv51ph0000gn/T/petsc-5Abny2/config.libraries/conftest
>> sh: /Users/barrysmith/soft/gnu-gfortran/bin/mpiexec /var/folders/y5/5_h50n196d3_hpl0jbpv51ph0000gn/T/petsc-5Abny2/config.libraries/conftest
>> Executing: /Users/barrysmith/soft/gnu-gfortran/bin/mpiexec /var/folders/y5/5_h50n196d3_hpl0jbpv51ph0000gn/T/petsc-5Abny2/config.libraries/conftest
>> sh:
>> ERROR while running executable: Could not execute "/Users/barrysmith/soft/gnu-gfortran/bin/mpiexec /var/folders/y5/5_h50n196d3_hpl0jbpv51ph0000gn/T/petsc-5Abny2/config.libraries/conftest":
>> Could not find initialization function
>>
>> This is due to the visibility flag being passed in building the test libraries hence symbol not visible form outside
>>
>> 2) If you turn off the visibility flag with ./configure --with-visibility=0 then the problem becomes
>>
>> Could not find initialization check function
>>
>> I could not figure out why this fails. Not related to visibility
>>
>> Both gnu and clang compilers.
More information about the petsc-dev
mailing list