Troubleshooting¶
Start here before reading hundreds of log lines.
If the failure is clearly tied to one layer, jump to the corresponding guide:
- environment/Nix/MPI: Bootstrap and enter the wrfkit shell;
- case parsing or namelist mapping: Understand case.toml;
- one WPS/WRF stage: High-level and low-level workflows;
- Sapelo2 allocation/storage: UGA Sapelo2.
flowchart TB
A["What failed?"]
A -->|Environment / launcher| B["Bootstrap, Nix, MPI"]
A -->|Input preparation| C["GFS or WPS"]
A -->|WRF stopped| D["Inspect RSL logs"]
A -->|Batch exited| E["Inspect stdout/stderr and sacct"]
mpirun: command not found¶
If you typed mpirun directly in the normal host/login shell, this can be
expected. wrfkit's pinned OpenMPI lives inside its Nix environment.
For interactive work, enter the project environment first:
Then use the high-level workflow:
or, when you deliberately need the native stage:
Do not manually call the inner mpirun for the standard workflow.
Sapelo2 login node detected¶
You are trying to bootstrap/build on an ss-sub* login node.
For interactive work:
Then run bootstrap/build from the compute node.
For batch work, submit sbatch from the login node and let Slurm run the
script on a compute node.
a working nix installation is already available¶
This is informational, not a failure. Continue with the next command.
met_em.* does not exist¶
The WPS pipeline is incomplete. In the interactive wrfkit shell, the native sequence is:
wrfctl fetch geog --case my-case
wrfctl exec geogrid --case my-case
wrfctl fetch gfs --case my-case
wrfctl prepare gfs --case my-case
wrfctl exec ungrib --case my-case
wrfctl exec metgrid --case my-case
For normal use, wrfctl prep --case my-case orchestrates this sequence and
adds final input verification plus a preparation manifest.
WRF did not print SUCCESS COMPLETE WRF¶
Find the latest WRF archive:
Read rank 0 error output:
Also check rsl.out.0000.
Many waiting for another Nix process, SQLite busy errors, or UCX permission errors¶
The current validated single-node bridge was designed to remove the earlier one-Nix-entry-per-MPI-rank topology that produced these symptoms.
Check that:
shows a current wrfkit revision, and make sure you are not doing this:
Use wrfkit's own launcher path instead.
GFS download fails¶
The bundled minimal case uses a fixed GFS window from an operational rolling NOMADS service. That is convenient for validation but not a permanent archive.
A failure may therefore be a data-availability problem rather than a compiler or MPI problem. Check the case forcing settings and data source before debugging WRF itself.
Batch job failed instantly¶
Check both files:
Then inspect Slurm:
Still stuck?¶
Collect these four things before opening an issue:
1. git log -1 --oneline
2. ./wrfctl doctor output
3. relevant Slurm job ID + sacct result
4. latest native-logs.tar error excerpt
That usually separates environment, scheduler, WPS, and WRF failures quickly.