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 |
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) |
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 |
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 |
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 |
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") |
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 |
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 |
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 |
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