<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10.5pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Hi Zhiping,</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Here is a Makefile content that I run without problems</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">CC       = icc</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">CPP      =</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">FC       = mpif90 </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">LD       = mpif90</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">AR       = ar -r</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">DFLAGS   = -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -D__FFTMKL </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">CPPFLAGS =</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">FCFLAGS  = $(DFLAGS)  -O3 -xSSE4.2 -heap-arrays  -fpp -free</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">FCFLAGS2 = $(DFLAGS)  -O1  -heap-arrays  -fpp -free</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">LDFLAGS  = $(FCFLAGS) -L${MKLROOT}/lib/intel64</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">LIBS     = -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 </span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">OBJECTS_ARCHITECTURE = machine_intel.o</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">graphcon.o: graphcon.F</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">        $(FC) -c $(FCFLAGS2) $<</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">you may need to add the libint part.... is a good idea to use the fftw that comes with mkl... Also check that your nodes really support SSE4.2</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Alin</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">On Saturday 15 Sep 2012 15:00:22 Zhiping wrote:<br /></span></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">I solved this by change '-O3' into '-O2' in FCFLAGS.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">it works now for QS benchmarks with 256 water molecules.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">however, it still fails with the H2O-hybrid-b3lyp and some other hybrid tests, with error information 'Segmentation fault'</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">any suggestions? thank you.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Zhiping<br />On Sunday, September 16, 2012 4:02:35 AM UTC+8, Zhiping wrote:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Dear all:</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">I compile cp2k using intel compiler and MKL 11.1.069. Parallel compilation is done with intel mpi 4.0.2.003.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">While no error is reported during the compilation and I obtain the binaries. I found that serial executable works but the parallel one fails with 'Segmentation fault (174)' on the test runs.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">I follow the threads in several forums and tries several tricks such as 'ulimit -s unlimited', but still cannot get it working. Could anybody here give some suggestions?</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Thank you.</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Best,</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Zhiping</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">--</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">App. 1: OUTPUT of uname 0a</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">Linux ln1 2.6.18-194.17.1.0.1.el5_lustre.1.8.5 #1 SMP Wed Aug 3 18:09:09 CST 2011 x86_64 x86_64 x86_64 GNU/Linux<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">App. 2: FILE: Linux-x86_64-intel.popt</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">#</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">INTEL_INC=/apps/intel/Compiler/11.1/069/c/mkl/include/fftw </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">INTEL_LIB=/apps/intel/Compiler/11.1/069/c/mkl/lib/em64t </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">FFTW3_INC=/home/user/bin/lib/fftw3/include</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">FFTW3_LIB=/home/user/bin/lib/fftw3/lib</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">INT_INC=/home/user/bin/lib/libint/include</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">INT_LIB=/home/user/bin/lib/libint/lib</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">CC       = cc</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">CPP      = </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">FC       = mpiifort</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">LD       = mpiifort</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">AR       = ar -r</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">DFLAGS   = -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -D__FFTW3 -D__LIBINT -D__HAS_NO_ISO_C_BINDING</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">CPPFLAGS = -C -traditional $(DFLAGS) -I$(INTEL_INC) -I$(INT_INC) -I$(FFTW3_INC)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">FCFLAGS  = $(DFLAGS) -I$(INTEL_INC) -I$(INT_INC) -I$(FFTW3_INC) -O3 -xW -heap-arrays 64 -funroll-loops -fpp -free</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">FCFLAGS2 = $(DFLAGS) -I$(INTEL_INC) -I$(INT_INC) -I$(FFTW3_INC) -O1 -xW -heap-arrays 64 -fpp -free</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">LDFLAGS  = $(FCFLAGS) -I$(INTEL_LIB) -L$(INT_LIB) -L$(FFTW3_LIB)</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">LIBS     = $(LDFLAGS) -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_lapack95_lp64 -lmkl_sequential -lmkl_core -lguide -lfftw3 /home/user/bin/lib/libint/lib/libint_cpp_wrapper.o -lderiv -lint -lr12 -lstdc++</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">OBJECTS_ARCHITECTURE = machine_intel.o</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">graphcon.o: graphcon.F</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:47px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">        $(FC) -c $(FCFLAGS2) $< </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">-- <br />You received this message because you are subscribed to the Google Groups "cp2k" group.<br />To view this discussion on the web visit </span><a href="https://groups.google.com/d/msg/cp2k/-/J6EH6lKxC4QJ"><span style=" font-size:11pt; text-decoration: underline; color:#0057ae;">https://groups.google.com/d/msg/cp2k/-/J6EH6lKxC4QJ</span></a><span style=" font-size:11pt;">.<br />To post to this group, send email to cp...@googlegroups.com.<br />To unsubscribe from this group, send email to cp2k+uns...@googlegroups.com.<br />For more options, visit this group at http://groups.google.com/group/cp2k?hl=en.<br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;"><br /><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-size:11pt;">-- </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Without Questions there are no Answers!</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">______________________________________________________________________</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Alin Marin ELENA</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Advanced Molecular Simulation Research Laboratory</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">School of Physics, University College Dublin</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">----</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Ardionsamblú Móilíneach Saotharlann Taighde</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">Scoil na Fisice, An Coláiste Ollscoile, Baile Átha Cliath</span></p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">-----------------------------------------------------------------------------------</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">http://alin.elenaworld.net</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:11pt;">______________________________________________________________________</span></p></body></html>