Skip to content

ERROR because ExponentialCoordinate #595

@francispoulin

Description

@francispoulin

I am not able to run ClimaOcean because of a problem with ExponentialCoordinate.

When I try update I am told there is an error. It suggests that I precompile. When I try precompile you can see the problem below.

First, there is a warning as ExponentialCoordinate is defined in both ClimaOcean and GridUtils.

Second, it then says this function is not defined.

I deleted my .julia file and then started this fresh and the problem still persists.

This is with ClimaOcean v0.7.3 and julia v1.10.9.

(ClimaOcean) pkg> precompile
  ✗ ClimaOcean
Precompiling packages finished.
  0 dependencies successfully precompiled in 12 seconds. 238 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

ClimaOcean 

Failed to precompile ClimaOcean [0376089a-ecfe-4b0e-a64f-9c555d74d754] to "/u/fpoulin/.julia/compiled/v1.10/ClimaOcean/jl_bYK3T4".
┌ Warning: CUDA runtime library `libcublasLt.so.12` was loaded from a system path, `/opt/uw/cuda/12.3.2/lib64/libcublasLt.so.12`.
│ This may cause errors.
│ 
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│ 
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/ja0IX/src/initialization.jl:218
┌ Warning: CUDA runtime library `libnvJitLink.so.12` was loaded from a system path, `/opt/uw/cuda/12.3.2/lib64/libnvJitLink.so.12`.
│ This may cause errors.
│ 
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│ 
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/ja0IX/src/initialization.jl:218
┌ Warning: CUDA runtime library `libcusparse.so.12` was loaded from a system path, `/opt/uw/cuda/12.3.2/lib64/libcusparse.so.12`.
│ This may cause errors.
│ 
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│ 
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/ja0IX/src/initialization.jl:218
WARNING: both GridUtils and Oceananigans export "ExponentialCoordinate"; uses of it in module ClimaOcean must be qualified
ERROR: LoadError: UndefVarError: `ExponentialCoordinate` not defined
Stacktrace:
 [1] macro expansion
   @ ~/software/ClimaOcean.jl/src/ClimaOcean.jl:115 [inlined]
 [2] macro expansion
   @ ~/.julia/packages/PrecompileTools/L8A3n/src/workloads.jl:78 [inlined]
 [3] macro expansion
   @ ~/software/ClimaOcean.jl/src/ClimaOcean.jl:113 [inlined]
 [4] macro expansion
   @ ~/.julia/packages/PrecompileTools/L8A3n/src/workloads.jl:140 [inlined]
 [5] top-level scope
   @ ~/software/ClimaOcean.jl/src/ClimaOcean.jl:111
 [6] include
   @ ./Base.jl:495 [inlined]
 [7] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2292
 [8] top-level scope
   @ stdin:4
in expression starting at /u/fpoulin/software/ClimaOcean.jl/src/ClimaOcean.jl:1
in expression starting at stdin:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions