-march=native failing on Windows laptop

Tim Prince n8tm@aol.com
Thu Nov 28 16:01:00 GMT 2013


On 11/27/2013 2:41 PM, Steve Kargl wrote:
> On Wed, Nov 27, 2013 at 02:26:27PM -0500, Tim Prince wrote:
>> If I compile using -march=native under cygwin gfortran 4.8.2 my run
>> hangs.  -march=corei7-avx works well.  It's reporting
>> Intel(R) Core(TM) i5-4200U CPU @ 1.60 when reading a copy of /proc/cpuinfo.
>>
> gfortran, the front-end, does not make use of any -march=
> related information.  -march= would be back-end related, so
> you probably need to report this to the general gcc@gcc.gnu.org
> list.  If open a bug report, having the assembly generated
> with both options would be helpful.
>
I haven't figured this out.  I was able to set up VTune after some 
coaching, but the debug symbol resolution isn't credible as to where it 
is hanging.  The -march=native build appears to be using AVX2.

-- 
Tim Prince



More information about the Fortran mailing list