Closed efaulhaber closed 3 years ago
As @ranocha pointed out, the function refine_fn
in the p4est elixirs can cause the same problems.
https://github.com/trixi-framework/Trixi.jl/pull/621#discussion_r642033857
Concerning p4est functions: The workaround using let
blocks uses features that are not necessarily available on all systems. For example, the relevant Julia docs mention ARM and PowerPC. Does p4est work there?
Concerning tests: I will look into this
the relevant Julia docs mention ARM and PowerPC. Does p4est work there?
The P4est_jll.jl
packages is currently available for all platforms supported by Julia. Of course I have not been able to test it everywhere, but considering that there are supercomputers out there being equipped with ARM CPUs, I'd favor a solution - if possible - that does not preclude these architectures :grimacing:
Okay, we won't use this feature to interface C stuff
In elixirs like
examples/2d/elixir_advection_free_stream_curved.jl
, a functionmapping
is defined in the global testing namespace. Defining, e.g.,mapping = Trixi.coordinates2mapping(coordinates_min, coordinates_max)
in another example causes tests to fail withLoadError: cannot define function mapping; it already has a value
.