diff --git a/dsjobs/jobs.py b/dsjobs/jobs.py index 57f4636..62f5c7a 100644 --- a/dsjobs/jobs.py +++ b/dsjobs/jobs.py @@ -133,7 +133,7 @@ def generate_job_info( ag, appid: str, jobname: str = "dsjob", - queue: str = "skx-dev", + queue: str = "development", nnodes: int = 1, nprocessors: int = 1, runtime: str = "00:10:00", diff --git a/example-notebooks/papermill-mpm.ipynb b/example-notebooks/mpm/papermill-mpm.ipynb similarity index 100% rename from example-notebooks/papermill-mpm.ipynb rename to example-notebooks/mpm/papermill-mpm.ipynb diff --git a/example-notebooks/template-mpm-run.ipynb b/example-notebooks/mpm/template-mpm-run.ipynb similarity index 81% rename from example-notebooks/template-mpm-run.ipynb rename to example-notebooks/mpm/template-mpm-run.ipynb index 3739b8e..b4c2cb2 100644 --- a/example-notebooks/template-mpm-run.ipynb +++ b/example-notebooks/mpm/template-mpm-run.ipynb @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 1, "id": "b7fa3e9a-7bf3-441c-917f-fb57a94ee017", "metadata": {}, "outputs": [ @@ -48,7 +48,25 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 2, + "id": "6a0daf58-cf6c-41f9-89b7-bc60d7042e04", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "fatal: destination path '/home/jupyter/MyData/mpm-benchmarks' already exists and is not an empty directory.\n" + ] + } + ], + "source": [ + "!git clone https://github.com/cb-geo/mpm-benchmarks ~/MyData/mpm-benchmarks" + ] + }, + { + "cell_type": "code", + "execution_count": 3, "id": "8593c08c-c96a-4a66-9b52-80b8b5c27e44", "metadata": { "tags": [ @@ -77,7 +95,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 4, "id": "91b811a4-45d9-4223-a145-c0f4e393af66", "metadata": {}, "outputs": [], @@ -98,7 +116,7 @@ }, { "cell_type": "code", - "execution_count": 24, + "execution_count": 5, "id": "0153c5cc-f4b9-460b-b4c6-d92eb8c6ede5", "metadata": {}, "outputs": [ @@ -110,9 +128,9 @@ "---Job Info---\n", "\n", "{\n", - " \"appId\": \"mpm-1.0.0\",\n", + " \"appId\": \"mpm-1.1.0u3\",\n", " \"name\": \"mpm-uniaxial\",\n", - " \"batchQueue\": \"skx-dev\",\n", + " \"batchQueue\": \"development\",\n", " \"nodeCount\": 1,\n", " \"processorsPerNode\": 1,\n", " \"memoryPerNode\": \"1\",\n", @@ -138,7 +156,7 @@ "\n", "# generate and modify job info\n", "job_info = ds.generate_job_info(\n", - " ag, appid=\"mpm-1.0.0\", jobname=\"mpm-uniaxial\", runtime=duration\n", + " ag, appid=\"mpm-1.1.0u3\", jobname=\"mpm-uniaxial\", runtime=duration\n", ")\n", "\n", "# specify input path and file\n", @@ -157,7 +175,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 6, "id": "4e6dc010-d821-45d5-805b-84620363f468", "metadata": {}, "outputs": [], @@ -167,7 +185,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 7, "id": "06dd17dc-2540-46b3-9036-3245a9b6cfae", "metadata": {}, "outputs": [ @@ -175,7 +193,7 @@ "name": "stderr", "output_type": "stream", "text": [ - "Waiting for job to start: 2it [00:30, 15.13s/it, Status: RUNNING] \n", + "Waiting for job to start: 2it [00:30, 15.09s/it, Status: RUNNING]\n", "Monitoring job: 0%| | 0/40 [00:00