Installing Trilinos on windows

I am trying to include Trilinos in my project and I understood prior to that I need clapack library. I tried to install clapack and I was successful to build ALL_BUILD and INSTALL but when I tried to build RUN_TEST it failed.
I downloaded the clapack here https://www.netlib.org/clapack/clapack-3.2.1-CMAKE.tgz. Then unzipped it using 7zip, then using cmake I build the solution. during configuration I got numerous warnings in cmake which one of them is "Call Stack (most recent call first):
TESTING/CMakeLists.txt:293 (add_lapack_test) This warning is for project developers. Use -Wno-dev to suppress it."
consequently when I try to build trilinos library with this clapack I get thousands errors. Mostly these errors are because of kokkos header, then I turned the kokkos on when configuring using cmake but still no seccess.
Then I tried to build the LAPACK library but I encountered the same issue. Then I tried to use MINGW according the following steps,
1. Download lapack.tgz from here http://netlib.org/lapack/lapack.tgz
2. Open a command prompt
3. change directory to the location you extracted lapack
4. make a folder for the build using mkdir build
5. then change directory to the build folder
6. Now configure with CMake, cmake -G "MinGW Makefiles" -D BUILD_SHARED_LIBS=ON -D CMAKE_GNUtoMS=ON ..
7. Now use gnu make to build LAPACK, c:\MinGW\bin\mingw32-make.exe

Till step 6,everything goes well,but after c:\MinGW\bin\mingw32-make.exe I received the following error,
"mingwstartup.bat"' is not recognized as an internal or external command,
operable program or batch file."
I checked the bin path of mingw in the environmental variable and everything is fine.
I almost tried most of the configuration guide in google for several days but in all of them I encounter with different problems. I would be grateful if you could help me with this installation.
Last edited on
F -dat. try https://icl.cs.utk.edu/lapack-for-windows/lapack/ which has a link to already compiled libraries for windows that will work out of the box. Or dig around the web; there are other sources of pre-compiled libraries and someone should have a dll or lib you can use without all the hassle.

alternately you can use cygwin to compile it using the unix instructions, which may be a lot less work than tying to get windows instructions to work.

for step 6, if you want to proceed, find that batch file on your disk, and make sure that path is in your current, active path. Because that message sounds like it can't see the batch file.
Last edited on
Thanks for your answer. I'm still working on this but I haven't been able to get Trilinos working for my project.
did the compiled lapack work at least? one at a time... first you have to ensure the dependencies work, before the one that needs them...
or if you did one of the other ideas, what did you try, and what is the issue?
Last edited on
Topic archived. No new replies allowed.