Sure, no problem. Attached is a compressed minimal example that only has armadillo (9.599) and ensmallen (1.15.1) as dependencies; openmp is optional. The terminal output during the build stage is:
joe@joesbox:~/github/sdrsac-cpp(hack-hack *)$ rm -rf build && mkdir build && cd build && cmake .. && make -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found ensmallen: /usr/local/include (found version "1.15.1") -- Found Armadillo: /usr/lib/x86_64-linux-gnu/libarmadillo.so (found version "9.599.0") -- Configuring done -- Generating done -- Build files have been written to: /home/joe/github/sdrsac-cpp/build The output when attempting to execute sdp-blowsup is: joe@joesbox:~/github/sdrsac-cpp/build(hack-hack *)$ ./sdp-blowsup error: SpMat::init(): requested size is too large terminate called after throwing an instance of 'std::logic_error' what(): SpMat::init(): requested size is too large Aborted (core dumped) On Fri, Aug 30, 2019 at 8:31 PM Ryan Curtin <[email protected]> wrote: > On Wed, Aug 28, 2019 at 05:40:47PM -0700, Joe Dinius wrote: > > Thanks for the response Ryan. > > > > I have added the full test case to the following git branch: > > https://github.com/jwdinius/sdrsac-cpp/tree/sdp-blowsup. The offending > > test case can be found here > > > https://github.com/jwdinius/sdrsac-cpp/blob/sdp-blowsup/tests/sdp_ut.cpp#L19 > > . > > > > I will continue to investigate this by incorporating your suggestions. > > Thanks much :) > > Hey Joe, > > I spent a little while trying to get sdrsac-cpp to build but I had some > problems with the dependencies. Would it be possible to get some > standalone example that I can compile using just ensmallen? > > Thanks! > > Ryan > > -- > Ryan Curtin | "Think! What to do!" > [email protected] | - The Master >
<<attachment: sdp-example.zip>>
_______________________________________________ mlpack mailing list [email protected] http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
