<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I eventually managed to solve the problem and fix it. <br><br>The delicate point in the linkage. We should be careful to<br>to avoid the use of the ILP version of the MKL library, such as<br><br>/mkl/10.0.1.014/lib/em64t/libmkl_blacs_openmpi_ilp64.a<br><br>and replace it with the *most recommended* LP version as follows<br><br>/mkl/10.0.1.014/lib/em64t/libmkl_blacs_openmpi_lp64.a<br><br>For more details I strongly recommend to have a look at the <br>following www site<br><br>http://www.unix.org/version2/whatsnew/lp64_wp.html<br><br>Roberto<br><br>--- <b>Mer 22/10/08, Axel <i><ak...@gmail.com></i></b> ha scritto:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">Da: Axel <ak...@gmail.com><br>Oggetto: [CP2K:1477] Re: Compiling cp2k serial on x86_64 Intel Xeon Intel Ifort Suse  Enterprise 9
 (PARALLEL)<br>A: "cp2k" <...@googlegroups.com><br>Data: Mercoledì 22 ottobre 2008, 18:14<br><br><pre>roberto,<br><br>there are a bunch of possible reasons for getting segmentation faults<br>with intel compilers. i already sent you my arch files that work well<br>with recent intel 10 compilers and reduce the optimization level where<br>the compiler has a tendency to miscompile cp2k, do larger local<br>allocations<br>on the heap and link with MKL in a way that it does no unwanted multi-<br>threading.<br><br>this all has been discussed in this forum repeatedly (try searching<br>the<br>google group for "intel fortran" or "ifort"...<br><br>cheers,<br>    axel.<br><br>On Oct 22, 3:12 am, Roberto Scipioni <roberti...@yahoo.it><br>wrote:<br>> Hi all,<br>><br>> Now I have been trying to make the parallel version work<br>> I used the arch file (I used ifort 10.0 and mkl 10)<br>><br>> CC       = icc<br>> CPP      =
 cpp<br>> FC       = /opt/ompi_ifort10/bin/mpif90 -FR<br>> FC_fixed = /opt/ompi_ifort10/bin/mpif90 -FI<br>> LD       = /opt/ompi_ifort10/bin/mpif90 -i_dynamic -openmp<br>> AR       = ar -r<br>> DFLAGS   = -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK<br>-D__FFTW3<br>> CPPFLAGS = -traditional -C $(DFLAGS) -P<br>> FCFLAGS  = $(DFLAGS) -O3 -Vaxlib<br>> LDFLAGS  = $(FCFLAGS) -L/opt/intel/mkl/10.0.1.014/lib/em64t/<br>> LIBS=/opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_scalapack.a<br>/opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_blacs_openmpi_ilp64.a<br>/opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_em64t.a<br>/opt/FFTW/fftw-3.1.3/.libs/libfftw3.a -lguide -lpthread<br>><br>> OBJECTS_ARCHITECTURE = machine_intel.o<br><br>


      <hr size=1><font face="Arial" size="2">Scopri il <a href="http://us.rd.yahoo.com/mail/it/taglines/yahoo/ymail/SIG=11djrg460/**http%3A%2F%2Fwww.ymailblogit.com%2Fblog%2F"> Blog di Yahoo! Mail</a>: trucchi, novità, consigli... e scrivi la tua opinione!</font>