Hello,

I successfully compiled siesta-4.1-b4 in an AMD box with OpenSUSE+Intel
(compiler+MPI).

Now, when compiling in an Intel box (same software), I got the error:










*010101_13492fortcom: Severe: **Internal compiler error: internal abort**
Please report this error along with the circumstances in which it occurred
in a Software Problem Report.  Note: File and line given may not be
explicit cause of this error.ipo-4: error #11005: multi-object compilation
3 returned error status 3ifort: error #10014: problem during multi-file
optimization compilation (code 3)Makefile:493: recipe for target 'siesta'
failedmake: *** [siesta] Error 3*
My arch.make file is:
# 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- .
#
#
# ------------
#
# Execution:
#
#           mpirun -np NPROCS siesta ....
#
SIESTA_ARCH=intel-mpi
#
#
FC=mpiifort
FC_SERIAL=ifort
CC=mpiicc
CXX=mpicxx
RANLIB=ranlib
MKLPATH=/software/intel/compiladores/composer_xe_2015.1.133/mkl/lib/intel64
#
#  You can play with other optimization options
#  I am not sure whether the compiler attempts to multithread the code
#
#CPP = $(FC) -P -E
#FFLAGS= -w  -O2 -mp
FFLAGS=-O3 -ipo -xHost -ip -prec-div -prec-sqrt -opt-prefetch
-mkl=parallel  -I${MKLROOT}/include
FFLAGS_CHECKS=-g -O0 -debug full -traceback -C
FFLAGS_DEBUG= -g
#COMP_LIBS += libncdf.a libfdict.a
#RANLIB=echo
#
# You might want to turn off FoX for Intel11
#
DUMMY_FOX=--enable-dummy
#
#

INCFLAGS += -I/software/SIESTA_LIBS/netcdf/4.4.1/include
LDFLAGS += -L/software/SIESTA_LIBS/zlib/1.2.8/lib
-Wl,-rpath=/software/SIESTA_LIBS/zlib/1.2.8/lib
LDFLAGS += -L/software/SIESTA_LIBS/hdf5/1.8.16/lib64
-Wl,-rpath=/software/SIESTA_LIBS/hdf5/1.8.16/lib64
LDFLAGS += -L/software/SIESTA_LIBS/netcdf/4.4.1/lib64
-Wl,-rpath=/software/SIESTA_LIBS/netcdf/4.4.1/lib64
LIBS += -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz
COMP_LIBS += libncdf.a libfdict.a
FPPFLAGS += -DCDF -DNCDF -DNCDF_4
LDFLAGS += -static-intel -L$(MKLPATH)

#
MPI_INTERFACE=libmpi_f90.a
MPI_INCLUDE=/software/intel/MPI/compilers_and_libraries_2017.1.132/linux/mpi/intel64/include
# Note . for no-op
MPI_LIBS=
-L/software/intel/MPI/compilers_and_libraries_2017.1.132/linux/mpi/intel64/lib
-lmpi_90
FPPFLAGS_MPI=-DMPI

METIS_LIB=/software/SIESTA_LIBS/parmetis-4.0.3/lib/libparmetis.a
FPPFLAGS += -DSIESTA__METIS

# MUMPS
LIBS += -L/software/SIESTA_LIBS/MUMPS-5.0.2/lib -lzmumps -lmumps_common
FPPFLAGS += -DSIESTA__MUMPS
#
# From the "Intel advisor"
#
#MKLPATH=/mnt/SoftIns/intel/composer_xe_2015.1.133/mkl/lib/intel64
#SUGGESTED_LIBS=$(MKLPATH)/libmkl_scalapack_ilp64.a \
#               -Wl,--start-group \
#                  $(MKLPATH)/libmkl_blacs_intelmpi_ilp64.a \
#                  $(MKLPATH)/libmkl_sequential.a \
#                  $(MKLPATH)/libmkl_intel_ilp64.a \
#                  $(MKLPATH)/libmkl_core.a \
#                  $(MKLPATH)/libmkl_intel_thread.a \
#                  $(MKLPATH)/libmkl_blacs_intelmpi_ilp64.a \
#               -Wl,--end-group \
#               -lpthread
#
MKLROOT=${MKLPATH}
SUGGESTED_LIBS= ${MKLROOT}/libmkl_blas95_lp64.a
${MKLROOT}/libmkl_lapack95_lp64.a \
                ${MKLROOT}/libmkl_scalapack_lp64.a \
                -Wl,--start-group \
                     ${MKLROOT}/libmkl_intel_lp64.a \
                     ${MKLROOT}/libmkl_sequential.a \
                     ${MKLROOT}/libmkl_core.a \
                     ${MKLROOT}/libmkl_blacs_intelmpi_lp64.a \
                -Wl,--end-group \
                -lm -ldl

LIBS=$(SUGGESTED_LIBS) $(NETCDF_LIBS) $(COMP_LIBS) $(METIS_LIB)
#
SYS=nag
FPPFLAGS= $(FPPFLAGS_CDF) $(FPPFLAGS_MPI)
INCFLAGS +=$(NETCDF_INCFLAGS)
#FFLAGS += $(INCFLAGS)
#
FFLAGS_DEBUG = -g -O1   # your appropriate flags here...

# The atom.f code is very vulnerable. Particularly the Intel compiler
# will make an erroneous compilation of atom.f with high optimization
# levels.
atom.o: atom.F
    $(FC) -c $(FFLAGS_DEBUG) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F) $<

.c.o:
    $(CC) -c $(CFLAGS) $(INCFLAGS) $(CPPFLAGS) $<
.F.o:
    $(FC) -c $(FFLAGS) $(INCFLAGS)  $(FPPFLAGS) $<
.f.o:
    $(FC) -c $(FFLAGS) $(INCFLAGS)   $<
.F90.o:
    $(FC) -c $(FFLAGS) $(INCFLAGS)  $(FPPFLAGS) $<
.f90.o:
    $(FC) -c $(FFLAGS) $(INCFLAGS)  $(FPPFLAGS) $<

[]'s,

Camps

Responder a