Julia also has an `-O3` option – you could try that. On Fri, Jun 3, 2016 at 10:54 AM, Angel de Vicente < [email protected]> wrote:
> Lutfullah Tomak <[email protected]> writes: > > It may be because ifort uses proper simd instructions. Eriks's > suggestion for @simd > > does not use simd instructions in my laptop. > > I don't see any improvement in Julia by using @simd either. > > On the other hand, vectorization with the Intel compiler definitely > helps, but even with vectorization off, somehow it manages to go faster > > [angelv@duna TESTS]$ ifort -no-vec -O3 -o test_ifort test.F90 > [angelv@duna TESTS]$ ./test_ifort > 0.065636 seconds > 9363171.53179644 > [angelv@duna TESTS]$ > > -- > Ángel de Vicente > http://www.iac.es/galeria/angelv/ >
