Replies: 1 comment 1 reply
-
Hi, Our Trilinos support is definitely a bit out of date. Looking at m4/trilinos.m4, it looks like the last time we seriously tried to support it was Trilinos 11 (?) and you are trying to use Trilinos 12 so that could be one cause of your issues. Based on the linking errors you are getting, I think you are on the right track in trying to add more libraries on the link line, but unfortunately Trilinos is a large library and difficult to link against... I would try and see if there is some type of -- |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goal
Run the example program Solution Transfer: Transfer Solution From One Mesh to Another successfully.
Plan
Done
DTK_MeshContainer.hpp
)mkdir build && cd build
)Makefile.export.trilnos
is not found in$HOME/soft/Trilinos_diy
. I copy theMakefile
in the build directory to the install directory and rename itMakefile.export.trilnos
, since I know the libmesh configure needs this file to check trilinos.../configure --with-trilinos=$HOME/soft/Trilinos_diy
and build.Problem
CXXLD fparser_parse-opt
causescollect2: error: ld returned 1 exit status
:there are still many lines but they are omitted for brief, the whole log link is here.
make -n
to show the command and try to manully link it to the trilinos lib:with the following added
-L$HOME/soft/Trilinos_diy/lib -lclassic_dtk -lintrepid -lstk_mesh_fixtures -lteuchoscomm -ltpetra -lIogn -ldtk_basicgeometryadapters -lio_info_lib -lstk_ngp_test -lteuchoscore -ltpetraclassic -lIogs -ldtk_c_api -lkokkosalgorithms -lstk_topology -lteuchoskokkoscomm -ltpetraclassiclinalg -lIohb -ldtk_fortran_api -lkokkoscontainers -lstk_unit_test_utils -lteuchoskokkoscompat -ltpetraclassicnodeapi -lIonit -ldtk_interface -lkokkoscore -lstk_util_command_line -lteuchosnumerics -ltpetraext -lIoss -ldtk_intrepidadapters -lkokkoskernels -lstk_util_diag -lteuchosparameterlist -ltpetrainout -lIotm -ldtk_operators -lrtop -lstk_util_env -lteuchosparser -ltriutils -lIotr -ldtk_stkmeshadapters -lsacado -lstk_util_parallel -lteuchosremainder -lIovs -ldtk_utils -lshards -lstk_util_registry -lthyracore -lbelos -lepetra -lstk_io -lstk_util_util -lthyraepetra -lbelosepetra -lepetraext -lstk_io_util -lstratimikos -lthyraepetraext -lbelostpetra -lgtest -lstk_mesh_base -lstratimikosbelos -lthyratpetra
Unfortunately, I still failed and record the log.
HELP
I currently need Solution Transfer urgently. Could someone help me how to deal with this or show me how to install libmesh with dtk? Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions