Hi all.
I am sorry to bug you guys with the Julia GMT.jl.
I am trying to user in my University’s server. Running Ubuntu 20.04 TLS. GMT was installed by my boss and it has 6.0.0 and runs as expected. But the GMT.jl does not load.
The problem is described bellow, I would appreciate any recommendation.
When I enter Julia and ask it to use GMT. I get:
> julia> using GMT
>
> GMT - The Generic Mapping Tools, Version 6.0.0 [64-bit] [128 cores]
> (c) 1991-2019 The GMT Team (https://www.generic-mapping-tools.org/team.html).
>
> Supported in part by the US National Science Foundation (http://www.nsf.gov/)
> and volunteers from around the world.
>
> GMT is distributed under the GNU LGP License (http://www.gnu.org/licenses/lgpl.html).
>
> usage: gmt [options]
> gmt <module name> [<module-options>]
>
> options:
> --help List descriptions of available GMT modules.
> --new-script[=L] Write GMT modern mode script template to stdout.
> Optionally specify bash|csh|batch [Default is current shell]
> --show-bindir Show directory with GMT executables.
> --show-citation Show the most recent citation for GMT.
> --show-cores Show number of available cores.
> --show-datadir Show directory/ies with user data.
> --show-dataserver Show URL of the remote GMT data server.
> --show-doi Show the DOI for the current release.
> --show-modules Show all module names.
> --show-library Show path of the shared GMT library.
> --show-plugindir Show directory for plug-ins.
> --show-sharedir Show directory for shared GMT resources.
> --version Print GMT version number.
>
> if <module-options> is '=' we call exit (0) if module exist and non-zero otherwise.
>
>
> GMT - The Generic Mapping Tools, Version 6.0.0 [64-bit] [128 cores]
> (c) 1991-2019 The GMT Team (https://www.generic-mapping-tools.org/team.html).
>
> Supported in part by the US National Science Foundation (http://www.nsf.gov/)
> and volunteers from around the world.
>
> GMT is distributed under the GNU LGP License (http://www.gnu.org/licenses/lgpl.html).
>
> usage: gmt [options]
> gmt <module name> [<module-options>]
>
> options:
> --help List descriptions of available GMT modules.
> --new-script[=L] Write GMT modern mode script template to stdout.
> Optionally specify bash|csh|batch [Default is current shell]
> --show-bindir Show directory with GMT executables.
> --show-citation Show the most recent citation for GMT.
> --show-cores Show number of available cores.
> --show-datadir Show directory/ies with user data.
> --show-dataserver Show URL of the remote GMT data server.
> --show-doi Show the DOI for the current release.
> --show-modules Show all module names.
> --show-library Show path of the shared GMT library.
> --show-plugindir Show directory for plug-ins.
> --show-sharedir Show directory for shared GMT resources.
> --version Print GMT version number.
>
> if <module-options> is '=' we call exit (0) if module exist and non-zero otherwise.
>
> ERROR: InitError: failed process: Process(`gmt --show-userdir`, ProcessExited(78)) [78]
>
> Stacktrace:
> [1] pipeline_error
> @ ./process.jl:531 [inlined]
> [2] (::Base.var"#697#698"{Base.Process})()
> @ Base ./process.jl:320
> [3] iterate(itr::Base.EachLine{Base.PipeEndpoint}, state::Nothing) (repeats 2 times)
> @ Base ./io.jl:1019
> [4] _collect(cont::UnitRange{Int64}, itr::Base.EachLine{Base.PipeEndpoint}, #unused#::Base.HasEltype, isz::Base.SizeUnknown)
> @ Base ./array.jl:660
> [5] collect
> @ ./array.jl:649 [inlined]
> [6] #readlines#378
> @ ./io.jl:553 [inlined]
> [7] readlines
> @ ./io.jl:553 [inlined]
> [8] __init__(test::Bool)
> @ GMT ~/.julia/packages/GMT/pWfCU/src/GMT.jl:295
> [9] __init__()
> @ GMT ~/.julia/packages/GMT/pWfCU/src/GMT.jl:275
> [10] _include_from_serialized(path::String, depmods::Vector{Any})
> @ Base ./loading.jl:768
> [11] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
> @ Base ./loading.jl:854
> [12] _require(pkg::Base.PkgId)
> @ Base ./loading.jl:1097
> [13] require(uuidkey::Base.PkgId)
> @ Base ./loading.jl:1013
> [14] require(into::Module, mod::Symbol)
> @ Base ./loading.jl:997
> during initialization of module GMT