Skip to content

Error loading Oscar from different nodes on HPC cluster #1995

Closed
@VAddala9

Description

Oscar does not load when on different compute nodes on an HPC cluster (MIT Supercloud). Oscar does load on the login node which is the one I used to install Oscar.

On other nodes, when I run using Oscar, I get the following error:

ERROR: InitError: ArgumentError: '/home/gridsan/vaddala9/.julia/scratchspaces/d720cf60-89b5-51f5-aff5-213f193123e7/polymake_4089907222526935278_1.7_depstree/deps/FLINT_jll' exists. `force=true` is required to remove '/home/gridsan/vaddala9/.julia/scratchspaces/d720cf60-89b5-51f5-aff5-213f193123e7/polymake_4089907222526935278_1.7_depstree/deps/FLINT_jll' before copying.
Stacktrace:
  [1] checkfor_mv_cp_cptree(src::String, dst::String, txt::String; force::Bool)
    @ Base.Filesystem ./file.jl:325
  [2] cp(src::String, dst::String; force::Bool, follow_symlinks::Bool)
    @ Base.Filesystem ./file.jl:364
  [3] rename(src::String, dst::String; force::Bool)
    @ Base.Filesystem ./file.jl:967
  [4] rename
    @ ./file.jl:964 [inlined]
  [5] force_symlink(source::String, target::String)
    @ Polymake ~/.julia/artifacts/e8b92adf0c63efefd4d6e7f697525c23844133fa/share/polymake/generate_deps_tree.jl:31
  [6] prepare_deps_tree(targetdir::String)
    @ Polymake ~/.julia/artifacts/e8b92adf0c63efefd4d6e7f697525c23844133fa/share/polymake/generate_deps_tree.jl:53
  [7] __init__()
    @ Polymake ~/.julia/packages/Polymake/w7g9z/src/Polymake.jl:104
  [8] _include_from_serialized(path::String, depmods::Vector{Any})
    @ Base ./loading.jl:768
  [9] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
    @ Base ./loading.jl:854
 [10] _tryrequire_from_serialized(modkey::Base.PkgId, build_id::UInt64, modpath::String)
    @ Base ./loading.jl:783
 [11] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
    @ Base ./loading.jl:843
 [12] _require(pkg::Base.PkgId)
    @ Base ./loading.jl:1097
 [13] require(uuidkey::Base.PkgId)
    @ Base ./loading.jl:1013
 [14] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:997
during initialization of module Polymake

The output of Oscar.versioninfo(full=true) from the login node is below:

OSCAR version 0.11.2
  combining:
    AbstractAlgebra.jl   v0.27.8
    GAP.jl               v0.9.2
    Hecke.jl             v0.16.7
    Nemo.jl              v0.32.7
    Polymake.jl          v0.8.3
    Singular.jl          v0.14.0
  building on:
    Antic_jll               v0.201.500+0
    Arb_jll                 v200.2300.0+0
    Calcium_jll             v0.401.100+0
    FLINT_jll               v200.900.4+0
    GAP_jll                 v400.1200.200+0
    Singular_jll            v403.101.500+0
    libpolymake_julia_jll   v0.8.3+1
    libsingular_julia_jll   v0.27.0+1
    polymake_jll            v400.700.1+1
See `]st -m` for a full list of dependencies.

Julia Version 1.7.3
Commit 742b9abb4d (2022-05-06 12:58 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake-avx512)
Environment:
  JULIA_LOAD_PATH = @:@v#.#:@stdlib:/state/partition1/llgrid/pkg/julia/julia-1.7.3/local/share/julia/environments/v1.7/:.
  JULIA_PROJECT = /home/gridsan/vaddala9/.julia/environments/v1.7
Official https://julialang.org/ release

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions