#576: Einstein toolkit installation problems ------------------------------+--------------------------------------------- Reporter: Vassilios Mewes | Owner: Type: defect | Status: new Priority: major | Milestone: Component: Other | Version: ET_2011_05 Resolution: | Keywords: fortran 77 compilation errors ------------------------------+---------------------------------------------
Comment (by alexander.beck-ratzka@…):
Hello Vassilios,
it seems to me as if there is an error during the preprocessing. E.g. in the arrangements sub-directory, I have:
[snip] 123 format(1x, 'Pars: amp',f8.5,' eta0',f8.5,' c',f8.5,' sigma',f8.5,' n',i3) [snip]
so the format statement in one line, but in config/build sub-directory th/build/DistortedBHIVP/DistortedBHIVP.fe code has changed to:
[snip] 123 format(1x, 'Pars: amp',f8.5,' eta0',f8.5,' c',f8.5,' sigma',f8.5,' & n',i3) [snip]
Can you please check the file:
Cactus/configs/testeh/build/DistortedBHIVP/DistortedBHIVP.f
(in you environment this should be
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f
whether it is conctructed correctly in a F77 kind of manner?
Best wishes
Alexander
[snip]
Replying to [ticket:576 Vassilios Mewes]:
Hello!
I am trying to install the Einstein toolkit. I followed the instructions
on the wiki (improved tutorial for new users)
i am using the following command to build the configuration: ./simfactory/bin/sim build firsttry
--thornlist=manifest/einsteintoolkit.th --optionlist=/home/vass/.cactus/config
there are compilation errors of F77 sourcefiles, i tried both gfortran
and the older g77 compiler, both give me numerous errors. I am using Ubuntu 11.04 x64...
this is my configuration file (for some reason, cactus won't find
gfortran unless i specify it in the configuration file, which i believe it should?):
CPP = cpp FPP = cpp CC = gcc CXX = g++ F77 = gfortran F90 = gfortran ffppflags= -traditional
MPI=OpenMPI
here are the error messages when trying to build:
above here it is building zlib and HDF5 and so on..i think these are all
build correctly..
Checking consistency... Creating Thorn-Flesh bindings... Creating implementation bindings... Creating parameter bindings... Creating variable bindings... Creating schedule bindings... Creating function bindings... CST finished. Checking status of thorn Boundary ________________________________________________________________________ Checking status of thorn CoordBase ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn ADMCoupling ________________________________________________________________________ Checking status of thorn ADMMacros ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn AEILocalInterp ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn BLAS ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn Fortran ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn CarpetLib ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn IOUtil ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn CarpetEvolutionMask ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn zlib ________________________________________________________________________ ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn CarpetMask ________________________________________________________________________ Checking status of thorn GSL ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn CarpetTracker ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn Constants ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn CoordGauge ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn SphericalSurface ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn DistortedBHIVP ________________________________________________________________________ ________________________________________________________________________ Checking status of thorn EOSG_Base ________________________________________________________________________ Preprocessing
/home/vass/Cactus/arrangements/EinsteinInitialData/DistortedBHIVP/src/DistortedBHIVP.F
Compiling
/home/vass/Cactus/arrangements/EinsteinInitialData/DistortedBHIVP/src/DistortedBHIVP.F
Preprocessing
/home/vass/Cactus/arrangements/EinsteinInitialData/DistortedBHIVP/src/Stab3d.F
Compiling
/home/vass/Cactus/arrangements/EinsteinInitialData/DistortedBHIVP/src/Stab3d.F
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:476.6:
123 format(1x, 'Pars: amp',f8.5,' eta0',f8.5,' c',f8.5,' sigma',f8.5,' 1 Error: Bad continuation line at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:476.6:
123 format(1x, 'Pars: amp',f8.5,' eta0',f8.5,' c',f8.5,' sigma',f8.5,' 1 Error: Unclassifiable statement at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:477.6:
&n',i3) 1Error: Bad continuation line at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:477.6:
&n',i3) 1Error: Unclassifiable statement at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:519.2:
qf(i,j,k) = amp*(1.00000000000000d0+c*cos(phigrd(k))**2)* 1 Error: Non-numeric character in statement label at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:521.72:
$ /sigma**2)))*sin(qgrd(j))**n
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:522.2:
qfetaeta(i,j,k) = amp*(1.00000000000000d0+c*cos(phigrd(k)) 1 Error: Non-numeric character in statement label at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:529.72:
$ )*sin(qgrd(j))**n
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:530.2:
qfqq(i,j,k) = amp*(-1.00000000000000d0+n)*n*(1.00000000 1 Error: Non-numeric character in statement label at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:538.72:
$ /sigma**2)))*sin(qgrd(j))**n
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:539.2:
qfphi(i,j,k) = -2.00000000000000d0*amp*c*cos(phigrd(k))*(exp(- 1 Error: Non-numeric character in statement label at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:542.72:
$ )*sin(phigrd(k))*sin(qgrd(j))**n
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:543.2:
qfphiphi(i,j,k) = -2.00000000000000d0*amp*c*cos(phigrd(k))**2* 1 Error: Non-numeric character in statement label at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:548.72:
$ sin(phigrd(k))**2*sin(qgrd(j))**n
1
Error: Unexpected STATEMENT FUNCTION statement at (1) /home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/Stab3d.f:105.6:
10 call usermv(cc,cn,cs,ce,cw,ct,cb,x,Ap,im,jm,km) 1 Error: Bad continuation line at (1) /home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/Stab3d.f:105.6:
10 call usermv(cc,cn,cs,ce,cw,ct,cb,x,Ap,im,jm,km) 1 Error: Unclassifiable statement at (1) /home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/Stab3d.f:138.4:
1 continue 1 Error: Non-numeric character in statement label at (1) /home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/Stab3d.f:138.4:
1 continue 1 Error: Unclassifiable statement at (1) /home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/Stab3d.f:181.72:
goto 10
1
Error: Label 10 referenced at (1) is never defined /home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/Stab3d.f:181.72:
goto 10
1
Error: Label 10 referenced at (1) is never defined /home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/Stab3d.f:194.72:
if (rnorm .gt. tol) goto 1
1
Error: Label 1 referenced at (1) is never defined make[3]: *** [Stab3d.F.o] Error 1 make[3]: *** Waiting for unfinished jobs....
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:1289.6:
110 continue 1 Error: Bad continuation line at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:1289.6:
110 continue 1 Error: Unclassifiable statement at (1)
/home/vass/Cactus/configs/firsttry/build/DistortedBHIVP/DistortedBHIVP.f:474.17:
write(*,123)amp,eta0,c,sigma,n 1Error: FORMAT label 123 at (1) not defined Checking status of thorn EOSG_Polytrope ________________________________________________________________________ make[3]: *** [DistortedBHIVP.F.o] Error 1 make[2]: *** [make.checked] Error 2 make[1]: ***
[/home/vass/Cactus/configs/firsttry/lib/libthorn_DistortedBHIVP.a] Error 2
make[1]: *** Waiting for unfinished jobs....
as thornlist i am using the einsteintoolkit.th thornlist as downloaded.
the compilation errors are not exclusive to the distortedBHIVP file,
when i comment this file to be build in the thornlist, other files won't be compiled as well...
might be a system error, as i already had problems downloading the
toolkit, it wouldn't download completely, but left out LocalInterp and LocalReduce for some strange reason.