Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Precompilation of CairoMakie fails #3563

Closed
3 tasks done
jerlich opened this issue Jan 24, 2024 · 3 comments
Closed
3 tasks done

Precompilation of CairoMakie fails #3563

jerlich opened this issue Jan 24, 2024 · 3 comments
Labels

Comments

@jerlich
Copy link

jerlich commented Jan 24, 2024

  • are you running newest version (version from docs) ? yes
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie) yes
  • What platform + GPU are you on? PopOS 6.2.0-26-generic + Nvidia RTX 3070 Ti
(test) pkg> st
Status `~/repos/oct/OctagonAgents.jl/notebooks/test/Project.toml`
  [13f3f980] CairoMakie v0.11.5

(test) pkg> precompile
Precompiling project...
  ✗ Polynomials → PolynomialsFFTWExt
  ✗ KernelDensity
  ✗ Makie
  ✗ CairoMakie
  0 dependencies successfully precompiled in 14 seconds. 248 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

CairoMakie [13f3f980-e62b-5c42-98c6-ff1f3baf88f0]

Failed to precompile CairoMakie [13f3f980-e62b-5c42-98c6-ff1f3baf88f0] to "/home/jerlich/.julia/compiled/v1.10/CairoMakie/jl_kp02Iu".
ERROR: LoadError: ArgumentError: Package FFTW [7a1cc6ca-52ef-59f5-83cd-3a7055c09341] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 20 × Intel(R) Xeon(R) Silver 4210R CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, cascadelake)
  Threads: 1 on 20 virtual cores
❯ nvidia-smi                                                                                                                                                                             (base)
Wed Jan 24 11:26:51 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 545.29.06              Driver Version: 545.29.06    CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3070 Ti     Off | 00000000:2D:00.0 Off |                  N/A |
|  0%   55C    P8              26W / 290W |    424MiB /  8192MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A   1153345      G   /usr/lib/xorg/Xorg                          320MiB |
|    0   N/A  N/A   1153547      G   /usr/bin/gnome-shell                         19MiB |
|    0   N/A  N/A   1154786      G   ...ures=SpareRendererForSitePerProcess       14MiB |
|    0   N/A  N/A   1214531      G   ...sion,SpareRendererForSitePerProcess       57MiB |
+---------------------------------------------------------------------------------------+
@jerlich jerlich added the bug label Jan 24, 2024
@SimonDanisch
Copy link
Member

I can't reproduce this...

  ✗ Polynomials → PolynomialsFFTWExt
ERROR: The following 1 direct dependency failed to precompile:

CairoMakie [13f3f980-e62b-5c42-98c6-ff1f3baf88f0]

ERROR: LoadError: ArgumentError: Package FFTW [7a1cc6ca-52ef-59f5-83cd-3a7055c09341] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.

I think this is a problem with your project somehow... Maybe some config for FFTW?
Or it's a Polynomials bug, since its the first package to fail compiling in the chain.
I'd try instantiate/up and explicitly adding FFTW.

@jerlich
Copy link
Author

jerlich commented Jan 24, 2024

If i dev FFTW then it can precompile

@jerlich
Copy link
Author

jerlich commented Jan 24, 2024

seems my .julia folder got into a strange state. i started from scratch and everything seems to work 🤷🏻

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants