[sundials-users] SuperLUMT and Sundials

0 views
Skip to first unread message

David Halpern

unread,
Nov 26, 2025, 2:42:57 PM (10 days ago) Nov 26
to SUNDIAL...@listserv.llnl.gov
Hi,

I've been trying to build sundials with superlumt, and things fail each time. I've tried gnu and intel compilers, with the same outcome.  If using ccmake, I get errors like: ERROR: Could not find SuperLU_MT.  Please check the variables:

          SUPERLUMT_INCLUDE_DIR and SUPERLUMT_LIBRARY_DIR
I've typed the appropriate information but it still fails. I have also used cmake, using the command
cmake .. \
  -DCMAKE_INSTALL_PREFIX=/usr/local/sundials750-ifx \
  -DCMAKE_C_COMPILER=icx \
  -DCMAKE_Fortran_COMPILER=ifx \
  -DCMAKE_BUILD_TYPE=Release \
  -DBUILD_FORTRAN_MODULE_INTERFACE=ON \
  -DENABLE_OPENMP=ON \
  -DENABLE_LAPACK=ON \
  -DSUNDIALS_INDEX_SIZE=64 \
  -DENABLE_SUPERLUMT=ON \
  -DSUPERLUMT_INCLUDE_DIR=/usr/include/SuperLUMT \
  -DSUPERLUMT_LIBRARY=/usr/lib64/libsuperlumt_d.so \
  -DSUPERLUMT_THREAD_TYPE=Pthread \
  -DSUPERLUMT_WORKS=TRUE \
  -DBUILD_SUNLINSOL_SUPERLUMT=ON \
  -DEXAMPLES_ENABLE_C=OFF \
  -DEXAMPLES_ENABLE_CXX=OFF \
  -DEXAMPLES_ENABLE_F2003=OFF

This builds sundials libraries but there is nothing related to superlumt installed.  I can build with KLU, but I would rather use superlumt if possible.  

Also, I've had to switch off building fortran examples because they do not compile. This has been happened over the last few versions of Sundials, but this is not as critical.

Any suggestions would be appreciated.

Best regards,

David halpern

David Halpern, PhD

Professor

Department of Mathematics

University of Alabama

Tuscaloosa AL 35487



To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV

Balos, Cody

unread,
Nov 26, 2025, 2:46:29 PM (10 days ago) Nov 26
to SUNDIAL...@listserv.llnl.gov
Hi David,
 
What version of SuperLU MT are you using? It would be helpful if you supplied the CMakeCache.txt, CMakeOutput.log, and CMakeError.log files. 

Cody


Cody Balos
Computational Scientist
Lawrence Livermore National Laboratory

bal...@llnl.gov

7000 East Avenue, Livermore, CA 94550

www.llnl.gov

 

 

David Halpern

unread,
Dec 1, 2025, 11:38:58 AM (6 days ago) Dec 1
to SUNDIAL...@listserv.llnl.gov
Hi Cody:

The SuperLU_MT Fortran module interface is not built in SUNDIALS 7.5.0, even when properly configured with BUILD_FORTRAN_MODULE_INTERFACE=ON and ENABLE_SUPERLUMT=ON. The C library builds successfully, but the Fortran bindings (fsunlinsol_superlumt_mod.mod) are missing.

Environment
SUNDIALS Version: 7.5.0
Compilers:
Intel ifx (Fortran) 2024.x
Intel icx (C) 2024.x
Also tested with gfortran 11.x (same result)

OS:  Fedora 43
SuperLU_MT: From SuperLUMT-devel package version 4.0.3.

Headers: /usr/include/SuperLUMT/
Libraries: /usr/lib64/libsuperlumt_d.so

Cmake command used: cmake .. \
  -DCMAKE_INSTALL_PREFIX=/usr/local/sundials750-ifx \
  -DCMAKE_C_COMPILER=icx \
  -DCMAKE_Fortran_COMPILER=ifx \
  -DCMAKE_BUILD_TYPE=Release \
  -DBUILD_FORTRAN_MODULE_INTERFACE=ON \
  -DENABLE_OPENMP=ON \
  -DENABLE_LAPACK=ON \
  -DSUNDIALS_INDEX_SIZE=64 \
  -DENABLE_SUPERLUMT=ON \
  -DSUPERLUMT_INCLUDE_DIR=/usr/include/SuperLUMT \
  -DSUPERLUMT_LIBRARY=/usr/lib64/libsuperlumt_d.so \
  -DSUPERLUMT_THREAD_TYPE=Pthread \
  -DSUPERLUMT_WORKS=TRUE \
  -DEXAMPLES_ENABLE_C=OFF \
  -DEXAMPLES_ENABLE_CXX=OFF \
  -DEXAMPLES_ENABLE_F2003=OFF

Note that I also tried with gnu compilers.

Make and make install work but there is no fortran superlumt stuff in the installation directories. So when one tries to compile with superlumt, compile/errors appear because the compiler cannot find the modules since they were not built. I'm attaching the CMakeCache.txt file.

By the way, I had to disable the building of the examples, since the fortran ones do not compile.

Happy Thanksgiving!

Best regards,

David

David Halpern, PhD

Professor

Department of Mathematics

University of Alabama

Tuscaloosa AL 35487


From: sundial...@llnl.gov <sundial...@llnl.gov> on behalf of Balos, Cody <bal...@llnl.gov>
Sent: Wednesday, November 26, 2025 1:46 PM
To: SUNDIAL...@LISTSERV.LLNL.GOV <SUNDIAL...@LISTSERV.LLNL.GOV>
Subject: [EXTERNAL] Re: [sundials-users] SuperLUMT and Sundials
 
CMakeCache.txt

Balos, Cody

unread,
Dec 1, 2025, 11:42:07 AM (6 days ago) Dec 1
to SUNDIAL...@listserv.llnl.gov
Hi David,

The SuperLU_MT module does not have a Fortran interface. See https://sundials.readthedocs.io/en/latest/sundials/Fortran_link.html#id2 for the currently supported modules.

Regards,
Cody
Reply all
Reply to author
Forward
0 new messages