On 31 Jan 2017, at 08:21, Guy Pitman <guy.pitman@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