<div dir="ltr">Dear, Marco<div><br></div><div>Thank you so much~ Now I know what the problem is.<br><div><br></div><div>Did you install Gfortran 4.8 manually? </div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Apr 29, 2014 at 11:31 PM, Marco <span dir="ltr"><<a href="mailto:synerg...@gmail.com" target="_blank">synerg...@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello,<br><br>I encountered the same or similar problem. The issue was resolved by using a newer version of the gfortran compiler (gfortran 4.8).<br><br>Regards,<br>Marco<div><div class="h5"><br><br>On Saturday, April 26, 2014 3:52:18 AM UTC-4, Tong Zhu wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Dear everyone,<div><br></div><div>I am compiling cp2k-2.5.1 on my workstation with redhat6.3 OS, openmpi-1.8 and gfortran 4.4.6</div><div><br></div><div>However, I encountered a confusing problem:</div><div>
<br></div><div> /localhome2/zt/fuckm/fmag/<u></u>cp2k-omp-goto/makefiles/../<u></u>src/dbcsr_lib/dbcsr_mm_cannon.<u></u>F:2789.21:</div><div><br></div><div> <font color="#ff0000"> !$OMP ATOMIC READ</font></div>
<div><font color="#ff0000"> 1</font></div><div><font color="#ff0000">Error: Unclassifiable OpenMP directive at (1)</font></div><div><font color="#ff0000">make[1]: *** [dbcsr_mm_cannon.o] Error 1</font></div>
<div><font color="#ff0000">make[1]: *** Waiting for unfinished jobs....</font></div><div>make[1]: Leaving directory `/localhome2/zt/fuckm/fmag/<u></u>cp2k-omp-goto/obj/Linux-x86-<u></u>64-gfortran/ssmp'</div><div>make: *** [build] Error 2</div>
<div><br></div><div>Could you please help me to figure it out?</div><div><br></div><div>Thank you so much !!!!</div><div><br></div><div>Tong</div><div><br></div><div><br></div><div>My arch file Linux-x86-64-gfortran.ssmp is:</div>
<div><div><br></div><div><br></div><div>LD = gfortran</div><div>AR = ar -r</div><div><br></div><div><br></div><div>FFTW_INC = /localhome2/zt/fuckm/fmag/<u></u>fftwomp/include</div><div>FFTW_LIB = /localhome2/zt/fuckm/fmag/<u></u>fftwomp/lib</div>
<div>LIBINT_INC = /localhome2/zt/fuckm/fmag/<u></u>libint/include/libint</div><div>LIBINT_LIB = /localhome2/zt/fuckm/fmag/<u></u>libint/lib</div><div>LIBXC_INC = /localhome2/zt/fuckm/fmag/<u></u>libxc/include</div><div>LIBXC_LIB = /localhome2/zt/fuckm/fmag/<u></u>libxc/lib</div>
<div>GOTO_LIB = /localhome2/zt/fuckm/fmag/<u></u>GotoBLAS2</div><div>SCALAP_LIB = /localhome2/zt/fuckm/fmag/<u></u>scaomp/lib</div><div>OMP_INC = /localhome2/zt/fuckm/fmag/<u></u>openmp/include</div><div><br></div><div>
<br></div><div>DFLAGS = -D__GFORTRAN -D__FFTSG -D__FFTW3 -D__LIBINT -D__LIBXC2 \</div><div> -D__LIBINT_MAX_AM=5</div><div>CPPFLAGS =</div><div>FCFLAGS = $(DFLAGS) -O2 -ffast-math -ffree-form -ffree-line-length-none\</div>
<div> -fopenmp -ftree-vectorize -funroll-loops\</div><div> -mtune=native\</div><div> -I$(OMP_INC) -I$(FFTW_INC) -I$(LIBINT_INC) -I$(LIBXC_INC)</div><div>LDFLAGS = $(FCFLAGS) -static-libgfortran</div>
<div>LIBS = $(SCALAP_LIB)/libscalapack.a \</div><div> $(FFTW_LIB)/libfftw3.a \</div><div> $(FFTW_LIB)/libfftw3_threads.<u></u>a \</div><div> $(FFTW_LIB)/libfftw3_omp.a \</div><div>
$(LIBXC_LIB)/libxc.a \</div><div> $(LIBINT_LIB)/libderiv.a \</div><div> $(LIBINT_LIB)/libint.a \</div><div> $(GOTO_LIB)/libgoto2.a \</div><div> -lstdc++</div></div>
</div></blockquote></div></div></div><div class="HOEnZb"><div class="h5">
<p></p>
-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/t-hIVg2K8zI/unsubscribe" target="_blank">https://groups.google.com/d/topic/cp2k/t-hIVg2K8zI/unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp2k+uns...@googlegroups.com" target="_blank">cp2k+uns...@googlegroups.com</a>.<br>
To post to this group, send email to <a href="mailto:cp...@googlegroups.com" target="_blank">cp...@googlegroups.com</a>.<br>
Visit this group at <a href="http://groups.google.com/group/cp2k" target="_blank">http://groups.google.com/group/cp2k</a>.<br>
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank">https://groups.google.com/d/optout</a>.<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Tong Zhu</div><div>------------------------------------------------------------------</div><div>State Key Laboratory of Precision Spectroscopy</div>
<div>& Department of Physics, </div><div>East China Normal University, Shanghai 200062, China</div><div>------------------------------------------------------------------</div><div>------------------------------------------------------------------</div>
<div>朱通</div><div>华东师范大学物理系 精密光谱国家重点实验室</div><div>上海市普陀区中山北路3663号华东师范大学</div><div>邮编:200062 </div><div>------------------------------------------------------------------</div>
</div>