From 8b17720b5b5049eb6a064f371546621ed0f11adc Mon Sep 17 00:00:00 2001 From: "Documenter.jl" Date: Sun, 6 Oct 2024 20:15:49 -0400 Subject: [PATCH] build based on 4c4e47b --- dev/.documenter-siteinfo.json | 2 +- dev/getting-started/index.html | 4 ++-- dev/guides/authentication/index.html | 2 +- dev/guides/datasets/index.html | 2 +- dev/guides/jobs/index.html | 4 ++-- dev/index.html | 2 +- dev/internal/index.html | 2 +- dev/reference/authentication/index.html | 2 +- dev/reference/datasets/index.html | 2 +- dev/reference/exceptions/index.html | 2 +- dev/reference/job-submission/index.html | 4 ++-- dev/reference/jobs/index.html | 2 +- dev/release-notes/index.html | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index 30cf06cf3..0fca4a488 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-30T00:15:38","documenter_version":"1.7.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-10-07T00:15:44","documenter_version":"1.7.0"}} \ No newline at end of file diff --git a/dev/getting-started/index.html b/dev/getting-started/index.html index 5a559bb10..bff2e5e40 100644 --- a/dev/getting-started/index.html +++ b/dev/getting-started/index.html @@ -48,7 +48,7 @@ ENV["RESULTS"] = string(mat_sum) """ sha256(project_toml) = 62aca0c4b58726ab88c7beaa448e4ca3d51ba68c2d4f9c244b22e09dfe2919d1 -sha256(manifest_toml) = f0befb100039a1ee87e6f47846e1b678eff5031210b96eb5cd6ebdd6c7aef01e
Job environment

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) = 1aaff5b2010283fc49fca711dc0708115bae34eacaa3f53c26bcf8fbbf3742b2
Job environment

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"
 });
-
+
diff --git a/dev/guides/authentication/index.html b/dev/guides/authentication/index.html
index 842eff99f..66d43cb82 100644
--- a/dev/guides/authentication/index.html
+++ b/dev/guides/authentication/index.html
@@ -8,4 +8,4 @@
     startOnLoad: true,
     theme: "neutral"
 });
-
+
diff --git a/dev/guides/datasets/index.html b/dev/guides/datasets/index.html
index c95fbb05e..cd59d90e3 100644
--- a/dev/guides/datasets/index.html
+++ b/dev/guides/datasets/index.html
@@ -107,4 +107,4 @@
     startOnLoad: true,
     theme: "neutral"
 });
-
+
diff --git a/dev/guides/jobs/index.html b/dev/guides/jobs/index.html
index 7e6b5df24..112405597 100644
--- a/dev/guides/jobs/index.html
+++ b/dev/guides/jobs/index.html
@@ -54,7 +54,7 @@
   println("hello world")
   """
   sha256(project_toml) = 62aca0c4b58726ab88c7beaa448e4ca3d51ba68c2d4f9c244b22e09dfe2919d1
-  sha256(manifest_toml) = f0befb100039a1ee87e6f47846e1b678eff5031210b96eb5cd6ebdd6c7aef01e
+  sha256(manifest_toml) = 1aaff5b2010283fc49fca711dc0708115bae34eacaa3f53c26bcf8fbbf3742b2
 compute:
   JuliaHub.ComputeConfig
    Node: 3.5 GHz Intel Xeon Platinum 8375C
@@ -143,4 +143,4 @@
     startOnLoad: true,
     theme: "neutral"
 });
-
  • 1You can also e.g. upload datasets etc. But in that case the resulting data is not, strictly speaking, related to a specific job.
+
  • 1You can also e.g. upload datasets etc. But in that case the resulting data is not, strictly speaking, related to a specific job.
diff --git a/dev/index.html b/dev/index.html index 2abd595a7..7fa96f994 100644 --- a/dev/index.html +++ b/dev/index.html @@ -4,4 +4,4 @@ startOnLoad: true, theme: "neutral" }); - + diff --git a/dev/internal/index.html b/dev/internal/index.html index 518021aae..ee5d94b14 100644 --- a/dev/internal/index.html +++ b/dev/internal/index.html @@ -4,4 +4,4 @@ startOnLoad: true, theme: "neutral" }); - + diff --git a/dev/reference/authentication/index.html b/dev/reference/authentication/index.html index 54705828e..d56cd27eb 100644 --- a/dev/reference/authentication/index.html +++ b/dev/reference/authentication/index.html @@ -16,4 +16,4 @@ startOnLoad: true, theme: "neutral" }); - + diff --git a/dev/reference/datasets/index.html b/dev/reference/datasets/index.html index caa7160fd..dac8475f2 100644 --- a/dev/reference/datasets/index.html +++ b/dev/reference/datasets/index.html @@ -45,4 +45,4 @@ startOnLoad: true, theme: "neutral" }); - + diff --git a/dev/reference/exceptions/index.html b/dev/reference/exceptions/index.html index 250e75eea..83bb6476d 100644 --- a/dev/reference/exceptions/index.html +++ b/dev/reference/exceptions/index.html @@ -4,4 +4,4 @@ startOnLoad: true, theme: "neutral" }); - + diff --git a/dev/reference/job-submission/index.html b/dev/reference/job-submission/index.html index d81ed4d31..013f5897f 100644 --- a/dev/reference/job-submission/index.html +++ b/dev/reference/job-submission/index.html @@ -37,7 +37,7 @@ @info "Extracting 'MY_PARAMETER'" get(ENV, "MY_PARAMETER", nothing) """ sha256(project_toml) = 62aca0c4b58726ab88c7beaa448e4ca3d51ba68c2d4f9c244b22e09dfe2919d1 - sha256(manifest_toml) = f0befb100039a1ee87e6f47846e1b678eff5031210b96eb5cd6ebdd6c7aef01e + sha256(manifest_toml) = 1aaff5b2010283fc49fca711dc0708115bae34eacaa3f53c26bcf8fbbf3742b2 compute: JuliaHub.ComputeConfig Node: 3.5 GHz Intel Xeon Platinum 8375C @@ -229,4 +229,4 @@ startOnLoad: true, theme: "neutral" }); - + diff --git a/dev/reference/jobs/index.html b/dev/reference/jobs/index.html index 6185b37e9..659c159e4 100644 --- a/dev/reference/jobs/index.html +++ b/dev/reference/jobs/index.html @@ -71,4 +71,4 @@ startOnLoad: true, theme: "neutral" }); - + diff --git a/dev/release-notes/index.html b/dev/release-notes/index.html index 0d8571ae4..63ef2b428 100644 --- a/dev/release-notes/index.html +++ b/dev/release-notes/index.html @@ -4,4 +4,4 @@ startOnLoad: true, theme: "neutral" }); - +