[Octopus-devel] [Octopus-notify] svn commit: r8554 - trunk/m4 by xavier

David Strubbe dstrubbe at berkeley.edu
Sun Nov 13 22:49:38 WET 2011


Xavier,

I'm not sure what the appropriate solution is, but the test now does not
work with Intel anymore.

On the machine the originally motivated my modification of the AVX test,
the test used to appropriately fail with the message:

Fatal Error: This program was not built to run on the processor in your
system.
The allowed processors are: Intel(R) processors with Intel(R) AVX
instructions support.

After your change, the test passes, and yet Octopus dies with the error
message

forrtl: severe (168): Program Exception - illegal instruction

when built this way. I think that, for ifort at least, without -avx it does
not actually generate code using AVX instructions, and so we will only be
checking that the compiler knows how to generate them but not whether the
hardware supports them. Are you sure that the test with gcc is really
checking the hardware either?

David

On Sat, Nov 12, 2011 at 7:35 PM, <octopus-svn at tddft.org> wrote:

>      Author: xavier
>        Date: Sun Nov 13 03:35:33 2011
> New Revision: 8554
>   Changeset: http://www.tddft.org/trac/octopus/changeset/8554
>
> Modified:
>   trunk/m4/arch.m4
>
> Log:
> The AVX test passed an Intel compiler specific flag, with this fix now the
> test works with gcc.
>
>
> _______________________________________________
> Octopus-notify mailing list
> Octopus-notify at tddft.org
> http://www.tddft.org/mailman/listinfo/octopus-notify
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tddft.org/pipermail/octopus-devel/attachments/20111113/ffa92e0c/attachment.html>


More information about the Octopus-devel mailing list