Abinit 6.2.1 on OS X 10.5.8

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
deepaki
Posts: 1
Joined: Fri Jul 30, 2010 3:54 am

Abinit 6.2.1 on OS X 10.5.8

Post by deepaki » Fri Jul 30, 2010 4:00 am

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!

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Abinit 6.2.1 on OS X 10.5.8

Post by pouillon » Wed Aug 04, 2010 6:45 pm

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.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked