Difference between revisions of "LAPACK"
From PHASTA Wiki
					
										
					
					 (Created page with "== Download and Build LAPACK == 1. Download LAPACK tarball from http://netlib.org/lapack/ and extract the files to the desired folder with <code> tar -xf <name_of_tarball> </c...")  | 
			
(No difference) 
 | 
Revision as of 14:41, 15 April 2021
Download and Build LAPACK
1. Download LAPACK tarball from http://netlib.org/lapack/ and extract the files to the desired folder with  tar -xf <name_of_tarball> . Note that for the current method, the location of the unpacked folder does not need to be within the PHASTA source directory.
 cp <lapack_dir>/make.inc.example <lapack_dir>/make.inc 
2. Create a build directory at the same level as the LAPACK folder and execute the following build script within the build directory:
- !/bin/bash
 
cmake \ -DCMAKE_C_COMPILER=gcc \ -DCMAKE_Fortran_COMPILER=gfortran \ -DCMAKE_BUILD_TYPE=Release \ ../<lapack_dir>