Dear all,
I am a new user of SUNDIALS suite. I am facing installation issues of the suite on Windows. I followed the installation guide using cmake-gui and Visual Studio Command Prompt. I’m using cmake version 3.29.0. The generator I used is visual studio 2022. Following the generation step, the execution of msbuild ALL_BUILD.vcxproj and msbuild INSTALL.vcxproj commands did not produce the libraries and header files in the INSTDIR, it ran but produced errors instead.
Please let me know, where am I going wrong and how I can resolve the problem.
Best Regards
Francis Pako
To unsubscribe from the SUNDIALS-USERS list: write to: mailto:SUNDIALS-USERS-...@LISTSERV.LLNL.GOV
Hi Francis,
Can you post a snippet of the errors that you saw? Try building static libraries only by setting the cmake option BUILD_SHARED_LIBS to OFF and BUILD_STATIC_LIBS to ON.
Best,
Cody
--
Cody Balos
Computational Scientist
Center for Applied Scientific Computing
Lawrence Livermore National Laboratory
Hi Mohamed,
SUNDIALS is a library that is meant to be called from other programs. It does not have a GUI interface. We also do not have a MATLAB interface currently. One way to use SUNDIALS is to call it from a simple C program like this example code: https://github.com/LLNL/sundials/blob/main/examples/cvode/serial/cvAdvDiff_bnd.c.
Hi Mohamed,
Since you are on Windows the rt and POSIX FAILED output is to be expected. You should still be able to proceed to the next step (compiling the library).
Regards,
Cody
From:
sundials-users <sundial...@llnl.gov> on behalf of Mohamed Elshami <00002a9c4ba2e96...@LISTSERV.LLNL.GOV>
Date: Monday, August 5, 2024 at 9:10 AM
To: sundials-users <sundial...@llnl.gov>
Subject: Re: [sundials-users] Installation issue with SUNDIALS v6.7.0 on Windows
I am facing the same problem. I tried this suggestion
by setting the cmake option BUILD_SHARED_LIBS to OFF and BUILD_STATIC_LIBS to ON.
the instdir is still empty no modules generated, the following screen from cmake
...
Mohamed,
You say that the INSTDIR is still empty, but this should only be populated after you run `make install` (the exact `make` command may depend on your mingw setup) after the CMake generate step.