[CP2K:3034] psmp build - error with Intel compiler

Ondrej Marsalek ondrej.... at gmail.com
Thu Jan 6 10:52:14 UTC 2011


Hi,

On Thu, Jan 6, 2011 at 11:26, Urban Borštnik <urban.b... at gmail.com> wrote:
> The workaround the ifc forall-within-single problem is to change the
> FORALL statement to a DO loop.  This should be done within the OpenMP
> SINGLE statement:
>
> -    FORALL (t = 1:nrows)
> +    DO t = 1, nrows
>        td(t) = MOD(t-1, nthreads)
> -    END FORALL
> +    END DO

Thanks for the explanation and the fix.

> Regarding the second issue (data declaration clause), I can not get the
> code from the 2.1 branch to match the reported line number (2056).
> Therefore all I can say that the "np" variable should be declared with
> the shared attribute.

Sorry, this happened in trunk, not the 2.1 branch, but I have only now
noticed that it is a checkout from 2010-11-09 and the problem does not
exist anymore.

Cheers,
Ondrej



More information about the CP2K-user mailing list