[Pw_forum] reporting a possible compilation problem

Francesco Iori francesco.iori at gmail.com
Tue Jul 11 11:49:29 CEST 2006


Hello all
I am am newbie of espresso and i have tried to compile it on my
machine, a amd64 with suse10.1.
i have downloaded the 95 prebuilt binary
"Linux x86_64/EMT64 (64 bit D.I. (2006-07-10 11:26)Default integer of
64 bits, may break older programs "

after doing a ./configure with no reported errors (i am currently
using espresso internal libraries) the make pw command gave me the
following message:


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'
In file iotk_scan.spp:412

     control = modulo(header,iotk_ncontrol+1)
               1
Error: Function 'modulo' at (1) has no implicit type
make[2]: *** [iotk_scan.o] Error 1
make[2]: Leaving directory `/stuff/espresso-3.1.1/iotk/src'
make[1]: *** [libiotk.a] Error 2
make[1]: Leaving directory `/stuff/espresso-3.1.1/iotk'
make: *** [libiotk] Error 2


i have then tried to compile with a different version of the g95 compiler:
"Linux x86_64/EMT64 (32 bit D.I.) (2006-07-10 11:29) Default integer
of 32 bits, compatible with older programs"
i have then cleaned, rebuilt the make.sys file and recompiled.
This time everything was fine
Is there any reason for the error given by what i thought was the
appropriate compiler(including errors of the operator)?
thanks
Francesco Iori

-- 
""Put your hand on a hot stove for a minute, and it seems like an
hour. Sit with a pretty girl for an hour, and it seems like a minute.
THAT′S relativity."
    Albert Einstein."
Albert Einstein



More information about the users mailing list