Skip to content

Commit

Permalink
SINGA-22 add Q&A3 to clarify the environment settings
Browse files Browse the repository at this point in the history
  • Loading branch information
xiezl committed Jun 23, 2015
1 parent dca8a23 commit 2bbed5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
4 changes: 2 additions & 2 deletions thirdparty/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..;
Expand Down

0 comments on commit 2bbed5f

Please sign in to comment.