Skip to content

Commit

Permalink
update make.check scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 11, 2016
1 parent 0cbcd90 commit ffd28c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions make.check-mkl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# check for MKL directory and give user hint how to set it
ifeq ($(MKLROOT),)
vars_sh := $(shell which icc 2>/dev/null | perl -pe 's|/bin.*/icc|/mkl/bin/mklvars.sh|')
vars_csh := $(shell which icc 2>/dev/null | perl -pe 's|/bin.*/icc|/mkl/bin/mklvars.csh|')
vars_sh := $(shell which icc 2>/dev/null | perl -pe 's|/bin.*/icc|/bin/compilervars.sh|')
vars_csh := $(shell which icc 2>/dev/null | perl -pe 's|/bin.*/icc|/bin/compilervars.csh|')
ifeq ($(vars_sh),)
vars_sh := /opt/intel/composerxe/mkl/bin/mklvars.sh
vars_csh := /opt/intel/composerxe/mkl/bin/mklvars.csh
vars_sh := /opt/intel/composerxe/bin/compilervars.sh
vars_csh := /opt/intel/composerxe/bin/compilervars.csh
endif
$(error Set $$MKLROOT, preferably in your environment, e.g., run "source $(vars_sh) intel64" in ~/.bashrc, or "source $(vars_csh) intel64" in ~/.cshrc)
endif
Expand Down
2 changes: 1 addition & 1 deletion make.check-openblas
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# this assumes LAPACK is part of OpenBLAS library.

ifeq ($(OPENBLASDIR),)
$(error Set $$OPENBLASDIR, preferably in your environment, e.g., run "export OPENBLASDIR=/opt/openblas" in ~/.bashrc, or "setenv OPENBLASDIR /opt/atlas" in ~/.cshrc)
$(error Set $$OPENBLASDIR, preferably in your environment, e.g., run "export OPENBLASDIR=/opt/openblas" in ~/.bashrc, or "setenv OPENBLASDIR /opt/openblas" in ~/.cshrc)
endif

ifeq ($(wildcard $(OPENBLASDIR)),)
Expand Down

0 comments on commit ffd28c4

Please sign in to comment.