Skip to content

Commit

Permalink
simpify
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKurek committed Jan 23, 2025
1 parent 286c23c commit 7188d88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions singularity/Singularity.intel_mkl
Original file line number Diff line number Diff line change
Expand Up @@ -214,19 +214,19 @@ EOF
tar xzf numpy-1.26.4.tar.gz
rm numpy-1.26.4.tar.gz
cd numpy-1.26.4/
python -m pip install . -Csetup-args=-Dblas-order=mkl,openblas,blis -Csetup-args=-Dlapack-order=mkl,openblas,lapack
pip install . -Csetup-args=-Dblas-order=mkl,openblas,blis -Csetup-args=-Dlapack-order=mkl,openblas,lapack
cd ..
rm -rf numpy-1.26.4/

wget https://github.com/scipy/scipy/releases/download/v1.15.1/scipy-1.15.1.tar.gz
tar xzf scipy-1.15.1.tar.gz
rm scipy-1.15.1.tar.gz
cd scipy-1.15.1/
export PKG_CONFIG_PATH=$MKLROOT/lib/pkgconfig/
ls $PKG_CONFIG_PATH
python -m pip install . -Csetup-args=-Dblas=mkl-dynamic-lp64-iomp -Csetup-args=-Dlapack=mkl-dynamic-lp64-iomp
pip install . -Csetup-args=-Dblas=mkl-dynamic-lp64-iomp -Csetup-args=-Dlapack=mkl-dynamic-lp64-iomp
cd ..
rm -rf scipy-1.15.1/

export PKG_CONFIG_PATH=$MKLROOT/lib/pkgconfig/
else
pip install "numpy<2"
fi
Expand Down

0 comments on commit 7188d88

Please sign in to comment.