OpenBLAS¶
OpenBLAS contains BLAS and LAPACK
Tachyon - Centos 6.8¶
LLVM 17 (inuse)¶
cd /home1/p001cao/0SourceCode/tooldev
# git clone https://github.com/xianyi/OpenBLAS.git openBLAS
cd openBLAS
git pull origin develop
rm -rf build && mkdir build && cd build
module load tooldev/cmake-3.27
module load compiler/llvm-17
myLLVM=/home1/p001cao/app/compiler/llvm-17
export PATH=$myLLVM/bin:$PATH
export CC=clang export CXX=clang++ export FC=$myGCC/bin/gfortran
export LDFLAGS="-fuse-ld=lld -lrt"
myPREFIX=/home1/p001cao/app/tooldev/openBLAS0.3.23-clang17
cmake .. -DBUILD_SHARED_LIBS=on -DCMAKE_INSTALL_PREFIX=$myPREFIX
make -j 16 && make install
GCC 9¶
module load tooldev/cmake-3.27
module load compiler/gcc-9.5
myGCC=/home2/app/compiler/gcc/9.5.0
export PATH=$myGCC/bin:$PATH
export CC=$myGCC/bin/gcc export CXX=$myGCC/bin/g++ export FC=$myGCC/bin/gfortran
myPREFIX=/home1/p001cao/app/tooldev/openBLAS0.3.23-gcc9
cmake .. -DBUILD_SHARED_LIBS=on -DCMAKE_INSTALL_PREFIX=$myPREFIX
make -j 16 && make install