Buffer overflow in cp2k_shell.popt
Eric Hermes
erich... at gmail.com
Tue Mar 8 18:36:26 UTC 2016
Hello,
I have tried to narrow down the possible sources of this buffer overflow by
removing as many of the optional dependencies as possible. Doing so results
in the exact same buffer overflow error as above. Here is my stripped-down
build:
CC = /home/ehermes/local/openmpi-1.10.2/bin/mpicc
CXX = /home/ehermes/local/openmpi-1.10.2/bin/mpicxx
CPP = /lib/cpp
FC = /home/ehermes/local/openmpi-1.10.2/bin/mpif90 -FR
FC_fixed = /home/ehermes/local/openmpi-1.10.2/bin/mpif90 -FI
LD = /home/ehermes/local/openmpi-1.10.2/bin/mpif90
#AR = /usr/bin/ar -r
# Use of xiar instead of ar eliminates several errors/warnings
AR =
/opt/intel-2016/compilers_and_libraries_2016.2.181/linux/bin/intel64/xiar -r
#Better with mkl (intel lapack/blas) only
#DFLAGS = -D__INTEL -D__FFTSG -D__parallel
#If you want to use BLACS and SCALAPACK use the flags below
DFLAGS = -D__MKL -D__INTEL_COMPILER -D__INTEL -D__parallel -D__BLACS
-D__SCALAPACK -D__FFTSG
CPPFLAGS = -C $(DFLAGS) -P -traditional
FCFLAGS = -O0 -xHost -pc64 -funroll-loops -mkl=sequential
-I${MKLROOT}/include
CFLAGS = $(FCFLAGS)
CXXFLAGS = $(FCFLAGS)
LDFLAGS = $(FCFLAGS)
#If you want to use BLACS and SCALAPACK use the libraries below
LIBS = -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64 -lpthread -lm -ldl
OBJECTS_ARCHITECTURE = machine_intel.o
What steps should I follow to continue debugging this issue?
Thanks,
Eric Hermes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20160308/d3e8f02f/attachment.htm>
More information about the CP2K-user
mailing list