Skip to content

Commit 62841b6

Browse files
authored
Merge pull request #361 from cecilehannay/main
troubleshooting section - final changes
2 parents a83456b + 3a9c8e2 commit 62841b6

1 file changed

Lines changed: 30 additions & 25 deletions

File tree

notebooks/troubleshooting/exercises/troubleshooting_cam.ipynb

Lines changed: 30 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@
4747
{
4848
"cell_type": "markdown",
4949
"id": "e4e74779-4778-446a-be7e-50e0c1ee125e",
50-
"metadata": {
51-
"jupyter": {
52-
"source_hidden": true
53-
}
54-
},
50+
"metadata": {},
5551
"source": [
5652
"<div class=\"alert alert-warning\"> \n",
5753
"<details> \n",
@@ -162,24 +158,41 @@
162158
"\n",
163159
"Instead, examine the log files in `RUNDIR`.\n",
164160
"\n",
165-
"What you should find in your run directory is three log files. \n",
166-
"- One for the coupler ``cpl.log.*``,\n",
167-
"- one for CAM ``atm.log.*`` \n",
168-
"- and one for CESM ``cesm.log.*``.\n",
161+
"What you should find in your run directory is **CESM log files**. It should look like: \n",
162+
"```\n",
163+
"atm.log.6612071.desched1.260701-115945\n",
164+
"cesm.log.6612071.desched1.260701-115945\n",
165+
"diags.log.6612071.desched1.260701-115945\n",
166+
"drv.log.6612071.desched1.260701-115945\n",
167+
"glc.log.6612071.desched1.260701-115945\n",
168+
"ice.log.6612071.desched1.260701-115945\n",
169+
"lnd.log.6612071.desched1.260701-115945\n",
170+
"logfile.000000.out\n",
171+
"med.log.6612071.desched1.260701-115945\n",
172+
"mpibind.6612071.log\n",
173+
"ocn.log.6612071.desched1.260701-115945\n",
174+
"rof.log.6612071.desched1.260701-115945\n",
175+
"wav_in.log\n",
176+
"wav.log.6612071.desched1.260701-115945\n",
177+
"```\n",
178+
"\n",
179+
"You will also see many files named:\n",
180+
"\n",
181+
"```text\n",
182+
"PET*.ESMF_LogFile\n",
183+
"```\n",
184+
"\n",
185+
"These are **ESMF log files** written by individual MPI tasks. They are usually **not** the first place to look when debugging a typical CESM runtime failure.\n",
186+
"\n",
169187
"\n",
170-
"Somewhere in these log files is information about what has gone wrong, but it is often not entirely\n",
188+
"\n",
189+
"Somewhere in the **CESM log files** is information about what has gone wrong, but it is often not entirely\n",
171190
"straightforward to find. \n",
172191
"- Often at the bottom of the log file, there are errors that are not relative to your problem because\n",
173192
"they are just demonstrating that individual processes are exiting. \n",
174193
"- Often the relevant error lies above this and can sometimes be found by searching for the first occurrence of ERROR or ABORT or cesm.exe. \n",
175194
"\n",
176-
"In this case, searching for the first occurrence of ERROR in ``cesm.log.*`` gives us some relevant information. We find\n",
177-
"```\n",
178-
"ERROR: FLDLST: 1 errors found, see log\n",
179-
"```\n",
180-
"This tells us is that something has gone wrong with the list of output variables that we have asked for.\n",
181-
"\n",
182-
"More information can then be found in the CAM log file ``atm.log.*``.\n",
195+
"In this case, the end of ``atm.log.*`` gives us some relevant information. \n",
183196
"Look at the very end of that file and you should see\n",
184197
"```\n",
185198
"FLDLST: T2M in fincl(1, 2) not found\n",
@@ -214,14 +227,6 @@
214227
"\n",
215228
"This is the same workflow you will use to diagnose many runtime errors in CESM."
216229
]
217-
},
218-
{
219-
"cell_type": "code",
220-
"execution_count": null,
221-
"id": "569d13e0-9a28-4356-b828-bd102a74d7a3",
222-
"metadata": {},
223-
"outputs": [],
224-
"source": []
225230
}
226231
],
227232
"metadata": {

0 commit comments

Comments
 (0)