Commit 255f1cc8 authored by Friedrich Boeing's avatar Friedrich Boeing

Merge branch 'cmake_lapack' into 'develop'

Cmake lapack

See merge request !4
parents fe0ab9f2 3c7a6fea
......@@ -63,7 +63,7 @@ endif()
if (CMAKE_WITH_LAPACK)
# find if there is an LAPACK library on the system and if so, set corresponding variables
find_package(LAPACK)
find_package(LAPACK)
if (NOT ${LAPACK_FOUND})
message(FATAL_ERROR "lapack required but not found")
endif()
......
......@@ -70,10 +70,17 @@ right dependencies, potentially use corresponding wiki pages.
#### On eve (the cluster at the UFZ):
From 2020 onward the software is installed in toolchains, where all included software specific compilers
From the source directory use a script provided in `moduleLoadScripts`,
for example for the GNU 7.3 compiler:
source moduleLoadScripts/eve.gfortran73
for intel use
source moduleLoadScripts/eve.intel[version]
ATTENTION!: in intel cmake cannot find LAPACK and BLAS Libraries, the paths need to be set manually by
cmake -DLAPACK_LIBRARIES=$MKLROOT/lib/intel64/libmkl.so -DBLAS_LIBRARIES=$MKLROOT/lib/intel64/libmkl.so ..
### MacOS:
......
module purge
module load foss/2018b
module load netCDF-Fortran
module load CMake
export FC=gfortran
module purge
module load foss/2018b
module load netCDF-Fortran
module load CMake
export FC=mpif90
module purge
module load foss/2019b
module load netCDF-Fortran
module load CMake
export FC=gfortran
module purge
module load foss/2019b
module load netCDF-Fortran
module load CMake
export FC=mpif90
module purge
module load iomkl/2018b
module load netCDF-Fortran
module load CMake
export FC=ifort
module purge
module load iomkl/2018b
module load netCDF-Fortran
module load CMake
export FC=mpifort
module purge
module load iomkl/2020a
module load netCDF-Fortran
module load CMake
export FC=ifort
module purge
module load NAGfor/6.2.14
module load netcdf-fortran/4.4.5-NAG-6.2.14-GCC-7.3.0-2.30-1
module load CMake
export FC=nagfor
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH":/usr/lib64"
\ No newline at end of file
# source ~/source_code/loadscripts/bashsetup
module purge
module load GCC ParaStationMPI
module load netCDF-Fortran/4.4.4
module load CMake
export FC=mpif90
# source ~/source_code/loadscripts/bashsetup
module purge
module load Intel ParaStationMPI
module load netCDF-Fortran/4.4.5
module load CMake
export FC=mpif90
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment