[CP2K:3318] Compilation error with openmp

Alin Marin Elena alinm... at gmail.com
Wed Jun 22 13:18:04 CEST 2011


On Wed 22 Jun 2011 16:37:30 Sandeep Kumar Reddy wrote:
> Dear all,
>               I try to compile cp2k with openmp with intel compilers. But it
> is terminated with following error.
> 
> 
> fortcom: Error:
> /home/sandeep/software/cp2k-openmp/cp2k/makefiles/../src/fft_tools.F, line
> 1572: Syntax error, found IDENTIFIER 'COLLAPSE' when expecting one of:
> PRIVATE FIRSTPRIVATE REDUCTION SHARED IF DEFAULT COPYIN NUM_THREADS
> LASTPRIVATE ...
> !$omp parallel do default(none) collapse(2) &
> --------------------------------^

loop collapse is an openmp 3.0 feature 
http://wikis.sun.com/display/openmp/Loop+Collapse

your compiler does not support it... 

regards,
Alin

-- 
 Without Questions there are no Answers!
 _____________________________________________________________________
  Alin Marin ELENA
  Advanced Molecular Simulation Research Laboratory
  School of Physics, University College Dublin
  ----
  Ardionsamblú Móilíneach Saotharlann Taighde
  Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath

  -----------------------------------------------------------------------------------
  http://alin.elenaworld.net
  ______________________________________________________________________
-------------- next part --------------
Q29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9wZ3Atc2lnbmF0dXJlOyBuYW1lPSJzaWduYXR1cmUu
YXNjIg0KQ29udGVudC1EZXNjcmlwdGlvbjogVGhpcyBpcyBhIGRpZ2l0YWxseSBzaWduZWQgbWVz
c2FnZSBwYXJ0Lg0KDQotLS0tLUJFR0lOIFBHUCBTSUdOQVRVUkUtLS0tLQpWZXJzaW9uOiBHbnVQ
RyB2Mi4wLjE3IChHTlUvTGludXgpCgppUUVjQkFBQkFnQUdCUUpPQWM5ekFBb0pFQ3MrTEVZV1Nq
VW80VzRIL2lsYUNYYW9QTFNkY0ljZER6ck9XY2Z5ClplMkZLN0JNSDcwQ2lmaE1ydWF5Y1cxeXdk
a1VrMzB1MFM1K0RSZ0YxcUFNUDV2UE9ZeTdjajh4ZGRSMzEzUlEKaVBpdU9KeFF2RWNMaDB3YzdL
dHJPdmRHUFl3V0J1bHFYaEZ4MEVlNUJITjNKN2tEYmJLUVNicDBNTytGTzVmcgozMWtxTVNnalI1
cG9FTFpxQ0tUS2VXUDZRZ0RkekN5blh3bzNNbkxpcDFENm5oOFFZYjh6RjdJMHkvTFM2djE2ClBN
dWptSDVZanBIeW5VS0wyeGxpMC8vUW95bXlqdTdSQ2o3TWNteCt3N3dSZUxVYVFkdHN5anlwY1FF
ei9ZcEkKTndUc2RIMHd1OStjejFXa3Z1enNEbm9vOXdwSXdsQmFqNjlidThCSTloeU1WUlVmOGVa
TlJ5ZjRQWEEvbWFRPQo9ZHMrYwotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0K


More information about the CP2K-user mailing list