[aspect-devel] ASPECT on Mac
Wolfgang Bangerth
bangerth at tamu.edu
Fri Dec 12 19:54:59 PST 2014
Menno,
> Thanks for the link to the new package. It did unfortunatly not work,
> outputting the errors shown in the attached file. But it seems I got a version
> of trilinos (11.8.1) and deal.ii working which can run the free-surface
> benchmark without problems up to at least 30 timesteps.
>
> There also seems to be a problem with the latent heat cookbook as shown below
> (in both versions).
>
> Thanks!
>
> Menno
>
> Mennos-MacBook-Pro:aspect Menno$ mpirun -np 1 ./aspect cookbooks/latent-heat.prm
> -----------------------------------------------------------------------------
> -- This is ASPECT, the Advanced Solver for Problems in Earth's ConvecTion.
> -- . version 1.2.pre
> -- . running in DEBUG mode
> -- . running with 1 MPI process
> -- . using Trilinos
> -----------------------------------------------------------------------------
>
> Number of active cells: 16384 (on 8 levels)
> Number of degrees of freedom: 214788 (132098+16641+66049)
>
> Message: Unexpected token "1000" found at position 0.
> Formula: 1000.0
> Token: 1000
> Position: 0
> Errc: 1
>
>
> ----------------------------------------------------
> Exception on processing:
>
> --------------------------------------------------------
> An error occurred in line <395> of file
> </Users/Menno/Documents/Phd/aspect/dealii/source/base/function_parser.cc> in
> function
> virtual double dealii::FunctionParser<2>::value(const Point<dim> &, const
> unsigned int) const [dim = 2]
> The violated condition was:
> false
> The name and call sequence of the exception was:
> ExcParseError(e.GetCode(), e.GetMsg().c_str())
> Additional Information:
> Parsing Error at Column 1. The parser said: Unexpected token "1000" found at
> position 0.
> --------------------------------------------------------
I am only now catching up from a (far too long) inability to tend to ASPECT
matters. I've tried to run this with the same input as you, but I don't get
your error.
Do you still get this error? I suspect that this must come from the following
parameter:
subsection Initial conditions
set Model name = function
subsection Function
set Function expression = 1000.0
set Variable names = x,y
end
end
Of course, the value "1000.0" is completely reasonable, so I don't quite
understand what exactly the problem is. I could speculate that there may be
some invisible character (spaces?) at the end of the line, or that maybe you
have a locale set that requires a comma instead of a point to separate digits
(as, for example, the German locale requires, unlike what is used in English
and American English locales). But in the end, I'm a bit stumped...
Best
Wolfgang
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth at math.tamu.edu
www: http://www.math.tamu.edu/~bangerth/
More information about the Aspect-devel
mailing list