magland / mountainlab

spike sorting software
25 stars 22 forks source link

Which branch to use #193

Closed czawora closed 7 years ago

czawora commented 7 years ago

Hello,

I am trying to follow the installation instructions and example sorts but seem to have to keep moving files around to the correct folders at every step of the way. I have been using the ms3 branch. Should I be doing something else?

Thanks

czawora commented 7 years ago

Currently at this point in the example sort screenshot 2017-10-26 14 23 03

magland commented 7 years ago

That's strange. Could you please do the 001_* example instead. The 003 example requires that octave or matlab is found properly, which is not always the case.

czawora commented 7 years ago

following the instructions.txt in 001_ example I get a similar result screenshot 2017-10-26 19 26 27

magland commented 7 years ago

Strange. Did the compile work okay? Can you please show the console output of ./compile_components.sh?

czawora commented 7 years ago

Compiling was not smooth. Many of the files needed for the compile were not located in the right directory or their locations were not included in the INCLUDE set. I had to run the following commands to make any progress compiling

cp cpp/mlcommon/include/mda/diskreadmda.h cpp/mountainsort/src/utils/ cp cpp/mlcommon/include/get_sort_indices.h cpp/mountainsort/src/utils/ cp cpp/mlcommon/include/mda/mda.h cpp/mountainsort/src/utils/ cp cpp/mlcommon/include/mlcommon.h cpp/mountainsort/src/utils/ cp cpp/mlcommon/include/mlvector.h cpp/mountainsort/src/utils/ cp cpp/mlcommon/include/mda/mda32.h cpp/mountainsort/src/utils/ cp cpp/mlcommon/include/mda/mdaio.h cpp/mountainsort/src/utils/ cp cpp/mlcommon/include/mda/diskreadmda32.h cpp/mountainsort/src/utils/ cp cpp/mlcommon/include/mda/diskreadmda.h cpp/mountainsort/src/processors/ cp cpp/mlcommon/include/cachemanager/cachemanager.h cpp/mountainsort/src/processors/ cp cpp/mlcommon/include/mliterator.h cpp/mountainsort/src/isosplit/

I am attaching the compiler outputs at each of these steps compile_attempts.zip

jasonechung commented 7 years ago

Which linux distribution are you using?

czawora commented 7 years ago

I'm running on Mac Yosemite

jasonechung commented 7 years ago

Unfortunately, Mac is not supported yet. In the meantime, you can try running it in an ubuntu virtual machine. There are a few functions and libraries that are needed but are not included normally in MacOS such as sha1sum, and also other settings in Qt that would have to be modified, such as the build location for Qt. This is the reason why you are having to copy the location of the files.