Hi!
Compilation works! A few warnings, but not necessary to fix it for now:
In file included from
/home/erhard/apache-singa/include/singa/core/common.h:26:0,
from
/home/erhard/apache-singa/include/singa/core/tensor.h:26,
from
/home/erhard/apache-singa/include/singa/io/decoder.h:24,
from
/home/erhard/apache-singa/src/io/csv_decoder.cc:19:
/home/erhard/apache-singa/include/singa/utils/logging.h: In
instantiation of 'std::__cxx11::string*
singa::logging::Check_LEImpl(const T1&, const T2&, const char*) [with T1
= long unsigned int; T2 = int; std::__cxx11::string =
std::__cxx11::basic_string<char>]':
/home/erhard/apache-singa/src/io/csv_decoder.cc:40:7: required from
here
/home/erhard/apache-singa/include/singa/utils/logging.h:210:38: warning:
comparison between signed and unsigned integer expressions
[-Wsign-compare]
SINGA_DEFINE_CHECK_OP_IMPL(Check_LE, <= )
^
/home/erhard/apache-singa/include/singa/utils/logging.h:194:12: note: in
definition of macro 'SINGA_DEFINE_CHECK_OP_IMPL'
if (v1 op v2)
In file included from
/home/erhard/apache-singa/include/singa/core/common.h:26:0,
from
/home/erhard/apache-singa/include/singa/core/tensor.h:26,
from
/home/erhard/apache-singa/include/singa/io/encoder.h:24,
from
/home/erhard/apache-singa/src/io/csv_encoder.cc:19:
/home/erhard/apache-singa/include/singa/utils/logging.h: In
instantiation of 'std::__cxx11::string*
singa::logging::Check_GEImpl(const T1&, const T2&, const char*) [with T1
= long unsigned int; T2 = int; std::__cxx11::string =
std::__cxx11::basic_string<char>]':
/home/erhard/apache-singa/src/io/csv_encoder.cc:25:3: required from
here
/home/erhard/apache-singa/include/singa/utils/logging.h:212:38: warning:
comparison between signed and unsigned integer expressions
[-Wsign-compare]
SINGA_DEFINE_CHECK_OP_IMPL(Check_GE, >= )
^
/home/erhard/apache-singa/include/singa/utils/logging.h:194:12: note: in
definition of macro 'SINGA_DEFINE_CHECK_OP_IMPL'
if (v1 op v2)
regards,
Erhard
--
master-studios.net - Intelligent Software / Consulting / Research
+43 (0)699 / 102 69 056, Vienna, Austria
Am 09.07.2016 17:55, schrieb Wang Wei:
> Hi,
>
> We are working on the documentation of the dev branch (i.e., v1.0)
> https://github.com/moazreyad/incubator-singa/tree/master/doc.
> Welcome to contribute!
>
> regards,
>
> On Sat, Jul 9, 2016 at 11:52 PM, Erhard M. Dinhobl <[email protected]>
> wrote:
>
> Btw: I am currently writing a documentation for my own understanding and
> for tha lulz.
> ------------------------------
> Von: Xiangrui CAI <[email protected]>
> Gesendet: 09.07.2016 10:18
> An: [email protected]; [email protected]
> Cc: [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