openmp do loops

Alain Ketterlin alain at dpt-info.u-strasbg.fr
Thu Nov 4 15:10:13 CET 2010


Stefan Behnel <stefan_ml at behnel.de> writes:

>> !$OMP PARALLEL DO default(private) shared(hkltable, fcalctable,hklsize)
>> do i=1,hklsize
>> fcalctable(i)=structfact(hkltable(1,i),hkltable(2,i),hkltable(3,i))
>> end do
>> !$OMP END PARALLEL DO

(This is Fortan, BTW.)

> Seeing this makes me seriously happy that I can write my code in
> Python (or Cython, for that purpose).

Does Cython support OpenMP? I've foudn nothing in the docs.

-- Alain.



More information about the Python-list mailing list