I get the following error while compiling vasp5.2 in parallel with gcc-9.3.0 and openmpi
The parameters in the Makefile are as followsbase.f:1:1:
1 | /* Copyright (C) 1991-2012 Free Software Foundation, Inc.
| 1
Error: Invalid character in name at (1)
base.f:16:4:
16 | <http://www.gnu.org/licenses/>. */
| 1
Error: Invalid character in name at (1)
base.f:19:1:
19 | /* This header is separate from features.h so that the compiler can
| 1
Error: Invalid character in name at (1)
base.f:22:4:
22 | <features.h> because the implicit include comes before any feature
| 1
and many more similar lines
Code: Select all
FC=/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Compiler/gcc9/openmpi/4.0.3/bin/mpif90
FCL=$(FC)
FFLAGS = -ffree-form -fno-second-underscore
OFLAG=-O3
CPP_ = ./preprocess <$*.F | /usr/bin/cpp -P -C -traditional >$*$(SUFFIX)
CPP = $(CPP_) -DHOST=\"gfortran\" \
-DMPI -DMPI_BLOCK=8000 \
-Duse_collective -DCACHE_SIZE=12000 -Davoidalloc -DNGZhalf \
-DVASP2WANNIER90v2
LAPACK=-L/cvmfs/soft.computecanada.ca/easybuild/software/2020/Core/imkl/2020.1.217/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lmkl_blacs_lp64
LIB = -L../vasp.5.lib -ldmy \
../vasp.5.lib/linpack_double.o $(LAPACK) \
$(SCA) $(BLAS) ../wannier90-2.1.0/libwannier.a
FFT3D = fftmpi.o fftmpi_map.o fft3dfurth.o fft3dlib.o
Any hints would be appreciated.
Thank you,
Vahid