exodiff: attempted static link of dynamic object
Created by: jbakosi
I get this linking error, on BlueGene/Q (mira at ANL), arch: powerpc, attempting to link exodiff
:
attempted static link of dynamic object `../../libraries/suplib_cpp/libsuplib_cpp.so.12.8.1'
My BG/Q envorinment:
soft add +mpiwrapper-gcc soft add +mpiwrapper-bgclang export HDF5_ROOT=/soft/libraries/hdf5/current/cnk-gcc/current export NETCDF_DIR=/soft/libraries/netcdf/current/cnk-gcc/current
My cmake
command:
/soft/buildtools/cmake/3.5.2/bin/cmake -D Trilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-D TPL_ENABLE_MPI:BOOL=ON -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF \
-D Trilinos_ENABLE_Zoltan2:BOOL=ON -D Zoltan2_ENABLE_Experimental:BOOL=ON \
-D Trilinos_ENABLE_SECONDARY_STABLE_CODE:BOOL=ON \
-D Trilinos_ENABLE_SEACASExodus:BOOL=ON -D Trilinos_ENABLE_SEACASExodiff:BOOL=ON \
-D Trilinos_ENABLE_Fortran=OFF -D Trilinos_ENABLE_DEBUG=OFF -DBUILD_SHARED_LIBS=ON \
-D TPL_ENABLE_Netcdf:BOOL=ON \
-D Netcdf_LIBRARY_DIRS:PATH=/soft/libraries/netcdf/current/cnk-gcc/current/lib \
-D TPL_Netcdf_INCLUDE_DIRS:PATH=/soft/libraries/netcdf/current/cnk-gcc/current/include \
-D CMAKE_INSTALL_RPATH:PATH=/home/jbakosi/code/quinoa/tpl/install/clang-ppc64/lib \
-D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D CMAKE_C_COMPILER:PATH=/soft/compilers/bgclang/mpi/bgclang/bin/mpicc \
-D CMAKE_CXX_COMPILER:PATH=/soft/compilers/bgclang/mpi/bgclang/bin/mpicxx \
-D CMAKE_C_FLAGS:STRING="-Wno-error=return-type -O3 -DNDEBUG" \
-D CMAKE_CXX_FLAGS:STRING="-O3 -DNDEBUG" \
-DBLAS_LIBRARY_DIRS=/home/jbakosi/code/quinoa/tpl/install/clang-ppc64/lib \
-DLAPACK_LIBRARY_DIRS=/home/jbakosi/code/quinoa/tpl/install/clang-ppc64/lib64 ~/code/quinoa/tpl/src/trilinos
Note that this is tag trilinos-release-12-8-1.
Any help is appreciated.