Page 1 of 1

Abinit 6.2.1 on OS X 10.5.8

Posted: Fri Jul 30, 2010 4:00 am
by deepaki
Hello all

I have gcc43 and g95. Configure went through without complaining (some warnings about static builds). make bails out with the following error:
...
In file libxc.f90:28

module xc_f90_ ## types_m
1
Error: Unclassifiable statement at (1)
In file libxc.f90:32

integer, public, parameter :: xc_f90_kind = selected_real_kind(14)
1
Error: PUBLIC attribute not allowed at (1)
In file libxc.f90:35

type xc_f90_ ## pointer_t
1
Error: Unclassifiable statement at (1)
Error: PRIVATE statement must appear in a MODULE
In file libxc.f90:38

end type xc_f90_ ## pointer_t
1
Error: Expecting END PROGRAM statement at (1)
In file libxc.f90:40

end module xc_f90_ ## types_m
1
Error: Expecting END PROGRAM statement at (1)
In file libxc.f90:44

module xc_f90_ ## lib_m
1
Error: Unclassifiable statement at (1)
In file libxc.f90:46

use xc_f90_ ## types_m
1
Error: Syntax error in USE statement at (1)
In file libxc.f90:47

use libxc_funcs_m
1
In file libxc.f90:37

integer, pointer :: buffer
2
Error: USE statement at (1) cannot follow data declaration statement at (2)
In file libxc.f90:49

implicit none
1
In file libxc.f90:37

integer, pointer :: buffer
2
Error: IMPLICIT NONE statement at (1) cannot follow data declaration statement at (2)
Error: PUBLIC statement must appear in a MODULE
In file libxc.f90:87

integer function xc_f90_ ## info_number(info)
1
Error: Syntax error in data declaration at (1)
Fatal Error: Too many errors, aborting.
make[7]: *** [libxc.o] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [build-stamp] Error 2
make[3]: *** [package-ready] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
...

Any ideas?

Thanks a ton,
Deepak
PS: Apologies if the post doesn't bind to rules of the forum. New here and in a hurry to sort this out. Thanks again!

Re: Abinit 6.2.1 on OS X 10.5.8

Posted: Wed Aug 04, 2010 6:45 pm
by pouillon
For some reason I'm not able to pinpoint, the preprocessing step went wrong on your machine. Unfortunately I cannot say more, because I don't use Macs.