If you set the Theano flag cxx.flags to -march=native, I think you will get rid of this error.
But take note that we don't support that combination. It should work, bit you are better to use anaconda and make it install g++and not use cygwin with Theano. The installation is much easier and we test that on Windows. Le mer. 1 mars 2017 17:19, Craig Brown <[email protected]> a écrit : > I received this error when running in Jupyter Notebook on Windows Sever > 2012 > > WARNING (theano.gof.cmodule): OPTIMIZATION WARNING: Theano was not able to > find the g++ parameters that tune the compilation to your specific CPU. This > can slow down the execution of Theano functions. Please submit the following > lines to Theano's mailing list so that we can fix this problem: > ['# 1 ""\n', 'Reading specs from > \\cygnus\\cygwin-b20\\H-i586-cygwin32\\lib\\gcc-lib\\i586-cygwin32\\egcs-2.91.57\\specs\n', > 'gcc version egcs-2.91.57 19980901 (egcs-1.1 release)\n', ' > \\cygnus\\cygwin-b20\\H-i586-cygwin32\\lib\\gcc-lib\\i586-cygwin32\\egcs-2.91.57\\cpp.exe > -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=91 -Di386 -D_WIN32 -DWINNT > -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) > -D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x)) > -D__i386__ -D_WIN32 -D__WINNT__ -D_X86_=1 -D__STDC__=1 > -D__stdcall=__attribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) > -D__declspec(x)=__attribute__((x)) -D__i386 -D__WINNT -Asystem(winnt) > -Acpu(i386) -Amachine(i386) -remap -Acpu(i386) -Amachine(i386) -Di386 > -D__i386 -D__i386__ -Di586 -Dpentium -D__i586 -D__i586__ -D__pentium > -D__pentium__ -D__CYGWIN32__ -D__CYGWIN__ -\n', 'GNU CPP version egcs-2.91.57 > 19980901 (egcs-1.1 release) (80386, BSD syntax)\n', '#include "..." search > starts here:\n', '#include <...> search starts here:\n', ' > \\cygnus\\cygwin-b20\\H-i586-cygwin32\\lib\\gcc-lib\\i586-cygwin32\\egcs-2.91.57\\..\\..\\..\\..\\..\\include\n', > ' > \\cygnus\\cygwin-b20\\H-i586-cygwin32\\lib\\gcc-lib\\i586-cygwin32\\egcs-2.91.57\\..\\..\\..\\..\\i586-cygwin32\\include\n', > ' > \\cygnus\\cygwin-b20\\H-i586-cygwin32\\lib\\gcc-lib\\i586-cygwin32\\egcs-2.91.57\\include\n', > 'End of search list.\n'] > > =============================== > > 00001 #include <Python.h> > > -- > > --- > 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.
