Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trilinos14.0.0をOpenBLASを使ってコンパイルした時にエラー #602

Open
t-sakashita opened this issue May 18, 2023 · 2 comments
Assignees

Comments

@t-sakashita
Copy link
Owner

[ 17%] Linking CXX shared library libepetra.dylib
cd /Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/epetra/src && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/epetra.dir/link.txt --verbose=1
/opt/local/bin/mpicxx -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk -mmacosx-version-min=11.7 -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 14.0.0 -current_version 14.0.0 -o libepetra.14.0.dylib -install_name @rpath/libepetra.14.dylib CMakeFiles/epetra.dir/Epetra_BLAS.cpp.o CMakeFiles/epetra.dir/Epetra_BasicDirectory.cpp.o CMakeFiles/epetra.dir/Epetra_BasicRowMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_BlockMap.cpp.o CMakeFiles/epetra.dir/Epetra_BlockMapData.cpp.o CMakeFiles/epetra.dir/Epetra_C_wrappers.cpp.o CMakeFiles/epetra.dir/Epetra_CompObject.cpp.o CMakeFiles/epetra.dir/Epetra_CrsGraph.cpp.o CMakeFiles/epetra.dir/Epetra_CrsGraphData.cpp.o CMakeFiles/epetra.dir/Epetra_CrsMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_CrsSingletonFilter.cpp.o CMakeFiles/epetra.dir/Epetra_Data.cpp.o CMakeFiles/epetra.dir/Epetra_DistObject.cpp.o CMakeFiles/epetra.dir/Epetra_Export.cpp.o CMakeFiles/epetra.dir/Epetra_FECrsGraph.cpp.o CMakeFiles/epetra.dir/Epetra_FECrsMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_FEVbrMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_FEVector.cpp.o CMakeFiles/epetra.dir/Epetra_Flops.cpp.o CMakeFiles/epetra.dir/Epetra_Fortran_wrappers.cpp.o CMakeFiles/epetra.dir/Epetra_Import.cpp.o CMakeFiles/epetra.dir/Epetra_Import_Util.cpp.o CMakeFiles/epetra.dir/Epetra_IntMultiVector.cpp.o CMakeFiles/epetra.dir/Epetra_IntSerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_IntSerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_IntVector.cpp.o CMakeFiles/epetra.dir/Epetra_JadMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_LAPACK.cpp.o CMakeFiles/epetra.dir/Epetra_LinearProblem.cpp.o CMakeFiles/epetra.dir/Epetra_LocalMap.cpp.o CMakeFiles/epetra.dir/Epetra_Map.cpp.o CMakeFiles/epetra.dir/Epetra_MapColoring.cpp.o CMakeFiles/epetra.dir/Epetra_MultiVector.cpp.o CMakeFiles/epetra.dir/Epetra_Object.cpp.o CMakeFiles/epetra.dir/Epetra_OffsetIndex.cpp.o CMakeFiles/epetra.dir/Epetra_RowMatrixTransposer.cpp.o CMakeFiles/epetra.dir/Epetra_SerialComm.cpp.o CMakeFiles/epetra.dir/Epetra_SerialCommData.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseSVD.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseSolver.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_SerialDistributor.cpp.o CMakeFiles/epetra.dir/Epetra_SerialSpdDenseSolver.cpp.o CMakeFiles/epetra.dir/Epetra_SerialSymDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_Time.cpp.o CMakeFiles/epetra.dir/Epetra_Util.cpp.o CMakeFiles/epetra.dir/Epetra_VbrMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_Vector.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongSerialDenseMatrix.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongSerialDenseVector.cpp.o CMakeFiles/epetra.dir/Epetra_LongLongVector.cpp.o CMakeFiles/epetra.dir/Epetra_dcrsmm.f.o CMakeFiles/epetra.dir/Epetra_dcrsmv.f.o CMakeFiles/epetra.dir/Epetra_dcrssm.f.o CMakeFiles/epetra.dir/Epetra_dcrssv.f.o CMakeFiles/epetra.dir/Epetra_MpiComm.cpp.o CMakeFiles/epetra.dir/Epetra_MpiCommData.cpp.o CMakeFiles/epetra.dir/Epetra_MpiDistributor.cpp.o   -L/opt/local/lib/gcc12/gcc/x86_64-apple-darwin20/12.3.0  -L/opt/local/lib/gcc12  -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/teuchos/numerics/src -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/teuchos/remainder/src -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/teuchos/kokkoscomm/src -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/teuchos/comm/src -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/teuchos/kokkoscompat/src -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/teuchos/parameterlist/src -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/teuchos/parser/src -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/teuchos/core/src -Wl,-rpath,/Users/sakashitatatsuya/build/trilinos-14.0.0-build-Release/packages/kokkos/core/src ../../teuchos/numerics/src/libteuchosnumerics.14.0.dylib /opt/local/lib/libopenblas.dylib /opt/local/lib/libopenblas.dylib ../../teuchos/remainder/src/libteuchosremainder.14.0.dylib ../../teuchos/kokkoscomm/src/libteuchoskokkoscomm.14.0.dylib ../../teuchos/comm/src/libteuchoscomm.14.0.dylib ../../teuchos/kokkoscompat/src/libteuchoskokkoscompat.14.0.dylib ../../teuchos/parameterlist/src/libteuchosparameterlist.14.0.dylib ../../teuchos/parser/src/libteuchosparser.14.0.dylib ../../teuchos/core/src/libteuchoscore.14.0.dylib ../../kokkos/core/src/libkokkoscore.14.0.dylib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libdl.tbd -lmpifort -lgfortran -lgcc_s.1.1 -lgcc -lquadmath -lgcc_s.1.1 -lgcc 
Undefined symbols for architecture x86_64:
  "_dggsvd_", referenced from:
      Epetra_LAPACK::GGSVD(char, char, char, int, int, int, int*, int*, double*, int, double*, int, double*, double*, double*, int, double*, int, double*, int, double*, int*, int*) const in Epetra_LAPACK.cpp.o
  "_sggsvd_", referenced from:
      Epetra_LAPACK::GGSVD(char, char, char, int, int, int, int*, int*, float*, int, float*, int, float*, float*, float*, int, float*, int, float*, int, float*, int*, int*) const in Epetra_LAPACK.cpp.o
ld: symbol(s) not found for architecture x86_64
@t-sakashita t-sakashita self-assigned this May 18, 2023
@t-sakashita
Copy link
Owner Author

リンクエラーとなったdggsvd関数は、deprecatedらしい。
https://www.eidos.ic.i.u-tokyo.ac.jp/~tau/lecture/parallel_distributed/2016/examples/09mm/OpenBLAS/lapack-netlib/SRC/DEPRECATED/

@t-sakashita
Copy link
Owner Author

t-sakashita commented May 18, 2023

Trilinos 13.4.1のインストールは成功した。
30ee94c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant