[petsc-dev] macOS $ ./ex69 dyld[93174]: symbol not found in flat namespace '___mumps_ana_ord_wrappers_MOD_mumps_metis_nodend_mixedto32' Abort trap: 6

Barry Smith bsmith at petsc.dev
Wed Jul 13 21:11:01 CDT 2022


PETSc main 

$ ./ex69
dyld[95838]: symbol not found in flat namespace '___mumps_ana_ord_wrappers_MOD_mumps_metis_nodend_mixedto32'
Abort trap: 6
~/Src/petsc/src/snes/tutorials

 nm -o ex69 | grep mumps_ana_ord_wrappers_MOD_mumps_metis_nodend_mixedto32
ex69:                  U ___mumps_ana_ord_wrappers_MOD_mumps_metis_nodend_mixedto32

but the symbol is in 

$ nm -o /Users/barrysmith/Src/petsc/arch-fix-fieldsplit-recall-setfromoptions/lib/libpetsc.3.017.dylib | grep mumps_ana_ord_wrappers_MOD_mumps_metis_nodend_mixedto32
/Users/barrysmith/Src/petsc/arch-fix-fieldsplit-recall-setfromoptions/lib/libpetsc.3.017.dylib: 0000000002ae6991 T ___mumps_ana_ord_wrappers_MOD_mumps_metis_nodend_mixedto32


Is this due to some recent change in the macOS compiler infrastructure?

Everything on my system is what I believe to be the latest

$ clang -v
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: x86_64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
~/Src/petsc/src/snes/tutorials (barry/2022-07-13/fix-fieldsplit-recall-setfromoptions=) arch-fix-fieldsplit-recall-setfromoptions
$ uname -a
Darwin Barry-Smiths-MacBook-Pro.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 x86_64
~/Src/petsc/src/snes/tutorials (barry/2022-07-13/fix-fieldsplit-recall-setfromoptions=) arch-fix-fieldsplit-recall-setfromoptions
$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/11.3.0_2/bin/../libexec/gcc/x86_64-apple-darwin21/11/lto-wrapper
Target: x86_64-apple-darwin21
Configured with: ../configure --prefix=/usr/local/opt/gcc --libdir=/usr/local/opt/gcc/lib/gcc/11 --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c++,objc,obj-c++,fortran,d --program-suffix=-11 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-zstd=/usr/local/opt/zstd --with-pkgversion='Homebrew GCC 11.3.0_2' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --enable-libphobos --build=x86_64-apple-darwin21 --with-system-zlib --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (Homebrew GCC 11.3.0_2) 

google finds [petsc-dev] problem in PETSc.pc filehttps://lists.mcs.anl.gov › petsc-dev › 2017-August <https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwjYmOmbpff4AhWApokEHRuXDY8QFnoECAMQAQ&url=https%3A%2F%2Flists.mcs.anl.gov%2Fpipermail%2Fpetsc-dev%2F2017-August%2F021244.html&usg=AOvVaw11zefHwBv_vttSC6cC_-aD> How to build? - The Mail Archivehttps://www.mail-archive.com › msg00411 <https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjYmOmbpff4AhWApokEHRuXDY8QFnoECAQQAQ&url=https%3A%2F%2Fwww.mail-archive.com%2Fgetfem-users%40nongnu.org%2Fmsg00411.html&usg=AOvVaw0SKHPTHrFgzmWHwNCXi12K>


Something about gfortran modules and namespace and ????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20220713/9278d9c6/attachment-0001.html>


More information about the petsc-dev mailing list