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.