Hi Aanchan,

 > Thanks for that e-mail. To report further investigation:
>
> As you mentioned the problem was coming from array.hpp in Boost. Take a
> look here: https://svn.boost.org/trac/boost/ticket/9392. The issue has
> apparently been rectified in CUDA 6.5.
>
> I did something super-hacky. The issue is with the preprocessor
> BOOST_NOINLINE defined in boost/config/suffix.hpp. I did a
> #undef BOOST_NOINLINE, and did a #define BOOST_NOINLINE not followed by
> anything. I got a few warnings, but the build compiled. Not sure if that
> was the best thing to do for forward compatibility.

Thanks for the hint.

> It might be safer to
> disable testing with -DENABLE_TESTING=Off.

ENABLE_TESTING is disabled by default in our release tarballs. If we 
disable the test targets in our developer repository, compilation 
problems won't get caught quickly anymore, so I rather don't change that.

Best regards,
Karli



> On Wed, Nov 12, 2014 at 3:00 PM, Karl Rupp <r...@iue.tuwien.ac.at
> <mailto:r...@iue.tuwien.ac.at>> wrote:
>
>     Hi Aanchan,
>
>     yes, this is a Boost-related problem. Since the error occurs only in
>     the tests, I recommend disabling the tests by disabling
>     ENABLE_TESTING in CMake (e.g. through the command line: cmake ..
>     -DENABLE_TESTING=Off)
>
>     A student once suggested to replace assert.h in Boost with the
>     version from 1.51:
>     https://github.com/imvu/boost/__blob/master/boost/assert.hpp
>     <https://github.com/imvu/boost/blob/master/boost/assert.hpp>
>     I haven't tried this myself, but it may work.
>
>     Best regards,
>     Karli
>
>
>
>     On 11/12/2014 07:03 PM, Aanchan mohan wrote:
>
>         Hi everyone,
>
>         I tried compiling ViennaCL(checked out of the Github dev repo this
>         morning EST) with ENABLE_CUDA (and disabling OpenCL). A compile
>         error
>         gets thrown when  compiling blas3_solve.cu
>         <http://blas3_solve.cu> <http://blas3_solve.cu> under
>         the test directiory. The screen output of just that chunk is
>         here:http://pastebin.com/__TN4dmcTB
>         <http://pastebin.com/TN4dmcTB>. Is the error coming from Boost's
>         assert.hpp? Any suggestions to rectify the error would be
>         appreciated.
>
>         Regards,
>         Aanchan
>
>
>


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to