[Users] compilation problem on x86-64

Erik Schnetter schnetter at cct.lsu.edu
Tue Feb 15 19:06:29 CST 2011


Maria

Another solution could be to add the option -m128bit-long-double to
all of CFLAGS, CXXFLAGS, F77FLAGS, and F90FLAGS.

-erik

On Tue, Feb 15, 2011 at 2:07 PM, Erik Schnetter <schnetter at cct.lsu.edu> wrote:
> Maria
>
> Do you need real*16 for your work? Otherwise it would be easiest to
> just not use this type. For Cactus itself, you can use either of the
> options
>
> REAL16_KIND = 10
>
> or
>
> DISABLE_REAL16 = yes
>
> to choose what you want to do. Do either of these options help?
>
> -erik
>
> On Sat, Feb 12, 2011 at 3:00 PM, Babiuc-Hamilton, Maria
> <babiuc at marshall.edu> wrote:
>> Hi,
>>
>> I found on the web that x86-64 CPUs do not support require 16-bytes precision, and gfortran 4.5 supports only up to kind=10. I compiled just fine using ifort on another x86-64, but it seems that the intel compilers can do this in software. The new gfortran 4.6 would support a quad precision in software. Was anybody successful in compiling on a x86-64 with GNU compilers?
>>
>> best,
>> Maria
>>
>> ________________________________________
>> From: users-bounces at einsteintoolkit.org [users-bounces at einsteintoolkit.org] on behalf of Babiuc-Hamilton, Maria [babiuc at marshall.edu]
>> Sent: Friday, February 11, 2011 9:30 PM
>> To: users at einsteintoolkit.org
>> Subject: [Users] compilation problem on 10.10 ubuntu
>>
>> Hello,
>>
>> I have problems compiling einsteintoolkit on Ubuntu 10.10 with gnu 4.4 or 4.5 compilers. The errors are:
>>
>> H5fortran_detect.f90:164.26:
>>
>>    REAL(KIND=          16 ) :: a
>>                          1
>> Error: Kind 16 not supported for type REAL at (1)
>> H5fortran_detect.f90:167.21:
>>
>>    a_size = SIZEOF(a)
>>                     1
>> Error: Symbol 'a' at (1) has no IMPLICIT type
>> make[4]: *** [H5fortran_detect.o] Error 1
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all-recursive] Error 1
>> Building HDF5...
>>
>> CST error 1:
>>  -> Configuration script for thorn HDF5 returned exit code 1
>>     (no error message)
>>
>> Maria
>> _______________________________________________
>> Users mailing list
>> Users at einsteintoolkit.org
>> http://lists.einsteintoolkit.org/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> Users at einsteintoolkit.org
>> http://lists.einsteintoolkit.org/mailman/listinfo/users
>>
>
>
>
> --
> Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/
>



-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/


More information about the Users mailing list