Julien Dehos 7 jaren geleden
bovenliggende
commit
64c7024cf6
2 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 2 1
      README.md
  2. 1 1
      pah/CMakeLists.txt

+ 2 - 1
README.md

@@ -1,5 +1,6 @@
 ```
 ml purge
+ml load GCC
 
 mkdir -p ~/tmp
 export MYPATH=$HOME/opt/module_sucks
@@ -13,7 +14,7 @@ cd ~/tmp
 wget http://github.com/xianyi/OpenBLAS/archive/v0.2.20.tar.gz
 tar zxf v0.2.20.tar.gz
 cd OpenBLAS-0.2.20/
-make -j16 DYNAMIC_ARCH=1 
+make -j16 DYNAMIC_ARCH=1 NO_LAPACK=0 NO_LAPACKE=0 NO_SHARED=1
 make PREFIX=$MYPATH install
 
 cd ~/tmp

+ 1 - 1
pah/CMakeLists.txt

@@ -2,7 +2,7 @@ cmake_minimum_required( VERSION 3.0 )
 project( main )
 
 find_package( PkgConfig REQUIRED )
-pkg_check_modules( MYPKGS REQUIRED armadillo )
+pkg_check_modules( MYPKGS REQUIRED lapack armadillo )
 include_directories( ${MYPKGS_INCLUDE_DIRS} )
 
 add_library( toto STATIC toto.cpp )