[CP2K:3320] Compilation error with openmp

Alin Marin Elena alinm... at gmail.com
Wed Jun 22 12:16:54 UTC 2011


or update the compiler... as it seems the new version of intel fortran 
compiler supports it... well at least compiles...

Alin

On Wed 22 Jun 2011 13:08:48 Iain Bethune wrote:
> You should add -D__HAS_NO_OMP_3 to your arch file to work around this.  CP2K
> assumes OpenMP 3 compliance.  See the 'INSTALL' file section 3.c. for
> details.
> 
> Cheers
> 
> - Iain
> 
> --
> 
> Iain Bethune
> Applications Consultant, EPCC
> 
> Email: ibet... at epcc.ed.ac.uk
> Tel/Fax: +44 (0)131 650 5201/6555
> Mob: +44 (0)7598317015
> Addr: 2404 JCMB, The King's Buildings, Mayfield Road, Edinburgh, EH9 3JZ
> 
> On 22 Jun 2011, at 12:18, Alin Marin Elena wrote:
> > 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
RyB2Mi4wLjE3IChHTlUvTGludXgpCgppUUVjQkFBQkFnQUdCUUpPQWQwNkFBb0pFQ3MrTEVZV1Nq
VW9FZThIL0F6Rk40L1NBa1B5aG9CUVp0d0s1ZUJ2CmhCTUtCU08ybDJmTHBOa3FPK1BVcWRVYm84
T3NFS2hhV2dVTTNjbDUycjlkOUxobnIvTnVaemFyamtFZjhoNXgKVjl4aUxqUmU1bm1tS1VBSmNr
Q2ZmMHJxZXI4dEI0dmxlaHJkdnM3WkcxbUNWRzN6clY1SWVURTJvRFFqL1EzZAo4dFlTcW1xeVQr
NEpCYnp2VHRqQWJpOVM2ZUZDV21pMTBlOXlFQjk0OGdwWXkxb0lzTjNNTG1FNnFyT1JuZ21qCk1a
bFljMG5nK0VOa0t6bWE4UWFyRmN6SFlPQWVhSjhKbENoWEsrVlRQcmJ3OS83REJvMWdvWmJmOUZn
dVpoSWcKN0NhV3FVT3ppcFFvb1M1TGNtTXBYcXJSRG12dXk2bGczcWdNNG1CYXJqYnJ6SXJ2RWtY
Yjd3NUpQMWhXV1ZrPQo9QjNqTgotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0K


More information about the CP2K-user mailing list