-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi, @joa-quim,
As the title says, I use GMT.jl frequently on HPC where I have several scripts running at the same time. I sometimes get an error. I cannot reproduce it because it doesn't always occur. However, when I run the script one at a time, I never get an error.
A code is followed, but it doesn't work.
gmtbegin("temp.png")
gmtset(MAP_FRAME_TYPE = "plain", FORMAT_GEO_MAP = "+D")
gmtset(GMT_VERBOSE = "e")
grdimage(grd, R = (110, 120, 10, 20), J = J, B = "afg", C = mycpt)
coast(W = "0.5p", B = "af", G = "white")
colorbar(C = mycpt, D = "jMR+w80%/0.4c+o-0.9c/0c+m+e",
xaxis = (annot = :auto, ticks = :auto),
yaxis = (annot = :auto, label = "$unit"),
conf = (FONT_ANNOT = "16p",))
gmtend()
Some details about the error.
GMT [ERROR]: Shared GMT module not found: coast
ERROR: LoadError: Something went wrong when calling the module. GMT error number = 45
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] gmt(::String)
@ GMT ~/.julia/packages/GMT/C3mup/src/gmt_main.jl:165
[3] finish_PS_module(::Dict{Symbol, Any}, ::Vector{String}, ::String, ::Bool, ::Bool, ::Bool)
@ GMT ~/.julia/packages/GMT/C3mup/src/common_options.jl:4461
[4] _coast(cmd0::String, O::Bool, K::Bool, clip::String, d::Dict{Symbol, Any})
@ GMT ~/.julia/packages/GMT/C3mup/src/pscoast.jl:168
[5] #coast#846
@ ~/.julia/packages/GMT/C3mup/src/pscoast.jl:80 [inlined]
[6] coast (repeats 2 times)
@ ~/.julia/packages/GMT/C3mup/src/pscoast.jl:78 [inlined]
Metadata
Metadata
Assignees
Labels
No labels