6/27/2023 0 Comments Macports petsc![]() Then, I used the same command as in the configuring procedure of the port file (shown when starting port -v install petsc).Īnd it works without errors. To do so, I just had to add the correct PETSC_DIR (the working directory) to the environment variables and add the "-with-fc=/opt/local/bin/openmpif90" option to the configure command. So I tried to do the configuring manually within the working directory. ![]() When I run "port install petsc" it always stops in the configure phase. I don't know the first thing about port files, but while playing around i found the working directory and the port status file. Sudo port install petsc +hdf5 +triangle +debug UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):įortran could not successfully link C++ objects In gfortran -o conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -PIC -Wall -Wno-unused-variable -g conftest.o cxxobj.o confc.o -ldl -lsz Possible ERROR while running linker: Undefined symbols: Sh: gfortran -o conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -PIC -Wall -Wno-unused-variable -g conftest.o cxxobj.o confc.o -ldl -lszĮxecuting: gfortran -o conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -PIC -Wall -Wno-unused-variable -g conftest.o cxxobj.o confc.o -ldl -lsz ![]() Sh: gfortran -c -o conftest.o -PIC -Wall -Wno-unused-variable -g conftest.FĮxecuting: gfortran -c -o conftest.o -PIC -Wall -Wno-unused-variable -g conftest.F PETSc doesn't compile on MacOSX 10.6 due to some linking problem with mixed C++ and Fortran objects (full logs are attached):
0 Comments
Leave a Reply. |