compilte 5.4.4 version
Posted: Wed Apr 26, 2017 10:57 am
Dear all,
I have been compiling version 5.4.1 successfully. However the compilation of the 5.4.4 version gives me an error rapidly for the compilation of mpi.f routine :
Here is my makefile.include file :
Does anyone could help ?
Thank you in advance,
Pierre
I have been compiling version 5.4.1 successfully. However the compilation of the 5.4.4 version gives me an error rapidly for the compilation of mpi.f routine :
Code: Select all
mkdir build/std ; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
make[1]: Entering directory '/home/pmignon/bin/VASP/VASP544/vasp.5.4.4/build/std'
rsync -ru ../../src/lib .
cp makefile.include lib
make -C lib -j1
make[2]: Entering directory '/home/pmignon/bin/VASP/VASP544/vasp.5.4.4/build/std/lib'
make libdmy.a
make[3]: Entering directory '/home/pmignon/bin/VASP/VASP544/vasp.5.4.4/build/std/lib'
gcc -E -P -C preclib.F >preclib.f90
mpif90 -O1 -ffree-form -ffree-line-length-none -c -o preclib.o preclib.f90
gcc -O -c -o timing_.o timing_.c
gcc -O -c -o derrf_.o derrf_.c
gcc -O -c -o dclock_.o dclock_.c
gcc -E -P -C diolib.F >diolib.f90
mpif90 -O1 -ffree-form -ffree-line-length-none -c -o diolib.o diolib.f90
gcc -E -P -C dlexlib.F >dlexlib.f90
mpif90 -O1 -ffree-form -ffree-line-length-none -c -o dlexlib.o dlexlib.f90
gcc -E -P -C drdatab.F >drdatab.f90
mpif90 -O1 -ffree-form -ffree-line-length-none -c -o drdatab.o drdatab.f90
mpif90 -O1 -c linpack_double.f
gcc -O -c -o getshmem.o getshmem.c
rm -f libdmy.a
ar vq libdmy.a preclib.o timing_.o derrf_.o dclock_.o diolib.o dlexlib.o drdatab.o linpack_double.o getshmem.o
ar: création de libdmy.a
a - preclib.o
a - timing_.o
a - derrf_.o
a - dclock_.o
a - diolib.o
a - dlexlib.o
a - drdatab.o
a - linpack_double.o
a - getshmem.o
make[3]: Leaving directory '/home/pmignon/bin/VASP/VASP544/vasp.5.4.4/build/std/lib'
make[2]: Leaving directory '/home/pmignon/bin/VASP/VASP544/vasp.5.4.4/build/std/lib'
rsync -u ../../src/*.F ../../src/*.inc .
rm -f vasp ; make vasp ; cp vasp ../../bin/vasp_std
make[2]: Entering directory '/home/pmignon/bin/VASP/VASP544/vasp.5.4.4/build/std'
gcc -E -P -C c2f_interface.F >c2f_interface.f90 -DMPI -DHOST=\"IFC91_ompi\" -DIFC -DCACHE_SIZE=4000 -Davoidalloc -DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective -DnoAugXCmeta -Duse_bse_te -Duse_shmem -Dtbdyn -DNGZhalf
mpif90 -ffree-form -ffree-line-length-none -O2 -I/usr/include -c c2f_interface.f90
gcc -E -P -C base.F >base.f90 -DMPI -DHOST=\"IFC91_ompi\" -DIFC -DCACHE_SIZE=4000 -Davoidalloc -DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective -DnoAugXCmeta -Duse_bse_te -Duse_shmem -Dtbdyn -DNGZhalf
mpif90 -ffree-form -ffree-line-length-none -O2 -I/usr/include -c base.f90
gcc -E -P -C profiling.F >profiling.f90 -DMPI -DHOST=\"IFC91_ompi\" -DIFC -DCACHE_SIZE=4000 -Davoidalloc -DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective -DnoAugXCmeta -Duse_bse_te -Duse_shmem -Dtbdyn -DNGZhalf
mpif90 -ffree-form -ffree-line-length-none -O2 -I/usr/include -c profiling.f90
gcc -E -P -C openmp.F >openmp.f90 -DMPI -DHOST=\"IFC91_ompi\" -DIFC -DCACHE_SIZE=4000 -Davoidalloc -DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective -DnoAugXCmeta -Duse_bse_te -Duse_shmem -Dtbdyn -DNGZhalf
mpif90 -ffree-form -ffree-line-length-none -O2 -I/usr/include -c openmp.f90
gcc -E -P -C mpi.F >mpi.f90 -DMPI -DHOST=\"IFC91_ompi\" -DIFC -DCACHE_SIZE=4000 -Davoidalloc -DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective -DnoAugXCmeta -Duse_bse_te -Duse_shmem -Dtbdyn -DNGZhalf
mpif90 -ffree-form -ffree-line-length-none -O2 -I/usr/include -c mpi.f90
mpi.f90:436.65:
CALL MPI_Comm_split_type(COMM%MPI_COMM,MPI_COMM_TYPE_SHARED,0,MPI_INFO_NULL,COMM_intra%MPI_COMM,ierror)
1
Error: Symbol 'mpi_comm_type_shared' at (1) has no IMPLICIT type
mpi.f90:556.10:
USE mpimy
1
Fatal Error: Can't open module file 'mpimy.mod' for reading at (1): Aucun fichier ou dossier de ce type
makefile:169: recipe for target 'mpi.o' failed
make[2]: *** [mpi.o] Error 1
make[2]: Leaving directory '/home/pmignon/bin/VASP/VASP544/vasp.5.4.4/build/std'
cp: impossible d'évaluer « vasp »: Aucun fichier ou dossier de ce type
makefile:142: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/pmignon/bin/VASP/VASP544/vasp.5.4.4/build/std'
makefile:10: recipe for target 'std' failed
make: *** [std] Error 2
Here is my makefile.include file :
Code: Select all
# Precompiler options
CPP_OPTIONS= -DMPI -DHOST=\"IFC91_ompi\" -DIFC \
-DCACHE_SIZE=4000 -Davoidalloc \
-DMPI_BLOCK=8000 -DscaLAPACK -Duse_collective \
-DnoAugXCmeta -Duse_bse_te \
-Duse_shmem -Dtbdyn
CPP = gcc -E -P -C $*$(FUFFIX) >$*$(SUFFIX) $(CPP_OPTIONS)
FC = mpif90
FCL = mpif90
FREE = -ffree-form -ffree-line-length-none
FFLAGS =
OFLAG = -O2
OFLAG_IN = $(OFLAG)
DEBUG = -O0
LIBDIR = /usr/lib/x86_64-linux-gnu
BLAS = -L$(LIBDIR) -lblas
LAPACK = -L$(LIBDIR) -llapack
BLACS = -L$(LIBDIR) -lblacs-openmpi -lblacsCinit-openmpi
SCALAPACK = -L$(LIBDIR) -lscalapack-openmpi $(BLACS)
OBJECTS = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o \
/usr/lib/x86_64-linux-gnu/libfftw3.a
INCS =-I/usr/include
LLIBS = $(SCALAPACK) $(LAPACK) $(BLAS)
OBJECTS_O1 += fft3dfurth.o fftw3d.o fftmpi.o fftmpiw.o chi.o
OBJECTS_O2 += fft3dlib.o
# For what used to be vasp.5.lib
CPP_LIB = $(CPP)
FC_LIB = $(FC)
CC_LIB = gcc
CFLAGS_LIB = -O
FFLAGS_LIB = -O1
FREE_LIB = $(FREE)
OBJECTS_LIB= linpack_double.o getshmem.o
# Normally no need to change this
SRCDIR = ../../src
BINDIR = ../../bin
Does anyone could help ?
Thank you in advance,
Pierre