Skip to content
Permalink
Browse files
Minor Cleanups
  • Loading branch information
TobyRoseman authored and Hoyt Koepke committed Jan 22, 2018
1 parent c9d43d2 commit 56a3497
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
@@ -34,8 +34,8 @@ be sure to install virtualenv using your system pip (conda pip is not supported)

./configure

Running configure will create two sub-directories, release/ and
debug/ . cd into src/unity under either of these directories and running make will build the
Running configure will create two sub-directories, `release/` and
`debug/` . cd into `src/unity` under either of these directories and running make will build the
release or the debug versions respectively.

We recommend using make’s parallel build feature to accelerate the compilation
@@ -44,10 +44,10 @@ process. For instance:
cd debug/src/unity
make -j 4

will perform up to 4 build tasks in parallel. When building in release/ mode,
will perform up to 4 build tasks in parallel. When building in release mode,
Turi Create does require a large amount of memory to compile with the
heaviest toolkit requiring 1GB of RAM. Where K is the amount of memory you
have on your machine in GB, we recommend not exceeding make -j K
have on your machine in GB, we recommend not exceeding `make -j K`

To use your dev build export these environment variables:

@@ -1,18 +1,24 @@
# Common Installation Issues
# Common Installation Errors and How to Fix

### `I get an error "ImportError /lib64/libstdc++.so.6: version GLIBCXX_3.4.21 not found"`
`ImportError /lib64/libstdc++.so.6: version GLIBCXX_3.4.21 not found`

You need an updated libstdc++.so. See [LINUX\_INSTALL.md](LINUX_INSTALL.md) for details.

### `I get an error "ImportError .. version GLIBCXX\_3.4.21 not defined in libstdc++.so.6 with link time reference"`
___

`ImportError .. version GLIBCXX\_3.4.21 not defined in libstdc++.so.6 with link time reference`

You need an updated libstdc++.so. See [LINUX\_INSTALL.md](LINUX_INSTALL.md) for details.
(Strictly, speaking you have an updated libstdc++.so, but it was not compiled with the cxx11 abi)

### `I get an error "ImportError: libblas.so.3: Cannot open shared object file: No such file or directory"`
___

`ImportError: libblas.so.3: Cannot open shared object file: No such file or directory`

You need to install Blas and Lapack. See [LINUX\_INSTALL.md](LINUX_INSTALL.md) for details.

### `I get an error "ImportError: liblapack.so.3: Cannot open shared object file: No such file or directory"`
___

`ImportError: liblapack.so.3: Cannot open shared object file: No such file or directory`

You need to install Blas and Lapack. See [LINUX\_INSTALL.md](LINUX_INSTALL.md) for details.
@@ -12,7 +12,7 @@
namespace turi {
/**
* \ingroup fileio
* Downlaods a given URL into a given output file
* Downloads a given URL into a given output file
* \code
* retcode = download_url("http://google.com", "google.html");
* \endcode
@@ -38,7 +38,7 @@ class image_type {
boost::shared_ptr<char[]> m_image_data;
/// The height of the image
size_t m_height = 0;
/// The width of the image*
/// The width of the image
size_t m_width = 0;
/// The number of channels in the image: Grayscale = 1, RGB = 3, RGBA = 4.
size_t m_channels = 0;
@@ -84,7 +84,6 @@ void run_logistic_regression_test(std::map<std::string, flexible_type> opts) {

// Construct the ml_data
ml_data data = model->construct_ml_data_using_current_metadata(X, y);
ml_data valid_data;

// Check coefficients & options
// ----------------------------------------------------------------------
@@ -97,7 +97,6 @@ void run_random_forest_classifier_test(std::map<std::string, flexible_type> opts

// Construct the ml_data
ml_data data = model->construct_ml_data_using_current_metadata(X, y);
ml_data valid_data;

// Check predictions
// ----------------------------------------------------------------------

0 comments on commit 56a3497

Please sign in to comment.