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

Reply via email to