You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2015/06/23 06:58:10 UTC
[2/2] incubator-singa git commit: SINGA-22 add Q&A3 to clarify the
environment settings
SINGA-22 add Q&A3 to clarify the environment settings
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/2bbed5fc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/2bbed5fc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/2bbed5fc
Branch: refs/heads/master
Commit: 2bbed5fc112cb43c148eda43f0372b85749cd0c4
Parents: dca8a23
Author: xiezl <xi...@comp.nus.edu.sg>
Authored: Tue Jun 23 11:13:00 2015 +0800
Committer: xiezl <xi...@comp.nus.edu.sg>
Committed: Tue Jun 23 11:18:23 2015 +0800
----------------------------------------------------------------------
README.md | 7 +++++++
thirdparty/install.sh | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/2bbed5fc/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 0b135d2..d96a94c 100644
--- a/README.md
+++ b/README.md
@@ -112,3 +112,10 @@ A2:You can try following command:
$ make CFLAGS='-msse2' CXXFLAGS='-msse2'
#
+
+
+Q3:I get error "./configure --> cannot find blas_segmm() function" even I run "install.sh OpenBLAS".
+A3:Since OpenBLAS library is installed in /opt folder by default or /other/folder by your preference, you may edit your environment settings. For example, you can add its default installation directories to LD_LIBRARY_PATH, just run:
+
+ $ export $LD_LIBRARY_PATH=/opt
+#
http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/2bbed5fc/thirdparty/install.sh
----------------------------------------------------------------------
diff --git a/thirdparty/install.sh b/thirdparty/install.sh
index 5edd4d0..2d70059 100755
--- a/thirdparty/install.sh
+++ b/thirdparty/install.sh
@@ -210,8 +210,8 @@ function install_openblas()
fi
elif [ $# == 0 ]
then
- cho "install OpenBLAS in /usr/local/"
- sudo make PREFIX=/usr/local install;
+ echo "install OpenBLAS in default path"
+ sudo make install;
if [ $? -ne 0 ]
then
cd ..;