Skip to content

Segfault during resolving on compute clusters #26

@ma-sadeghi

Description

@ma-sadeghi
>>> juliapkg.resolve()
[juliapkg] Locating Julia ^1.6.1
[juliapkg] Using Julia 1.9.1 at /cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/julia/1.9.1/bin/julia
[juliapkg] Using Julia project at /home/aminsad/Code/venv/julia_env
[juliapkg] Installing packages:
           julia> import Pkg
           julia> Pkg.add([Pkg.PackageSpec(name="PythonCall", uuid="6099a3de-0909-46bc-b1f4-468b9a2dfc0d"), Pkg.PackageSpec(name="EquivalentCircuits", uuid="da5bd070-f609-4e16-a30d-de86b3faa756", url=raw"https://github.com/ma-sadeghi/EquivalentCircuits.jl", rev=raw"bug/fix-ndarray-serialization")])
           julia> Pkg.resolve()
           julia> Pkg.precompile()
     Cloning git-repo `https://github.com/ma-sadeghi/EquivalentCircuits.jl`

[29527] signal (11.1): Segmentation fault
in expression starting at none:1
unknown function (ip: 0x1)
unknown function (ip: 0x2ad48c8d95ae)
Allocations: 1687247 (Pool: 1686073; Big: 1174); GC: 3
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/aminsad/Code/venv/lib/python3.11/site-packages/juliapkg/deps.py", line 282, in resolve
    run([exe, '--project='+project, '--startup-file=no', '-e', '; '.join(script)], check=True, env=env)
  File "/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.11.5/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/julia/1.9.1/bin/julia', '--project=/home/aminsad/Code/venv/julia_env', '--startup-file=no', '-e', 'import Pkg; Pkg.add([Pkg.PackageSpec(name="PythonCall", uuid="6099a3de-0909-46bc-b1f4-468b9a2dfc0d"), Pkg.PackageSpec(name="EquivalentCircuits", uuid="da5bd070-f609-4e16-a30d-de86b3faa756", url=raw"https://github.com/ma-sadeghi/EquivalentCircuits.jl", rev=raw"bug/fix-ndarray-serialization")]); Pkg.resolve(); Pkg.precompile()']' died with <Signals.SIGSEGV: 11>. 

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