[Pw_forum] Installing QE 4.0.5 on Mac Pro 64-bit and gfortran
Cristian Degli Esposti Boschi
cristian.degliesposti at unibo.it
Wed Jun 3 15:36:18 CEST 2009
>Have you tried with 4.3.x for instance (not Apple build)? There should
>be also 4.4.x available.
I have just tried to compile with gcc 4.3.3 (GCC build). The configure
step is like this:
sudo ./configure --disable-parallel CC=gcc-4 CFLAGS="-m64" FFLAGS="-m64"
F90FLAGS="-m64" CPPFLAGS="-m64" LDFLAGS="-m64"
(gcc-4 means 4.3.3 on our Mac Pro). When I try 64-bit compilation
the errors with fft_scalar are still there...
(for instance "Symbol ... at (1) already has basic type of INTEGER").
I searched in Google for this type of errors with gfortran and
it is likely that Axel Kohlmeyer is right:
>ok. now that explains something. your default compiler installation
>is a 32-bit version. those have a limited address space of about
>2GB. this is why you are running out of memory. when you change
>to 64-bit mode, this is resolved. however, you cannot just change
>make.sys. you have to re-run configure and pass the -m64 flag
>with the compiler flags (for c, f77 _and_ f90) and then compilation
>should work. in 64-bit mode some parts of the fortran and c code
>in Q-E have to be adjusted due to the difference in pointer size
>vs. the default integer size compared to 32-bit mode.
So, where and how should I fix the pointer size vs. the default integer
size? Thanks again. Cristian
--
___________________________________________________
Cristian Degli Esposti Boschi
CNR, CNISM, Unita' di Ricerca di Bologna, c/o
Dipartimento di Fisica, Universita' di Bologna
viale Berti-Pichat, 6/2, 40127, Bologna, Italia
tel. ++39 051 2095114 fax ++39 051 2095113
e-mail: cristian.degliesposti -AT- unibo.it
web: http://www.df.unibo.it/fismat/theory
___________________________________________________
More information about the users
mailing list