I never tried g++ 6, so I can't comment on that. But I know it work with many version of g++ 4. Can you give the errors? It help find the solution.
On Sat, Sep 10, 2016 at 9:51 PM, <[email protected]> wrote: > Thanks Sai, > > I've been trying all day to run the tests on theano and I've been getting > errors every time I try to use a different compiler either g++-6 or icpc. > Whenever I try to use g++-6 it gives me some conflict error regarding the > math.h not compatible intel library with g++-6. > > When I tried your flags and switched to icpc again could not run those > tests, I was getting errors about flags not being properly recognized and > some of them where conflicting with icpc. > > Now i'm running the tests just using default clang compiler it seems to be > working so far on tests, apart from all the user warnings and deprecation > warnings. Still the worst solution since it doesn't support openmp. > > On Sunday, September 11, 2016 at 1:58:30 AM UTC+1, sai rajeshwar wrote: >> >> Hi Martin, >> >> I donot think I ran into any warnings or errors when I compiled with >> icpc. It ran properly. >> >> *with regards..* >> >> *M. Sai Rajeswar* >> >> >> *IIT Delhi----------------------------------Cogito Ergo Sum---------* >> >> On Sat, Sep 10, 2016 at 8:49 PM, <[email protected]> wrote: >> >>> Hi Sai, >>> sorry of the disturbance, I was reading your post and I tried to compile >>> the theano.test() with icpc and the flags that you mentioned -O2 -mkl but I >>> was always getting errors and warning about compiler optimization being >>> disabled. Did you got any warnings or errors when you compiled with >>> icc/icpc? I tried the above on a OS X. >>> >>> Thanks! >>> >>> >>> >>> On Monday, January 19, 2015 at 5:12:13 PM UTC, sai rajeshwar wrote: >>>> >>>> Hi Fred, Pascal, >>>> >>>> I was testing the PR you 've created, here are the observations. >>>> >>>> I was successfully able to compile with intel compilers and bit of >>>> improvement in the training speed, with flags -O2, -mkl. >>>> However I could not offload it onto MIC(xeon phi) as i expected, tried >>>> many things but somehow couldnot. But it should be possible to >>>> automatically offload python code onto MIC. >>>> >>>> The only thing I can see now is that there is a lower bound on the >>>> matrix size before offloading happens. So if our matrices are too small, >>>> MKL will not offload because the cost of moving the data is less than the >>>> gains from performance. This bound is something like a matrix size of 4096. >>>> How to see the sizes of various matrices as the code runs in theano? what >>>> all parameters could increase it? like larger datasets..or batchsize etc..? >>>> >>>> any suggestions also would be helpful.. thanks >>>> >>>> >>>> *with regards..* >>>> >>>> *M. Sai Rajeswar* >>>> >>>> >>>> *IIT Delhi----------------------------------Cogito Ergo Sum---------* >>>> >>>> On Thu, Jan 15, 2015 at 2:37 AM, Pascal Lamblin < >>>> [email protected]> wrote: >>>> >>>>> On Wed, Jan 07, 2015, Frédéric Bastien wrote: >>>>> > icc/icpc isn't always faster then gcc. I didn't time it. So I don't >>>>> know >>>>> > what this will do. It will depend of the mode. If the model spend >>>>> most of >>>>> > its time in the BLAS library, it won't make a difference. >>>>> >>>>> I'm not sure that is correct in that case, as I expect icc to be able >>>>> to >>>>> link with the MIC version of blas, which gcc may not be able to do. >>>>> >>>>> -- >>>>> Pascal >>>>> >>>>> -- >>>>> >>>>> --- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "theano-users" group. >>>>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>>>> pic/theano-users/NpImVMwVESo/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "theano-users" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>> pic/theano-users/NpImVMwVESo/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > > --- > You received this message because you are subscribed to the Google Groups > "theano-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
