VASP 5.4.4 compilation error
Posted: Fri Apr 03, 2020 9:13 am
Dear VASP users,
I have been trying to compile VASP on my workstation with gfortran and stumbled on this error while compiling wave.F:
mpif90 -ffree-form -ffree-line-length-none -w -frepack-arrays -O2 -I/usr/include -c wave.f90
wave.f90:1208:15:
W1%CPTWFP=>W%CPTWFP(:,:,:,ISPIN)
1
Error: Assignment to contiguous pointer from non-contiguous target at (1)
Is there a way to fix this? There doesn't seem to be a keyword in the gnu compiler to address this issue.
Regards,
Pierre
I have been trying to compile VASP on my workstation with gfortran and stumbled on this error while compiling wave.F:
mpif90 -ffree-form -ffree-line-length-none -w -frepack-arrays -O2 -I/usr/include -c wave.f90
wave.f90:1208:15:
W1%CPTWFP=>W%CPTWFP(:,:,:,ISPIN)
1
Error: Assignment to contiguous pointer from non-contiguous target at (1)
Is there a way to fix this? There doesn't seem to be a keyword in the gnu compiler to address this issue.
Regards,
Pierre