View gist:e45cc2d447f2ece001b4f2d9295b36b1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: LoadError: TaskFailedException | |
Stacktrace: | |
[1] wait | |
@ ./task.jl:345 [inlined] | |
[2] wait | |
@ ~/.julia_NeuralDoubleGyre/packages/KernelAbstractions/3ZHln/src/cpu.jl:65 [inlined] | |
[3] wait(::KernelAbstractions.CPU, ev::KernelAbstractions.CPUEvent) | |
@ KernelAbstractions ~/.julia_NeuralDoubleGyre/packages/KernelAbstractions/3ZHln/src/cpu.jl:64 | |
[4] fill_halo_event!(::Int64, ::Tuple{Vector{Function}, Vector{Tuple{BoundaryCondition{C, Nothing} where C<:Oceananigans.BoundaryConditions.AbstractBoundaryConditionClassification, Any, BoundaryCondition{C, Nothing} where C<:Oceananigans.BoundaryConditions.AbstractBoundaryConditionClassification, BoundaryCondition{Oceananigans.BoundaryConditions.Flux, Nothing}}}, Vector{Tuple{BoundaryCondition{C, Nothing} where C<:Oceananigans.BoundaryConditions.AbstractBoundaryConditionClassification, Any, BoundaryCondition{C, Nothing} where C<:Oceananigans.BoundaryConditions.AbstractBoundaryConditionClassification, BoundaryCondition{Oceananigans.BoundaryConditions.Flu |
View ka_amd_offsetarray.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using KernelAbstractions | |
using OffsetArrays | |
using AMDGPU | |
using ROCKernels | |
using Test | |
import KernelAbstractions: Event | |
using ROCKernels: ROCEvent | |
function Event(::ROCDevice) |
View eki_example.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Distributions | |
using LinearAlgebra | |
using Random | |
using Test | |
using Plots | |
using CalibrateEmulateSample.EKP | |
using CalibrateEmulateSample.ParameterDistributionStorage | |
## Seed for pseudo-random number generator |
View getperts.F
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROGRAM getperts | |
use singleton | |
implicit none | |
!----------------------------------------------------------------------- | |
! | |
! getperts: Version 1.04 Last modified: 12 October 2008 | |
! | |
! Author: George H. Bryan | |
! Mesoscale and Microscale Meteorology Division |
View dagger_plotting.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Distributed | |
procs = Distributed.addprocs(16) | |
@everywhere begin | |
using Printf | |
using Dagger | |
using PyCall | |
using PyPlot | |
using NCDatasets |
View plotting.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Printf | |
using PyCall | |
using PyPlot | |
using NCDatasets | |
cmocean = pyimport("cmocean") | |
ioff() # Turn off interactive plotting | |
ds = NCDataset("dry_convection.nc") |
View gist:d920ec50d0e40332121697f71b91eb36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Overhead ╎ [+additional indent] Count File:Line; Function | |
========================================================= | |
╎263 @Base/task.jl:358; (::REPL.var"#26#27"{REPL.REPLBackend})() | |
╎ 263 ...kage_linux64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:118; macro expansion | |
╎ 263 ...kage_linux64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:86; eval_user_input(::Any, ::REPL.REPLBackend) | |
17╎ 263 @Base/boot.jl:331; eval(::Module, ::Any) | |
╎ 245 @Oceananigans/src/TimeSteppers/adams_bashforth.jl:41; time_step!(::IncompressibleModel{Oceananigans.TimeSteppers.AdamsBashforthTimeStepper{Float64,N... | |
╎ 8 @Oceananigans/src/TimeSteppers/adams_bashforth.jl:48; time_step!(::IncompressibleModel{Oceananigans.TimeSteppers.AdamsBashforthTimeStepper{Float64,N... | |
╎ ╎ 8 @Oceananigans/src/TimeSteppers/generic_time_stepping.jl:13; time_step_precomputations!(::Nothing, ::NamedTuple{(:pHY′, :pNHS),Tuple{OffsetArrays.OffsetAr... | |
╎ ╎ 8 @Oceananigans/src/BoundaryConditions |
View eddying_channel_frame_makie.jl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Makie, JLD2 | |
file = jldopen("eddying_channel_375000.jld2") | |
T = file["T"] | |
close(file) | |
Tx, Ty, Tz = size(T) # Total number of grid points. | |
Nx, Ny, Nz = Tx-2, Ty-2, Tz # Number of interior grid points. | |
Hx, Hy, Hz = Tx-Nx, Ty-Ny, Tz-Nz # Size of halo regions. | |
Lx, Ly, Lz = 250, 500, 100 # Domain size: 250×500×1 km |
View conda.jl_test_log_power9.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_ | |
_ _ _(_)_ | Documentation: https://docs.julialang.org | |
(_) | (_) (_) | | |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | |
| | | | | | |/ _` | | | |
| | |_| | | | (_| | | Version 1.3.0 (2019-11-26) | |
_/ |\__'_|_|_|\__'_| | | |
|__/ | | |
julia> Sys.ARCH |
View gist:6a36885905a3f245e7dedb418a867116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building NCDatasets → `~/.julia/packages/NCDatasets/6tnso/deps/build.log` | |
┌ Error: Error building `NCDatasets`: | |
│ PREFIX=/home/alir/.julia/conda/3 | |
│ Unpacking payload ... | |
│ /home/alir/.julia/conda/3/installer.sh: line 351: /home/alir/.julia/conda/3/conda.exe: cannot execute binary file | |
│ /home/alir/.julia/conda/3/installer.sh: line 353: /home/alir/.julia/conda/3/conda.exe: cannot execute binary file | |
│ [ Info: Downloading miniconda installer ... | |
│ [ Info: Installing miniconda ... | |
│ ERROR: LoadError: failed process: Process(`/home/alir/.julia/conda/3/installer.sh -b -f -p /home/alir/.julia/conda/3`, ProcessExited(1)) [1] | |
│ |
NewerOlder