[Pw_forum] Compiling espresso-3.1.1 on AMD Athlon 4200/Linux-64

Andrea Ferretti ferretti.andrea at unimore.it
Fri Oct 20 18:24:44 CEST 2006


this is a kind inconsistency in call to intrinsic functions;

such problems have been fixed in the cvs version of espresso
substituting lines like

control = modulo(header,iotk_ncontrol+1)

with

control = modulo(header,int(iotk_ncontrol+1,kind=kind(header))) 


you can try to repeat the trick for all the lines where the compiler 
complains, otherwise try to you replace the espresso-3.1.1/iotk/ with
espresso_CVS/iotk, it may probably work without any further problem..

andrea


On Fri, 20 Oct 2006 gryko at jsu.edu wrote:

> 
>   Dear PW users:
> 
>   I am trying to cmpile espresso-3.1.1 on AMD Athlon 4200 dual core,
>   running Fedora-5 (64 bit version) using g95.  The compilation stops
>   with the following error:
> 
> g95 -O3 -cpp -D__LINUX64 -D__G95 -D__FFTW -D__USE_INTERNAL_FFTW -I../include 
> -I. -I../Modules -I../PW -I../PH -I../iotk/src -I../CPV -c iotk_scan.f90
> In file iotk_scan.spp:412
> 
>       control = modulo(header,iotk_ncontrol+1)
>                               1
> Error: 'p' argument of 'modulo' intrinsic at (1) must be the same type and kind
> as 'a'
> 
>   There are several posts on g95, but I still cannot solve this problem.
>   Thank you for any hints or comments.
> 
>   Jan
> 
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
> 



More information about the Pw_forum mailing list