![]() ![]() > last bit of this command is path to sourceĬMake Error at /usr/share/cmake/Modules/FindBLAS.cmake:594 (message):Ī required library with BLAS API not found. Thank you, and any help would be appreciated The on screen output of cmake (running cmake from a clean build directory) is at the end of this post in case it helps. The text is blue are my notes on what I've done. I've worked through what they suggest starting at point 4) as I'm using CentOS. The text in black is from the post (above) by the Elmer team. I think it boils down to cmake, for some reason, not finding libraries. Apologies, however, if my question is still obvious. So, I have tried a few things (e.g., scripts and manual installs), and have looked around a fair amount. ompilation) I have taken a rather meandering route here, with many dead ends. We can only study bug reports that are based an a relatively fresh installation! Also CAELinux installation is rather old. For example, the default version you get with apt-get is problematic. Warning: Be aware there are many outdated distributions for Elmer. # finally you may test the newly compiled Elmer version # or alternatively compile in parallel (4 procs) # Alternatively, you can tune the compilation parameters graphically with # Cmake configures things, if it does not find something (e.g., lapack), you can help it by $ cmake -DWITH_ELMERGUI:BOOL=FALSE -DWITH_MPI:BOOL=FALSE -DCMAKE_INSTALL_PREFIX=./install. Git clone git:// # create build directory # Create directory where to download things We mainly use this on courses.Ĥ) Compile yourself from the source files using cmake and the source codes at github (devel branch): The VM is huge in size but provides a certified user experience. $ sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa This is updated to the sf.net also accationally.Ģ) The is a Linux version at launchpad that can be used on Ubuntu and Debian based systems There is a nightly build both with and without mpi. Here is a summary of the possible options: However, most distributions that we support are currently already created using the cmake version. While most things work already better under cmake we haven't completely jumped to the wagon yet. You can type ``cmake -help'' to see on your platform which compilers are ready for use.Īfter finishing the above, `train.exe' and `predict.exe' will be built in the directory `Release'.Elmer project is still on the transition period from svn/gnu autotools to git/cmake. And select `Add CMake to the system PATH for All users' option when installing.įor the usage on Windows, CMake GUI works, but for simplicity weĬmake CMakeLists.txt -G "Visual Studio 16 2019" On Windows system, please download the CMake installer with the extension. '' and ``make'' to build the `train' and `predict'. ![]() In the first CMakeLists.txt file, the version number in cmake_minimum_required (VERSION 3.16.3) can be modified. Respectively put them into `liblinear' and `liblinear/blas' directories. ![]() Q: How can I use CMake to build LIBLINEAR? ![]()
0 Comments
Leave a Reply. |