[SOLVED] Abinit version 6.6.1 Compile error on OpenSUSE 11.3
Posted: Mon Mar 07, 2011 12:00 am
Hello,
My system specification:
Intel 980X hexacore
12GB RAM
NVIDIA 480M GPU
Intel Compiler 11.1
(Also using MPICH2)
OpenSUSE 11.3 x64 with kernel 2.6.34
Before compiling, I did:
export CC=mpicc
export CXX=mpicxx
export FC=mpif90
When I try to compile with the following command:
./configure --enable-gpu="yes" --with-gpu-flavor="cuda-double" --with-gpu-incs="-I/usr/local/cuda/include" --with-gpu-libs="-L/usr/local/cuda/lib64 -lcublas -lcufft -lcudart" --with-gpu-cppflags="" --with-gpu-cflags="" --with-gpu-ldflags="" --enable-mpi="yes" --with-mpi-incs="-I/home/farid/mpi/include" --with-mpi-libs="-L/home/farid/mpi/libs -lmpi" --with-mpi-level="2" MPI_RUNNER="/usr/local/bin/mpiexec" --enable-64bit--flags="yes"
The "make" command will stop with error:
compilation aborted for wvl_utils.F90 (code 1)
Right above that, I think the specific errors are:
wvl_utils.F90(97) error #6460: This is not a field name that is defined in the encompassing structure. [LFRZTYP]
allocate(dtse%wvl%atoms%lfrztyp(dtset%natom))
----------------------------------------^
wvl_utils.F90(98) error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.
dtset%wvl%atoms%lfrztyp= .false.
-----------------------------------------^
This is all happening as the compiler is in the ~abinit-6.6.1/src/53_abiutil. What can I do? Please help.
My system specification:
Intel 980X hexacore
12GB RAM
NVIDIA 480M GPU
Intel Compiler 11.1
(Also using MPICH2)
OpenSUSE 11.3 x64 with kernel 2.6.34
Before compiling, I did:
export CC=mpicc
export CXX=mpicxx
export FC=mpif90
When I try to compile with the following command:
./configure --enable-gpu="yes" --with-gpu-flavor="cuda-double" --with-gpu-incs="-I/usr/local/cuda/include" --with-gpu-libs="-L/usr/local/cuda/lib64 -lcublas -lcufft -lcudart" --with-gpu-cppflags="" --with-gpu-cflags="" --with-gpu-ldflags="" --enable-mpi="yes" --with-mpi-incs="-I/home/farid/mpi/include" --with-mpi-libs="-L/home/farid/mpi/libs -lmpi" --with-mpi-level="2" MPI_RUNNER="/usr/local/bin/mpiexec" --enable-64bit--flags="yes"
The "make" command will stop with error:
compilation aborted for wvl_utils.F90 (code 1)
Right above that, I think the specific errors are:
wvl_utils.F90(97) error #6460: This is not a field name that is defined in the encompassing structure. [LFRZTYP]
allocate(dtse%wvl%atoms%lfrztyp(dtset%natom))
----------------------------------------^
wvl_utils.F90(98) error #6303: The assignment operation or the binary expression operation is invalid for the data types of the two operands.
dtset%wvl%atoms%lfrztyp= .false.
-----------------------------------------^
This is all happening as the compiler is in the ~abinit-6.6.1/src/53_abiutil. What can I do? Please help.