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

Urban Borštnik urban.b... at gmail.com
Thu Jan 6 11:26:06 CET 2011


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

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.

Cheers,
Urban




More information about the CP2K-user mailing list