<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=GB2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
dear all.<br>
When I want to compile a OpenMP version of cp2k, I got a error for
source code.<br>
<br>
<font face="AR PL UKai CN">/export/home/zhuh/cp2k/makefiles/../src/dbcsr_lib/dbcsr_work_operations.F(1554):
error #7926: Form of assignment statement following !$OMP ATOMIC
directive is improper. [WM]<br>
new_nze = new_nze + wm%datasize<br>
------------------------^</font><br>
<br>
Who can give me some suggestion?<br>
Here is my Linux-x86-64-intel.ssmp file.<br>
<br>
<font face="AR PL UKai CN">INTEL_INC=/usr/local/include <br>
INTEL_LIB=/opt/acml4.4.0/ifort64/lib <br>
<br>
CC = cc<br>
CPP = <br>
FC = ifort -FR -openmp -O0 <br>
LD = ifort -FR -openmp -O0 <br>
AR = ar -r <br>
DFLAGS = -D__INTEL -D__FFTSG -D__FFTW3 -D__FFTACML<br>
CPPFLAGS = -C -traditional $(DFLAGS) -I$(INTEL_INC) <br>
FCFLAGS = $(DFLAGS) -I$(INTEL_INC) <br>
LDFLAGS = $(FCFLAGS)<br>
LIBS = $(INTEL_LIB)/libacml.a\<br>
$(INTEL_LIB)/libacml_mv.a \ <br>
-lfftw3<br>
<br>
OBJECTS_ARCHITECTURE = machine_intel.o </font><br>
<br>
Best wishes for all from hefei.<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Zhu Hong
Department of Polymer Science and Engineering
University of Science and Technology of China
Hefei, Anhui 230026, P.R.China</pre>
</body>
</html>