UCI-CARL / CARLsim6

CARLsim is an efficient, easy-to-use, GPU-accelerated software framework for simulating large-scale spiking neural network (SNN) models with a high degree of biological detail.
MIT License
41 stars 16 forks source link

Installation docs: pyCARL builds by default #22

Open SigmaX opened 1 year ago

SigmaX commented 1 year ago

Issue

CMakeLists.txt is set to build PyCARL by default when CARLsim is built. This requires PyCARL to be cloned into a specific subdirectory—but these extra installation steps are not reflected in the getting started guide.

Expected Behavior

The installation steps in the user's guide lead to a successful installation.

Observed Behavior

$ cmake -DCMAKE_INSTALL_PREFIX=/home/eric/lib/carlsim6 -DCMAKE_BUILD_TYPE=Release -DGTEST_LIBRARY=~/lib/gtest-1.11/lib/libgtest.so -DGTEST_INCLUDE_DIR=~/lib/gtest-1.11/include/ -DGTEST_MAIN_LIBRARY=~/lib/gtest-1.11/lib/libgtest_main.so -DCARLSIM_NO_CUDA=ON ../.
-- Found GTest: /home/eric/lib/gtest-1.11/lib/libgtest.so  
-- Could NOT find Matlab (missing: Matlab_INCLUDE_DIRS) (found version "NOTFOUND")
CMake Error at CMakeLists.txt:376 (add_subdirectory):
  The source directory

    /home/eric/repos/CARLsim6/pycarl

  does not contain a CMakeLists.txt file.

-- Configuring incomplete, errors occurred!
See also "/home/eric/repos/CARLsim6/.build/CMakeFiles/CMakeOutput.log".

Note

Solution is either to walk through pulling PyCARL in the installation guide, or to recommend that users build with -DCARLSIM_PYCARL=OFF, or change the default value to OFF.

SigmaX commented 1 year ago

Situation might have improved a little with with #28