diff --git a/previews/PR58/.documenter-siteinfo.json b/previews/PR58/.documenter-siteinfo.json index aa00f8196..557928a2b 100644 --- a/previews/PR58/.documenter-siteinfo.json +++ b/previews/PR58/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-13T03:50:49","documenter_version":"1.4.1"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-24T08:22:12","documenter_version":"1.4.1"}} \ No newline at end of file diff --git a/previews/PR58/getting-started/index.html b/previews/PR58/getting-started/index.html index fa48eb83a..36dd2c0e5 100644 --- a/previews/PR58/getting-started/index.html +++ b/previews/PR58/getting-started/index.html @@ -48,7 +48,7 @@ ENV["RESULTS"] = string(mat_sum) """ sha256(project_toml) = 93a83d60d4a9c6a3d1438259fd506929eaad296b7e112e886b305781b85cb85b -sha256(manifest_toml) = 3b998620705c537e36a165fb412dc34c540657806824085613c62ea63c5cac8d
In most cases, you also submit a Julia package environment (i.e. Project.toml
and Manifest.toml
files together with a job). That environment then gets instantiated before the user-provided code is run.
The script""
string macro, by default, attaches the currently active environment to the job. This means that any packages that you are currently using should also be available on the job (although only registered packages added as non-development dependencies will work). You can use Base.active_project()
or pkg> status
to see what environment is currently active.
To submit a job, you can simply call submit_job
on it.
julia> j = JuliaHub.submit_job(s)
JuliaHub.Job: jr-xf4tslavut (Submitted) +sha256(manifest_toml) = 69cdbbbf2d3df6f0f561ac94bef374ad21e04420ac0ff00170d6af71e59d4cf9
In most cases, you also submit a Julia package environment (i.e. Project.toml
and Manifest.toml
files together with a job). That environment then gets instantiated before the user-provided code is run.
The script""
string macro, by default, attaches the currently active environment to the job. This means that any packages that you are currently using should also be available on the job (although only registered packages added as non-development dependencies will work). You can use Base.active_project()
or pkg> status
to see what environment is currently active.
To submit a job, you can simply call submit_job
on it.
julia> j = JuliaHub.submit_job(s)
JuliaHub.Job: jr-xf4tslavut (Submitted) submitted: 2023-03-15T07:56:50.974+00:00 started: 2023-03-15T07:56:51.251+00:00 finished: 2023-03-15T07:56:59.000+00:00
The submit_job
function also allows you to specify configure how the job gets run, such as how many CPUs or how much memory it has available. By default, though, it runs your code on a single node, picking the smallest instance that is available.
At this point, if you go to the "Jobs" page web UI, you should see the job there. It may take a few moments to actually start running. You can also call job
on the returned Job
object to refresh the status of the job.
julia> j = JuliaHub.job(j)
JuliaHub.Job: jr-xf4tslavut (Running) @@ -63,4 +63,4 @@ startOnLoad: true, theme: "neutral" }); -
Settings
This document was generated with Documenter.jl version 1.4.1 on Thursday 13 June 2024. Using Julia version 1.10.4.