Comments (10)
I think you're talking about this line
from oceananigans.jl.
This might be a symptom of the fact that we don't have a Project.toml
for examples... (or compat)... can you try updating CairoMakie
to the latest version and confirm you get this error? Or let us know what version / packages you are using?
from oceananigans.jl.
waywardpidgeon, I think it's because of incompatibility of the CairoMakie version we use to build the docs (for the latest stable release that's 0.10.11
Oceananigans.jl/docs/Manifest.toml
Lines 154 to 158 in 1c2a6f8
and the one you are using. Which CairoMakie/GLMakie version are you using?
from oceananigans.jl.
Apologies - other urgent work and family needs have delayed me. I'm using
Julia 1.9.3
CairoMakie v0.9.4
and have in my status report
GLMakie v0.7.4 and Makie v0.18.4
I tried to use update with the pkg manager to no effect, but see I should be using [email protected], which I am now installing.
This was not successful. For example the file S7LmV_3TYIX.dll would not load giving a permission denied error, but my check of the properties/security did not reveal a deficiency.
However, the example worked fine.
Many thanks - Kevin
from oceananigans.jl.
If you start a clean project and install Oceananigans then you should be able to install GLMakie v0.9 or CairoMakie v0.11 and things should work seamlessly.
Anyway thanks. Since you mention the example works fine I'll consider this issue closed.
from oceananigans.jl.
@navidcy I think @waywardpidgeon is saying that run!(simulation)
succeeds, but the plotting afterwards does not...
We may want to make some comment about clean environments somewhere. Or, make this process more robust
from oceananigans.jl.
I'm wondering if it'd be helpful to print out at the end of every documented example the output of
julia> using Pkg; Pkg.status()
Status `~/Oceananigans.jl/docs/Project.toml`
[13f3f980] CairoMakie v0.11.6
[e30172f5] Documenter v1.2.1
[daee34ce] DocumenterCitations v1.3.2
[033835bb] JLD2 v0.4.45
[98b081ad] Literate v2.16.1
[442fdcdd] Measures v0.3.2
⌅ [85f8d34a] NCDatasets v0.13.2
[9e8cae18] Oceananigans v0.90.6 `~/Oceananigans.jl`
[f27b6e38] Polynomials v4.0.6
[bdfc003b] TimesDates v0.3.1
[37e2e46d] LinearAlgebra
so people would know what versions of packages were used for that example.
from oceananigans.jl.
What about having an environment for the examples?
from oceananigans.jl.
Hm. It’s the environment that the docs are built with. But it’s bit cumbersome to figure out.
If we have a separate env for the examples then we need to ensure that the docs built those examples with that environment. I’ll see if that’s possible.
from oceananigans.jl.
Yeah, plus the docs environment has many more things that aren't needed for the examples?
from oceananigans.jl.
Related Issues (20)
- 2D turbulence example is outputting `NaNs` HOT 1
- Doing better than `overwriting_existing=true` with output? HOT 5
- Lagrangian particles on Flat topology HOT 3
- `ImmersedPoissonSolver` is slow HOT 10
- `@eval` considered harmful HOT 3
- Noise below the mixed layer when using `AnisotropicMinimumDissipation` HOT 7
- `Clock` and `QuasiAdamsBashforth2` both have a property representing the previous time-step
- What's the point of neglecting the computation of tendencies when taking a time-step?
- Boundary conditions and diffusion with background fields HOT 17
- Bug in determination of indices of parent array by `parent_index_range` HOT 14
- Broadcasting over regions for `MultiRegionField`s HOT 2
- Forcing functions that depend on internal model fields besides velocities and tracers HOT 18
- Typo in docs on callbacks
- Call it "Simulation setup" in the docs, not "Model setup"
- `BackgroundField` is a confusing name HOT 2
- Derivatives of a reduced field over an Immersed boundary HOT 5
- Pressure has extremely high gradients in random chunks of simulation using `NonhydrostaticModel` with `ImmersedBoundaryGrid` and `BuoyancyTracer` HOT 17
- Simulation tips may be a little misleading
- Lagrangian_particles (tracked_fields and using immersed boundaries) HOT 9
- boundary condition and output questions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oceananigans.jl.