[Users] Compile question

Roland Haas rhaas at illinois.edu
Tue Jan 31 06:06:51 CST 2017


Hello all,

if the Fortran compiler sees the chkinx macro then it sounds to me as if the preprocessor is set incorrectly. Could you check whether in your options file (configs/kranc/config-info or the one you passed to make via options=) does either set FPP to cpp --traditional or does not set it at all?

Yours,
Roland

----- Original Message -----
From: Ian Hinder <ian.hinder at aei.mpg.de>
Sent: 2017-01-31 - 06:30
To: Guy Pitman <guy.pitman at bigpond.com>
Subject: Re: [Users] Compile question

> 
> On 31 Jan 2017, at 08:21, Guy Pitman <guy.pitman at bigpond.com> wrote:
> 
>> Hi,
>> 
>> I am trying to compile a new Kranc thorn on a MacBook Pro (Sierra) and am getting an error
>> 
>> COMPILING arrangements/Carpet/CarpetLib/src/prolongate_3d_real8_tvd.F90
>> gfortran: warning: couldn’t understand kern.osversion ‘16.1.0
>> /Users/Guy/Documents/Einsteintoolkit/Cactus/configs/kranc/build/CarpetLib/prolongate_3d_real8_tvd.f90:128.11:
>> 
>>            CHKIDX (i0  ,j0  ,k0  , srciext,srcjext,srckext, "src")
>>            1
>> Error: Unclassifiable statement at (1)
>> /Users/Guy/Documents/Einsteintoolkit/Cactus/configs/kranc/build/CarpetLib/prolongate_3d_real8_tvd.f90:129.11:
>> 
>>            CHKIDX (i0+2,j0+2,k0+2, srciext,srcjext,srckext, "src")
>>            1
>> Error: Unclassifiable statement at (1)
>> /Users/Guy/Documents/Einsteintoolkit/Cactus/configs/kranc/build/CarpetLib/prolongate_3d_real8_tvd.f90:170.11:
>> 
>>            CHKIDX (dstioff+i+1, dstjoff+j+1, dstkoff+k+1, dstiext,dstjext,dstke
>>            1
>> Error: Unclassifiable statement at (1)
>> make[4]: *** [prolongate_3d_real8_tvd.F90.o] Error 1
>> make[3]: *** [make.checked] Error 2
>> make[2]: *** [/Users/Guy/Documents/Einsteintoolkit/Cactus/configs/kranc/lib/libthorn_CarpetLib.a] Error 2
>> make[1]: *** [kranc] Error 2
>> make: *** [kranc-config] Error 2
>> 
>> 
>> I previously installed the simple example for OSX and that ran OK.  
>> 
>> The attached file contains the ThornList that I am using. 
>> <kranc.th>
>> 
>> Do you have any suggestions?
> 
> Hi guy,
> 
> Just as a data point: these seem to be problems with the fortran compiler, rather than Kranc.  Probably a fortran expert needs to answer.
> 
> -- 
> Ian Hinder
> http://members.aei.mpg.de/ianhin
> 
> _______________________________________________
> Users mailing list
> Users at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users


-- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.


More information about the Users mailing list