Page 1 of 1

VASP 5.4.4 compilation error

Posted: Fri Apr 03, 2020 9:13 am
by cazade
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

Re: VASP 5.4.4 compilation error

Posted: Mon Apr 06, 2020 8:13 am
by merzuk.kaltak
Please upload more information as described in the forum posting guidelines.

Re: VASP 5.4.4 compilation error

Posted: Mon Apr 13, 2020 8:23 am
by cazade
Dear VASP users,

Please find attached to this message a zip file containing the makefile.include I am using and the stdout (make.log) from make.

Regards,
Pierre

Re: VASP 5.4.4 compilation error

Posted: Wed Apr 29, 2020 7:44 am
by merzuk.kaltak
The origin of the error is explained in this thread.
Closing this thread due to double post.