Btw: I am currently writing a documentation for my own understanding and for tha lulz.
----- Ursprüngliche Nachricht ----- Von: "Xiangrui CAI" <[email protected]> Gesendet: 09.07.2016 10:18 An: "[email protected]" <[email protected]>; "[email protected]" <[email protected]> Cc: "[email protected]" <[email protected]> Betreff: Re: Install of Singa (2) Hi Erhard, Thanks for your feedback. We fixed the problem in textfile_reader.cc. Please pull and check it again. Best Regards! Wang Wei <[email protected]>于2016年7月8日周五 下午10:24写道: > could you pls check it.. > ---------- Forwarded message ---------- > From: Erhard M. Dinhobl jun. <[email protected]> > Date: Fri, Jul 8, 2016 at 7:03 PM > Subject: Re: Install of Singa (2) > To: [email protected] > Cc: [email protected] > > > Hi wang! > > the problems with lib cnmem are gone. another problem now: > > In file included from > /home/erhard/apache-singa/src/io/textfile_reader.cc:20:0: > /home/erhard/apache-singa/src/io/textfile_reader.cc: In member function > ‘virtual void singa::io::TextFileReader::SeekToFirst()’: > /home/erhard/apache-singa/src/io/textfile_reader.cc:63:15: error: no match > for ‘operator!=’ (operand types are ‘std::ifstream {aka > std::basic_ifstream<char>}’ and ‘std::nullptr_t’) > CHECK(fdat_ != nullptr); > ^ > /home/erhard/apache-singa/include/singa/utils/logging.h:96:9: note: in > definition of macro ‘CHECK’ > if (!(condition)) \ > > > > -- > > master-studios.net - Intelligent Software / Consulting / Research > > +43 (0)699 / 102 69 056, Vienna, Austria > > > > Am 08.07.2016 11:46, schrieb Wang Wei: > > It should be fixed now. > Pls try again https://github.com/apache/incubator-singa/tree/dev. > Thanks. > > regards, > > On Fri, Jul 8, 2016 at 4:27 PM, Wang Wei <[email protected]> wrote: > > Hi Erhard, > > We have noticed that problem, and will send a PR soon today. > cnmem is only required when using cuda. > > regards, > > On Fri, Jul 8, 2016 at 4:20 PM, Erhard M. Dinhobl jun. < > [email protected]> wrote: > > And if I remove all cnmem references from the CMakeList.txt file, it > works until: > > In file included from > /home/erhard/apache-singa/src/io/textfile_reader.cc:20:0: > /home/erhard/apache-singa/src/io/textfile_reader.cc: In member function > 'virtual void singa::io::TextFileReader::SeekToFirst()': > /home/erhard/apache-singa/src/io/textfile_reader.cc:63:15: error: no > match for 'operator!=' (operand types are 'std::ifstream {aka > std::basic_ifstream<char>}' and 'std::nullptr_t') > > -- > > master-studios.net - Intelligent Software / Consulting / Research > > +43 (0)699 / 102 69 056, Vienna, Austria > > > > > >
