R: SOLVED - Compiling cp2k serial on x86_64 Intel Xeon Intel Ifort Suse Enterprise 9 (PARALLEL)

Roberto Scipioni robertino... at yahoo.it
Thu Oct 23 08:53:51 UTC 2008

I eventually managed to solve the problem and fix it. 

The delicate point in the linkage. We should be careful to
to avoid the use of the ILP version of the MKL library, such as


and replace it with the *most recommended* LP version as follows


For more details I strongly recommend to have a look at the 
following www site



--- Mer 22/10/08, Axel <akoh... at gmail.com> ha scritto:
Da: Axel <akoh... at gmail.com>
Oggetto: [CP2K:1477] Re: Compiling cp2k serial on x86_64 Intel Xeon Intel Ifort Suse  Enterprise 9 (PARALLEL)
A: "cp2k" <cp... at googlegroups.com>
Data: Mercoledì 22 ottobre 2008, 18:14


there are a bunch of possible reasons for getting segmentation faults
with intel compilers. i already sent you my arch files that work well
with recent intel 10 compilers and reduce the optimization level where
the compiler has a tendency to miscompile cp2k, do larger local
on the heap and link with MKL in a way that it does no unwanted multi-

this all has been discussed in this forum repeatedly (try searching
google group for "intel fortran" or "ifort"...


On Oct 22, 3:12 am, Roberto Scipioni <robertino... at yahoo.it>
> Hi all,
> Now I have been trying to make the parallel version work
> I used the arch file (I used ifort 10.0 and mkl 10)
> CC       = icc
> CPP      = cpp
> FC       = /opt/ompi_ifort10/bin/mpif90 -FR
> FC_fixed = /opt/ompi_ifort10/bin/mpif90 -FI
> LD       = /opt/ompi_ifort10/bin/mpif90 -i_dynamic -openmp
> AR       = ar -r
> CPPFLAGS = -traditional -C $(DFLAGS) -P
> FCFLAGS  = $(DFLAGS) -O3 -Vaxlib
> LDFLAGS  = $(FCFLAGS) -L/opt/intel/mkl/
> LIBS=/opt/intel/mkl/
/opt/FFTW/fftw-3.1.3/.libs/libfftw3.a -lguide -lpthread
> OBJECTS_ARCHITECTURE = machine_intel.o

      Scopri il blog di Yahoo! Mail:
Trucchi, novità e scrivi la tua opinione.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20081023/111b44ac/attachment.htm>

More information about the CP2K-user mailing list