[CP2K:4726] compiling cp2k with ifort 14&friends
Iain Bethune
ibet... at epcc.ed.ac.uk
Thu Oct 24 11:38:34 UTC 2013
Hi Alin,
The code in fft_tools.F is taken from Intel (http://software.intel.com/en-us/articles/how-to-set-number-of-users-threads-while-using-intel-mkl-fftw3-wrappers-3).
I think this discussion here http://software.intel.com/en-us/forums/topic/339666 confirms that the warning can be safely ignored.
Note with ifort 14.0, you can do without the -O1 for graphcon.F
Cheers
- Iain
--
Iain Bethune
Project Manager, EPCC
Email: ibet... at epcc.ed.ac.uk
Twitter: @IainBethune
Web: http://www2.epcc.ed.ac.uk/~ibethune
Tel/Fax: +44 (0)131 650 5201/6555
Mob: +44 (0)7598317015
Addr: 2404 JCMB, The King's Buildings, Mayfield Road, Edinburgh, EH9 3JZ
On 24 Oct 2013, at 12:19, Alin Marin Elena wrote:
> Hi,
>
> I try to compile cp2k (from trunk) with in ifort 14 during the linking stage I get this
>
> ld: Warning: alignment 16 of symbol `fftw3_mkl' in /ichec/home/packages/intel-cluster-studio/2013-sp1/composer_xe_2013_sp1.0.080/mkl/lib/intel64/libmkl_intel_lp64.so is smaller than 32 in /ichec/home/staff/alin/lavello/cp2k/cp2k/makefiles/../lib/fionn/psmp/libcp2k_lib.a(environment.o)
>
> I see the alignment is defined in ../src/fft_tools.F +216
> and is set to 8.
> Any reason for that? (I have attached my arch)
>
> regards,
> Alin
>
> CC = icc
> CPP =
> FC = mpiifort -openmp -mt_mpi
> LD = mpiifort -openmp -mt_mpi
> AR = ar -r
> #DFLAGS = -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -D__FFTMKL -D__ELPA -I$(MKLROOT)/include/fftw
> DFLAGS = -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -D__FFTMKL -I$(MKLROOT)/include/fftw
> CPPFLAGS =
> FCFLAGS = $(DFLAGS) -O3 -xHost -funroll-loops -fpp -free
> FCFLAGS2 = $(DFLAGS) -O1 -xHost -fpp -free
> LDFLAGS = $(FCFLAGS)
> LIBS = -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_sequential -lmkl_intel_lp64 -lmkl_core
>
> OBJECTS_ARCHITECTURE = machine_intel.o
>
> graphcon.o: graphcon.F
> $(FC) -c $(FCFLAGS2) $<
>
>
> --
> Without Questions there are no Answers!
> ______________________________________________________________________
> Dr. Alin Marin ELENA
> http://alin.elenaworld.net/
> ______________________________________________________________________
>
>
> --
> You received this message because you are subscribed to the Google Groups "cp2k" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+uns... at googlegroups.com.
> To post to this group, send email to cp... at googlegroups.com.
> Visit this group at http://groups.google.com/group/cp2k.
> For more options, visit https://groups.google.com/groups/opt_out.
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the CP2K-user
mailing list