Hello Roland, The config-info file contains
# CONFIGURATION : kranc # CONFIG-DATE : Tue Jan 31 07:07:04 2017 (GMT) # CONFIG-HOST : Guy-Pitman.local # CONFIG-STATUS : 0 # CONFIG-OPTIONS : PROMPT=no THORNLIST=kranc.th <http://kranc.th/> I assume that the example in https://docs.einsteintoolkit.org/et-docs/Simplified_Tutorial_for_New_Users <https://docs.einsteintoolkit.org/et-docs/Simplified_Tutorial_for_New_Users> uses a fortran compiler- I can successfully compile it using ./simfactory/bin/sim build --mdbkey make 'make -j2' --thornlist=manifest/einsteintoolkit.th but I am not clear where the compiler switches reside and why my Kranc example is failing. Regards Guy > On 31 Jan. 2017, at 10:36 pm, Roland Haas <[email protected]> wrote: > > 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 <[email protected]> > Sent: 2017-01-31 - 06:30 > To: Guy Pitman <[email protected]> > Subject: Re: [Users] Compile question > >> >> On 31 Jan 2017, at 08:21, Guy Pitman <[email protected]> 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 >> [email protected] >> 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.
_______________________________________________ Users mailing list [email protected] http://lists.einsteintoolkit.org/mailman/listinfo/users
