[mlpack] maximum problem size for PrimalDualSolver?

Joe Dinius josephwdinius at gmail.com
Mon Sep 2 12:21:32 EDT 2019


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 at 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 at 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 <ryan at ratml.org> 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!"
> ryan at ratml.org |   - The Master
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20190902/7fa3f99d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdp-example.zip
Type: application/zip
Size: 3827 bytes
Desc: not available
URL: <http://knife.lugatgt.org/pipermail/mlpack/attachments/20190902/7fa3f99d/attachment.zip>


More information about the mlpack mailing list