Compile 6.4.1 on Mac OS X 10.6.4 using gnu compiler
Posted: Tue Oct 12, 2010 1:36 am
Hi, I've had no problem compiling previous versions (6.2.3, etc) using GNU compilers on my Mac as long as i disable libxc and netcdf. But with 6.4.1 I've got the following error:
----------------------------------------------------
gfortran -m64 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/Users/jianglai/Downloads/abinit-6.4.1/src/mods -O2 -m64 -g -ffree-line-length-none -c -o timab.o timab.F90
timab.F90:116.20:
integer(C_LONG_LONG) :: flops1
1
Error: Kind 0 not supported for type INTEGER at (1)
timab.F90:117.13:
real(C_FLOAT) :: real_time, proc_time
1
Error: Kind 0 not supported for type REAL at (1)
timab.F90:163.9:
flops1 = 0
1
Error: Symbol 'flops1' at (1) has no IMPLICIT type
timab.F90:164.12:
proc_time = zero
1
Error: Symbol 'proc_time' at (1) has no IMPLICIT type
timab.F90:165.12:
real_time = zero
1
Error: Symbol 'real_time' at (1) has no IMPLICIT type
make[3]: *** [timab.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
----------------------------------------------------
The configure I used is:
./configure --prefix=/usr/local/abinit/ --enable-64bit-flags --disable-libxc --disable-netcdf
and I'm also attaching the config.log file.
I tried to use ifort(11.0.89) but got an link error described here viewtopic.php?f=2&t=446. However the fix involving ranlib does not work since there is no src/01_qespresso_ext/lib01_qespresso_ext.a file.
If anyone can give a clue it'll be really appreciated!
Thanks all.
----------------------------------------------------
gfortran -m64 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/Users/jianglai/Downloads/abinit-6.4.1/src/mods -O2 -m64 -g -ffree-line-length-none -c -o timab.o timab.F90
timab.F90:116.20:
integer(C_LONG_LONG) :: flops1
1
Error: Kind 0 not supported for type INTEGER at (1)
timab.F90:117.13:
real(C_FLOAT) :: real_time, proc_time
1
Error: Kind 0 not supported for type REAL at (1)
timab.F90:163.9:
flops1 = 0
1
Error: Symbol 'flops1' at (1) has no IMPLICIT type
timab.F90:164.12:
proc_time = zero
1
Error: Symbol 'proc_time' at (1) has no IMPLICIT type
timab.F90:165.12:
real_time = zero
1
Error: Symbol 'real_time' at (1) has no IMPLICIT type
make[3]: *** [timab.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
----------------------------------------------------
The configure I used is:
./configure --prefix=/usr/local/abinit/ --enable-64bit-flags --disable-libxc --disable-netcdf
and I'm also attaching the config.log file.
I tried to use ifort(11.0.89) but got an link error described here viewtopic.php?f=2&t=446. However the fix involving ranlib does not work since there is no src/01_qespresso_ext/lib01_qespresso_ext.a file.
If anyone can give a clue it'll be really appreciated!
Thanks all.