Bug Report: JEMRIS Installation Issues with Sundials Versions 5.8.0 and 6.4.1

42 views
Skip to first unread message

Amélie St-Jean

unread,
Feb 28, 2025, 9:22:39 AM2/28/25
to JEMRIS
Hi Jemris team,

I am reaching out regarding an error encountered while installing JEMRIS version 2.9.2 on Ubuntu via WSL2 on Windows (Kernel: 5.15.167.4-microsoft-standard-WSL2). My system is using GCC 13.3.0 from Ubuntu 24.04.

Following the installation guide on the JEMRIS website, I attempted to build JEMRIS using Sundials 5.8.0 on WSL2. However, I encountered errors related to missing symbols (SUNContext, SUNContext_Create, and SUNContext_Free), which were introduced in Sundials 6.0.

To resolve this, I attempted to build JEMRIS with Sundials 6.4.1, but this resulted in different errors related to realtype, SUNComm, and function arguments passed to SUNContext_Create, leading to invalid conversions and compilation failures.

I would greatly appreciate any guidance on resolving this issue, particularly regarding which Sundials version is recommended for compatibility with the latest JEMRIS build. 

Thank you for your time and assistance.
Amélie St-Jean
Hamilton, ON, Canada

tony.s...@gmail.com

unread,
Mar 1, 2025, 4:11:45 AM3/1/25
to JEMRIS
Hi Amélie,
Sorry, the documentation on jemris.org is not up to date. JEMRIS 2.9.2 should compile with sundials version 6.4.1 (which is the default version in Ubuntu 24.04). Thus, the attempt with sundials 5.8 could not work. I will update the website. But I don't understand why it did not work when you tried using sundials 6.4.1, as this is exactly the version where it works on ubuntu as well as on my Mac. Could you double check? It should compile on a clean ubuntu 24.04 system. (The code incompatibility of different sundials versions is a challenge. It's a great library, but not easy to handle...)
Best,
Tony

Amélie St-Jean

unread,
Mar 9, 2025, 4:57:19 PM3/9/25
to JEMRIS

Hi Tony,

I appreciate your feedback. Following your suggestion, I compiled the JEMRIS program on a fresh Ubuntu 24.04 system, and the process completed successfully without any issues.

Thank you for your time.

Sincerely,
Amélie

Reply all
Reply to author
Forward
0 new messages