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:09 UTC
[1/2] incubator-singa git commit: set OpenBLAS default install path
as /usr/local/
Repository: incubator-singa
Updated Branches:
refs/heads/master 767bad29e -> 2bbed5fc1
set OpenBLAS default install path as /usr/local/
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/dca8a238
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/dca8a238
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/dca8a238
Branch: refs/heads/master
Commit: dca8a23834cb31e65a857c10007f498cce5d8178
Parents: 767bad2
Author: xiezl <xi...@comp.nus.edu.sg>
Authored: Tue Jun 23 10:40:44 2015 +0800
Committer: xiezl <xi...@comp.nus.edu.sg>
Committed: Tue Jun 23 10:40:44 2015 +0800
----------------------------------------------------------------------
thirdparty/install.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/dca8a238/thirdparty/install.sh
----------------------------------------------------------------------
diff --git a/thirdparty/install.sh b/thirdparty/install.sh
index 3bffeba..5edd4d0 100755
--- a/thirdparty/install.sh
+++ b/thirdparty/install.sh
@@ -210,8 +210,8 @@ function install_openblas()
fi
elif [ $# == 0 ]
then
- echo "install cmake in default path";
- sudo make install;
+ cho "install OpenBLAS in /usr/local/"
+ sudo make PREFIX=/usr/local install;
if [ $? -ne 0 ]
then
cd ..;
[2/2] incubator-singa git commit: SINGA-22 add Q&A3 to clarify the
environment settings
Posted by wa...@apache.org.
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 ..;