Re: [petsc-dev] MPI shared library check broken for a very long time !!!!!!!
"Smith, Barry F." writes: > 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. Can we delete it/ $ git grep '\.shared\b' config config/BuildSystem/config/packages/MPI.py:self.shared = 0 config/BuildSystem/config/packages/MPI.py: self.shared = self.libraries.checkShared('#include \n','MPI_Init','MPI_Initialized','MPI_Finalize',checkLink = self.checkPackageLink,libraries = self.lib, defaultArg = 'known-mpi-shared-libraries', executor = self.mpiexec) config/BuildSystem/config/packages/MPI.py: self.shared = 0
Re: [petsc-dev] MPI shared library check broken for a very long time !!!!!!!
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 wrote: > > Does this mean we've been incorrectly identifying shared libraries all this > time? > > "Smith, Barry F. via petsc-dev" 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_hpl0jbpv51phgn/T/petsc-5Abny2/config.libraries/conftest >> sh: /Users/barrysmith/soft/gnu-gfortran/bin/mpiexec >> /var/folders/y5/5_h50n196d3_hpl0jbpv51phgn/T/petsc-5Abny2/config.libraries/conftest >> Executing: /Users/barrysmith/soft/gnu-gfortran/bin/mpiexec >> /var/folders/y5/5_h50n196d3_hpl0jbpv51phgn/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_hpl0jbpv51phgn/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.
Re: [petsc-dev] MPI shared library check broken for a very long time !!!!!!!
Does this mean we've been incorrectly identifying shared libraries all this time? "Smith, Barry F. via petsc-dev" 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_hpl0jbpv51phgn/T/petsc-5Abny2/config.libraries/conftest > sh: /Users/barrysmith/soft/gnu-gfortran/bin/mpiexec > /var/folders/y5/5_h50n196d3_hpl0jbpv51phgn/T/petsc-5Abny2/config.libraries/conftest > Executing: /Users/barrysmith/soft/gnu-gfortran/bin/mpiexec > /var/folders/y5/5_h50n196d3_hpl0jbpv51phgn/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_hpl0jbpv51phgn/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.