intel 17+
Hello Nick,
Just wondering if you are aware of any known issues when compiling TranSiesta with intel 17+ fortran compilers?
I successfully compiled siesta and transiesta with intel-17.0.1.132 but at run time Transiesta ends with a seg fault right after the SCF and before starting the transiesta run. Any thought?
Thank you so much for your help,
David Guzman
Purdue University
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Siesta Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please:
1) State the siesta version
2) Show the compilation options
3) If you use the correct compilation options siesta and *any* intel compiler works well.
See intel.make in the Obj directory for details. And also, don't do -O3.
Revision history for this message
|
#2 |
Hello Nick,
1) I am working with the 4.1_b3 version
2) Attached the makefile I am using
Thanks for your help,
David
Revision history for this message
|
#3 |
Could find how to attach the file. I just copy/paste it
Thanks,
David
#
# This file is part of the SIESTA package.
#
# Copyright (c) Fundacion General Universidad Autonoma de Madrid:
# E.Artacho, J.Gale, A.Garcia, J.Junquera, P.Ordejon, D.Sanchez-Portal
# and J.M.Soler, 1996- .
#
# Use of this software constitutes agreement with the full conditions
# given in the SIESTA license, as signed by all legitimate users.
#
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90
SIESTA_
MKLROOT=
MKL_PATH=
FPP=
FPP_OUTPUT=
FC=mpif90
RANLIB=ranlib
SYS=nag
SP_KIND=4
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)
FFLAGS= -O2 -xSSE4.2 -ip -mp1 -fpp -heap-arrays 1024 -warn unused,
FFLAGS_DEBUG= -g
#LDFLAGS=-Vaxlib
#for Transieta compilation choose
FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DMPI -DGRID_DP -DPHI_GRID_SP
#for SIESTA compilation choose
#FPPFLAGS= -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DMPI -DCDF -DGRID_DP -DPHI_GRID_SP
INCFLAGS=
ARFLAGS_EXTRA=
FCFLAGS_fixed_f=
FCFLAGS_free_f90=
FPPFLAGS_fixed_F=
FPPFLAGS_free_F90=
BLAS_LIBS=
LAPACK_
BLACS_LIBS=
SCALAPACK_
NETCDF_
HDF5_LIBS=
NETCDF_
FPPFLAGS += -DCDF
#DEFS_CDF=-DCDF
#NETCDF_INTERFACE=
COMP_LIBS += libncdf.a libfdict.a
FPPFLAGS += -DNCDF -DNCDF_4
LIBS=$(
#SIESTA needs an F90 interface to MPI
#This will give you SIESTA's own implementation
#If your compiler vendor offers an alternative, you may change
#to it herebmpi_f90.
MPI_INTERFACE= libmpi_f90.a
MPI_INCLUDE=
#Dependency rules are created by autoconf according to whether
#discrete preprocessing is necessary or not.
.F.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $<
.F90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_
.f.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f) $<
.f90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90) $<
Revision history for this message
|
#4 |
I here list my arch.make using intel-18.0.1.
I used the equivalent flags for the intel version you state.
Please consult your local compilation wizard for suggestions, and if still having problems then please carefully follow: https:/
regarding the optimization flags.
PP = cpp -E -P -C -nostdinc
LIBS=$(ADDLIB) -lelpa -lmkl_scalapack
LIBS+= -lmkl_intel_lp64 -lmkl_core -lmkl_sequential
LDFLAGS=
FPPFLAGS= -I/opt/
.SUFFIXES:
.SUFFIXES: .f .F .o .a .f90 .F90 .c
SIESTA_
FPP=mpif90
FPP_OUTPUT=
CC=icc
FC=mpif90
FC_SERIAL=ifort
AR=xiar
RANLIB=ranlib
SYS=nag
SP_KIND=4
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)
FFLAGS=-m64 -fPIC -O2 -xHost -prec-div -prec-sqrt -fp-model source -qopt-prefetch
FFLAGS += #OMPPLACEHOLDER
FPPFLAGS += -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT -DCDF -DCDF4
ARFLAGS_EXTRA=
NETCDF_INCFLAGS= -I/zdata/
NETCDF_LIBS= -L/zdata/
ADDLIB=-lnetcdff -lnetcdf -lpnetcdf -lhdf5_hl -lhdf5 -lz
ADDLIB += #OMPPLACEHOLDER
INCFLAGS = -I/opt/
MPI_INTERFACE=
MPI_INCLUDE=.
FPPFLAGS += -DSIESTA__METIS -DSIESTA__MUMPS -DTS_NOCHECKS
ADDLIB += -lzmumps -lmumps_common -lesmumps -lscotch -lscotcherr -lpord -lparmetis -lmetis
METIS_LIB = -lmetis
FFTW_PATH = /zdata/
FFTW_INCFLAGS = -I$(FFTW_
FFTW_LIBS = -L$(FFTW_PATH)/lib -lfftw3 $(METIS_LIB)
LIBS += $(METIS_LIB)
FPPFLAGS += -DNCDF -DNCDF_4 -DNCDF_PARALLEL
COMP_LIBS += libncdf.a libfdict.a
FPPFLAGS += -DSIESTA__FLOOK
FLOOK_LIB = -L/zdata/
INCFLAGS += -I/zdata/
LIBS += $(FLOOK_LIB)
FPPFLAGS += -DSIESTA__ELPA
ELPA_LIB = -L/zdata/
INCFLAGS += -I/zdata/
LIBS += $(ELPA_LIB)
FPPFLAGS += -DSIESTA__MRRR
.F.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $<
.F90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $<
.f.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $<
.c.o:
$(CC) -c $(CFLAGS) $(INCFLAGS) $(FPPFLAGS) $<
.f90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $<
atom.o: atom.F
$(FC) -c -O1 $(INCFLAGS) $(FPPFLAGS) $<
m_new_dm.o: m_new_dm.F90
$(FC) -c -O2 $(INCFLAGS) $(FPPFLAGS) $<
Can you help with this problem?
Provide an answer of your own, or ask David Guzman for more information if necessary.