compilation error (pointers in wave.f90) vasp 6.1.0
Posted: Thu Apr 09, 2020 9:20 pm
hi,
this is my first post in the forum i´m trying to compile vasp 6.1.0 using gnu compiler 8.3.1 with openmpi 4.0.1 and MKL libraries (btw I had vasp 5.4 installed in my machine compiled with gcc 4.8.5 and it worked all right).
I got an error while compiling wave.f90:
"Error: Assignment to contiguous pointer from non-contiguous target at (1)
wave.f90:521:20:
WDW%CPTWFP=> W%CPTWFP(:,:,:,2)
1"
I´m guessing the problem is the gnu compiler version because older versions (which I want to try to avoid) didn´t point out as an error this assignment.
Is there any way around it? It´d be great if it isn´t necessary to go back to a previous gnu compiler version.
Any help will be appreciate it,
cheers
Eduardo
this is my first post in the forum i´m trying to compile vasp 6.1.0 using gnu compiler 8.3.1 with openmpi 4.0.1 and MKL libraries (btw I had vasp 5.4 installed in my machine compiled with gcc 4.8.5 and it worked all right).
I got an error while compiling wave.f90:
"Error: Assignment to contiguous pointer from non-contiguous target at (1)
wave.f90:521:20:
WDW%CPTWFP=> W%CPTWFP(:,:,:,2)
1"
I´m guessing the problem is the gnu compiler version because older versions (which I want to try to avoid) didn´t point out as an error this assignment.
Is there any way around it? It´d be great if it isn´t necessary to go back to a previous gnu compiler version.
Any help will be appreciate it,
cheers
Eduardo