deal.II TRILINOS_WITH_SEACAS fail

58 views
Skip to first unread message

Gregory Christian

unread,
Jan 8, 2025, 5:49:43 AM1/8/25
to deal.II User Group
Hi all,

I'm trying to build and install dealii with SEACAS to use the read_exodusii() function in GridIn, but I don't seem to be having much luck.


Build info: 
Trilinos v13.2 and dealii v9.6
Using candi with the following amended trilinos.package cmake installation instructions:
      -D Trilinos_ENABLE_SEACAS=ON \
      -D Trilinos_ENABLE_SEACASExodus=ON \
Error on the dealii side:
-- Performing Test TRILINOS_SEACAS_IS_FUNCTIONAL
-- Performing Test TRILINOS_SEACAS_IS_FUNCTIONAL - Failed
-- SEACAS was found but doesn't seem to include ExodusII. Disabling SEACAS support.

However Trilinos builds just fine, however I think SEACAS_ENABLE_TESTS='''""". Unsure if dealii checks this or if there is linker missing in the dealii cmake file.

Best,
Greg

Wolfgang Bangerth

unread,
Jan 8, 2025, 11:10:19 AM1/8/25
to dea...@googlegroups.com
On 1/8/25 03:49, Gregory Christian wrote:
> Error on the dealii side:
> -- Performing Test TRILINOS_SEACAS_IS_FUNCTIONAL
> -- Performing Test TRILINOS_SEACAS_IS_FUNCTIONAL - Failed
> -- SEACAS was found but doesn't seem to include ExodusII. Disabling SEACAS
> support.

Greg:
I have nothing of substance to offer here other than perhaps trying to find
out why the deal.II check fails (i.e., what functionality is missing) and then
working backward trying to find out *why* it is missing from your Trilinos
installation.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/


Mahdi Gharehbaygloo

unread,
Jan 8, 2025, 1:40:42 PM1/8/25
to dea...@googlegroups.com
Hi Greg,

What Wolfgang suggested is definitely the best way to figure out and fix the issue. I just wanted to add a few suggestions that might help or at least give you a starting point. These aren’t guaranteed fixes, but they might address some common errors you might run into while troubleshooting. As Wolfgang said, you may need to dig a bit deeper depending on what you find.


  1. Check if ExodusII is properly installed and part of Trilinos. The message that you posted says it’s installed, but it’s worth double-checking. If it’s missing, you’ll need to include it during the Trilinos build. Use the option -D Trilinos_ENABLE_SEACAS=ON -D Trilinos_ENABLE_SEACASExodus=ON along with other options and your Trilinos source path when running CMake.

  2. Look in your Trilinos installation directory. Check if these files exist: libexodus.a or libexodus.so and libnetcdf.a or libnetcdf.so.

  3. Make sure NetCDF and HDF5 are installed and visible to Trilinos. In my experience, this is usually where things go wrong. If Trilinos can’t find these dependencies, you might need to explicitly provide their paths during the build. Use something like -D TPL_ENABLE_Netcdf=ON -D TPL_Netcdf_INCLUDE_DIRS=/path/to/netcdf/include -D TPL_Netcdf_LIBRARIES=/path/to/netcdf/lib/libnetcdf.so.

  4. Rebuild Trilinos if needed. If any of the above checks fail, you’ll probably need to rebuild Trilinos after fixing the missing pieces. During the Trilinos build, look for these messages to confirm everything is set up correctly: SEACAS enabled: YES and Exodus enabled: YES.

  5. Clear your build directory before rebuilding. I’ve had issues in the past where cached settings caused problems, even after fixing things. Clearing the build directory and starting fresh usually helps.

  6. Enable verbose output for more details. If the problem persists, you can turn on verbose output to get more information during the build. Add the option -DCMAKE_VERBOSE_MAKEFILE=ON to your CMake configuration. This will show you exactly what’s happening and might help pinpoint where the issue is.

You can find more details on TRILINOS installation here: https://www.dealii.org/current/external-libs/trilinos.html

If you still run into problems, feel free to share the specific errors or logs, and we can take another look together. Hope this helps!

Best,
Mahdi


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dealii/4e101e8e-cbc6-49ac-8bc2-e1738c41edcd%40colostate.edu.

Gregory Christian

unread,
Jan 13, 2025, 5:44:45 AM1/13/25
to deal.II User Group
Hi all,

Thanks for the replies! I had a go with spack instead and that seemed to do the trick.

Best,
Greg
Reply all
Reply to author
Forward
0 new messages