Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[sundials-users] location of lib files when building SUNDIALS 7.1.1 on Windows

5 views
Skip to first unread message

Mettupalayam Sivaselvan

unread,
Sep 17, 2024, 5:53:16 PM9/17/24
to SUNDIAL...@listserv.llnl.gov

Hi,

 

I am building SUNDIALS 7.1.1 on Windows using

 

cmake -G "Ninja" -B .\build\ -DCMAKE_C_COMPILER=icx -DBUILD_FORTRAN_MODULE_INTERFACE=ON -DCMAKE_Fortran_COMPILER=ifx -DBUILD_SHARED_LIBS=OFF

cmake --build .\build

 

The build completes successfully, but I am not able to locate the .lib files. Am I missing an install step? Could you please advise?

 

Thank you.

 

Siva



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

Balos, Cody

unread,
Sep 17, 2024, 5:59:58 PM9/17/24
to SUNDIAL...@listserv.llnl.gov

Hi Siva,

 

You have only built the libraries, not installed them. You will need to run cmake --build .\build  --target install to install the libraries.

 

Cody

Mettupalayam Sivaselvan

unread,
Sep 17, 2024, 7:07:50 PM9/17/24
to SUNDIAL...@listserv.llnl.gov

Hi Cody,

 

Thank you for your quick reply. That did the trick.

 

I am starting to use SUNDIALS (IDA in particular) seriously, and it is time I became more comfortable with cmake.

 

Thank you again.

 

Siva

Reply all
Reply to author
Forward
0 new messages