Thank you for your comments.
Trying on CUDA_VISIBLE_DEVICES
Try using different devices by starting Julia with the CUDA_VISIBLE_DEVICES
env var set to a device number
$export CUDA_VISIBLE_DEVICES=0
$julia
julia > using CUDA
julia > y = CUDA.zeros(8,8)
(freezing...)
$export CUDA_VISIBLE_DEVICES=3
$julia
julia > using CUDA
julia > y = CUDA.zeros(8,8)
(freezing...)
Trying on CUDA.device!
using CUDA.device! at the start of a session
julia > using CUDA
julia > CUDA.device!(1)
CUDA.device!(1)
ERROR: CUDA error: invalid device ordinal (code 101, ERROR_INVALID_DEVICE)
Stacktrace:
[1] throw_api_error(res::CUDA.cudaError_enum)
@ CUDA ~/.julia/packages/CUDA/DfvRa/lib/cudadrv/error.jl:89
[2] macro expansion
@ ~/.julia/packages/CUDA/DfvRa/lib/cudadrv/error.jl:97 [inlined]
[3] cuDeviceGet
@ ~/.julia/packages/CUDA/DfvRa/lib/utils/call.jl:26 [inlined]
[4] CuDevice
@ ~/.julia/packages/CUDA/DfvRa/lib/cudadrv/devices.jl:17 [inlined]
[5] device! (repeats 2 times)
@ ~/.julia/packages/CUDA/DfvRa/lib/cudadrv/state.jl:304 [inlined]
[6] top-level scope
@ REPL[6]:1
[7] top-level scope
@ ~/.julia/packages/CUDA/DfvRa/src/initialization.jl:52
julia > CUDA.device!(0)
(freezing...)
Checking dmesg
.
I used the dmesg
command. Many responses appeared as follows, but I am a beginner at management GPUs, so I don’t know what is going on.
$dmesg
[2524465.174076] NVRM: client does not support versioning!!
[2524741.143834] NVRM: Xid (PCI:0000:07:00): 31, pid=27114, Ch 00000018, intr 00000000. MMU Fault: ENGINE HOST7 HUBCLIENT_HOST faulted @ 0x2_00618000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2524741.163757] NVRM: Xid (PCI:0000:07:00): 31, pid=27114, Ch 0000001c, intr 00000000. MMU Fault: ENGINE HOST8 HUBCLIENT_HOST faulted @ 0x2_00624000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2524741.183532] NVRM: Xid (PCI:0000:07:00): 31, pid=27114, Ch 00000020, intr 00000000. MMU Fault: ENGINE HOST9 HUBCLIENT_HOST faulted @ 0x2_00630000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2524741.198413] NVRM: Xid (PCI:0000:07:00): 31, pid=27114, Ch 00000010, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x2_00600000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2524741.288950] NVRM: Xid (PCI:0000:07:00): 31, pid=27114, Ch 00000024, intr 00000000. MMU Fault: ENGINE HOST10 HUBCLIENT_HOST faulted @ 0x2_0063c000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2524741.309166] NVRM: Xid (PCI:0000:07:00): 31, pid=27114, Ch 00000028, intr 00000000. MMU Fault: ENGINE HOST11 HUBCLIENT_HOST faulted @ 0x2_00648000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2526256.784500] NVRM: client does not support versioning!!
[2527544.195629] NVRM: client does not support versioning!!
[2527544.439061] NVRM: Xid (PCI:0000:07:00): 31, pid=33778, Ch 00000010, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x2_00600000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2527544.459102] NVRM: Xid (PCI:0000:07:00): 31, pid=33778, Ch 00000018, intr 00000000. MMU Fault: ENGINE HOST7 HUBCLIENT_HOST faulted @ 0x2_00618000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2527544.480957] NVRM: Xid (PCI:0000:07:00): 31, pid=33778, Ch 0000001c, intr 00000000. MMU Fault: ENGINE HOST8 HUBCLIENT_HOST faulted @ 0x2_00624000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2527544.493946] NVRM: Xid (PCI:0000:07:00): 31, pid=33778, Ch 00000020, intr 00000000. MMU Fault: ENGINE HOST9 HUBCLIENT_HOST faulted @ 0x2_00630000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2527544.515491] NVRM: Xid (PCI:0000:07:00): 31, pid=33778, Ch 00000024, intr 00000000. MMU Fault: ENGINE HOST10 HUBCLIENT_HOST faulted @ 0x2_0063c000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2527544.590972] NVRM: Xid (PCI:0000:07:00): 31, pid=33778, Ch 00000028, intr 00000000. MMU Fault: ENGINE HOST11 HUBCLIENT_HOST faulted @ 0x2_00648000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528627.365021] NVRM: client does not support versioning!!
[2528627.631303] NVRM: Xid (PCI:0000:07:00): 31, pid=36529, Ch 00000010, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x2_00600000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528627.654074] NVRM: Xid (PCI:0000:07:00): 31, pid=36529, Ch 00000018, intr 00000000. MMU Fault: ENGINE HOST7 HUBCLIENT_HOST faulted @ 0x2_00618000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528627.672220] NVRM: Xid (PCI:0000:07:00): 31, pid=36529, Ch 0000001c, intr 00000000. MMU Fault: ENGINE HOST8 HUBCLIENT_HOST faulted @ 0x2_00624000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528627.695145] NVRM: Xid (PCI:0000:07:00): 31, pid=36529, Ch 00000020, intr 00000000. MMU Fault: ENGINE HOST9 HUBCLIENT_HOST faulted @ 0x2_00630000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528627.713821] NVRM: Xid (PCI:0000:07:00): 31, pid=36529, Ch 00000024, intr 00000000. MMU Fault: ENGINE HOST10 HUBCLIENT_HOST faulted @ 0x2_0063c000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528627.731601] NVRM: Xid (PCI:0000:07:00): 31, pid=36529, Ch 00000028, intr 00000000. MMU Fault: ENGINE HOST11 HUBCLIENT_HOST faulted @ 0x2_00648000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528874.212675] NVRM: client does not support versioning!!
[2528874.483560] NVRM: Xid (PCI:0000:07:00): 31, pid=37062, Ch 00000010, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x2_00600000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528874.505255] NVRM: Xid (PCI:0000:07:00): 31, pid=37062, Ch 00000018, intr 00000000. MMU Fault: ENGINE HOST7 HUBCLIENT_HOST faulted @ 0x2_00618000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528874.626627] NVRM: Xid (PCI:0000:07:00): 31, pid=37062, Ch 0000001c, intr 00000000. MMU Fault: ENGINE HOST8 HUBCLIENT_HOST faulted @ 0x2_00624000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528874.737871] NVRM: Xid (PCI:0000:07:00): 31, pid=37062, Ch 00000020, intr 00000000. MMU Fault: ENGINE HOST9 HUBCLIENT_HOST faulted @ 0x2_00630000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528874.754681] NVRM: Xid (PCI:0000:07:00): 31, pid=37062, Ch 00000024, intr 00000000. MMU Fault: ENGINE HOST10 HUBCLIENT_HOST faulted @ 0x2_0063c000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2528874.776190] NVRM: Xid (PCI:0000:07:00): 31, pid=37062, Ch 00000028, intr 00000000. MMU Fault: ENGINE HOST11 HUBCLIENT_HOST faulted @ 0x2_00648000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539039.293603] NVRM: client does not support versioning!!
[2539039.472790] NVRM: Xid (PCI:0000:07:00): 31, pid=987, Ch 00000010, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x2_00600000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539039.494545] NVRM: Xid (PCI:0000:07:00): 31, pid=987, Ch 00000018, intr 00000000. MMU Fault: ENGINE HOST7 HUBCLIENT_HOST faulted @ 0x2_00618000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539039.514732] NVRM: Xid (PCI:0000:07:00): 31, pid=987, Ch 0000001c, intr 00000000. MMU Fault: ENGINE HOST8 HUBCLIENT_HOST faulted @ 0x2_00624000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539039.536338] NVRM: Xid (PCI:0000:07:00): 31, pid=987, Ch 00000020, intr 00000000. MMU Fault: ENGINE HOST9 HUBCLIENT_HOST faulted @ 0x2_00630000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539039.556498] NVRM: Xid (PCI:0000:07:00): 31, pid=987, Ch 00000024, intr 00000000. MMU Fault: ENGINE HOST10 HUBCLIENT_HOST faulted @ 0x2_0063c000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539039.572503] NVRM: Xid (PCI:0000:07:00): 31, pid=987, Ch 00000028, intr 00000000. MMU Fault: ENGINE HOST11 HUBCLIENT_HOST faulted @ 0x2_00648000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539265.428411] NVRM: client does not support versioning!!
[2539265.605529] NVRM: GPU at PCI:0000:08:00: GPU-3bb1bb37-ce5c-dd11-9db2-9fa5e1f65dcd
[2539265.605540] NVRM: GPU Board Serial Number: 0323918135338
[2539265.605543] NVRM: Xid (PCI:0000:08:00): 31, pid=1041, Ch 00000010, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x2_00600000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539265.711866] NVRM: Xid (PCI:0000:08:00): 31, pid=1041, Ch 00000018, intr 00000000. MMU Fault: ENGINE HOST7 HUBCLIENT_HOST faulted @ 0x2_00618000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539265.734734] NVRM: Xid (PCI:0000:08:00): 31, pid=1041, Ch 0000001c, intr 00000000. MMU Fault: ENGINE HOST8 HUBCLIENT_HOST faulted @ 0x2_00624000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539265.800018] NVRM: Xid (PCI:0000:08:00): 31, pid=1041, Ch 00000020, intr 00000000. MMU Fault: ENGINE HOST9 HUBCLIENT_HOST faulted @ 0x2_00630000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539265.821588] NVRM: Xid (PCI:0000:08:00): 31, pid=1041, Ch 00000024, intr 00000000. MMU Fault: ENGINE HOST10 HUBCLIENT_HOST faulted @ 0x2_0063c000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539265.842353] NVRM: Xid (PCI:0000:08:00): 31, pid=1041, Ch 00000028, intr 00000000. MMU Fault: ENGINE HOST11 HUBCLIENT_HOST faulted @ 0x2_00648000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539340.689738] NVRM: client does not support versioning!!
[2539367.320491] NVRM: Xid (PCI:0000:08:00): 31, pid=1096, Ch 00000024, intr 00000000. MMU Fault: ENGINE HOST10 HUBCLIENT_HOST faulted @ 0x2_0063c000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539367.338967] NVRM: Xid (PCI:0000:08:00): 31, pid=1096, Ch 00000018, intr 00000000. MMU Fault: ENGINE HOST7 HUBCLIENT_HOST faulted @ 0x2_00618000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539367.358021] NVRM: Xid (PCI:0000:08:00): 31, pid=1096, Ch 00000010, intr 00000000. MMU Fault: ENGINE HOST0 HUBCLIENT_HOST faulted @ 0x2_00600000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539367.377812] NVRM: Xid (PCI:0000:08:00): 31, pid=1096, Ch 0000001c, intr 00000000. MMU Fault: ENGINE HOST8 HUBCLIENT_HOST faulted @ 0x2_00624000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539367.399685] NVRM: Xid (PCI:0000:08:00): 31, pid=1096, Ch 00000020, intr 00000000. MMU Fault: ENGINE HOST9 HUBCLIENT_HOST faulted @ 0x2_00630000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[2539367.415499] NVRM: Xid (PCI:0000:08:00): 31, pid=1096, Ch 00000028, intr 00000000. MMU Fault: ENGINE HOST11 HUBCLIENT_HOST faulted @ 0x2_00648000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ