Skip to content

Commit 4627005

Browse files
committed
log for opensees
1 parent 06c4e08 commit 4627005

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- dev
78
paths:
89
- 'docs/**'
910
- 'mkdocs.yml'

docs/examples.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Welcome to the DAPI examples collection! These comprehensive tutorials demonstra
88
Choose an example above and click "Try on DesignSafe" to begin your computational research journey!
99

1010
Each example is self-contained and includes:
11+
1112
- ✅ Complete, runnable code
1213
- ✅ Step-by-step explanations
1314
- ✅ Real-world applications

examples/opensees/OpenSeesMP-dapi.ipynb

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
},
162162
{
163163
"cell_type": "code",
164-
"execution_count": 6,
164+
"execution_count": null,
165165
"id": "cell-9",
166166
"metadata": {},
167167
"outputs": [],
@@ -173,14 +173,15 @@
173173
"control_exec_Dir: str = \"DS_input\" # Folder with files including input_filename\n",
174174
"tacc_allocation: str = \"ASC25049\" # MUST USE YOUR OWN ALLOCATION !!\n",
175175
"archive_system: str = \"designsafe\"\n",
176+
"queue: str = \"skx-dev\" # or \"debug\"\n",
176177
"control_nodeCount: int = 1\n",
177178
"control_corespernode: int = 16\n",
178-
"max_job_minutes: int = 60"
179+
"max_job_minutes: int = 10"
179180
]
180181
},
181182
{
182183
"cell_type": "code",
183-
"execution_count": 7,
184+
"execution_count": null,
184185
"id": "5286f5ac",
185186
"metadata": {},
186187
"outputs": [
@@ -205,6 +206,7 @@
205206
" archive_system=archive_system,\n",
206207
" max_minutes=max_job_minutes,\n",
207208
" allocation=tacc_allocation,\n",
209+
" queue=queue,\n",
208210
")"
209211
]
210212
},
@@ -418,6 +420,17 @@
418420
"submitted_job.print_runtime_summary(verbose=False)"
419421
]
420422
},
423+
{
424+
"cell_type": "code",
425+
"execution_count": null,
426+
"id": "87e992ba",
427+
"metadata": {},
428+
"outputs": [],
429+
"source": [
430+
"# Print out last message from the job\n",
431+
"print(submitted_job.last_message)"
432+
]
433+
},
421434
{
422435
"cell_type": "markdown",
423436
"id": "cell-14",

0 commit comments

Comments
 (0)