Skip to content

Troubleshooting ​

Each entry gives the message as the engine prints it, the cause, and the remedy. Runtime model errors are also appended to err messages.txt (in the launch directory for serial runs, in Output/ES/ after an MPI merge).

Startup ​

Message or symptomCauseRemedy
FATAL: input deck path is <n> characters, exceeding RELAP5's 80-character filename limitRELAP5 stores file names in 80-character buffers. The limit applies to the absolute path, because --input-deck is made absoluteMove the project to a shorter path
FATAL: restart path exceeds RELAP5's 80-character filename limitSame limit, for the in-memory restart file. Its name starts with /dev/shm/adsidac_<pid>_ where /dev/shm exists and with the system temporary directory elsewhere (macOS)Set a shorter TMPDIR, or use --no-memory-restart
FATAL: input deck not found or unreadable: <path>Wrong --input-deckCheck the path; for BV4 it is tests/BV4/BV4.i
FATAL: malformed ZCtrlPar.txtInput/Scheduler/ZCtrlPar.txt does not contain a parsable Truncation_probability and Truncation_timeRestore the three-line format used by tests/BV4
RELAP5 stops immediately, steam table file not foundThe working directory has no tpfh2o, tpfh2onew, tpfd2oLaunch from a directory that holds them, or copy them into the project directory for MPI runs. See Working directory and steam tables
macOS: the binary fails at load with a missing Boost or MPI symbolHomebrew upgraded boost, gcc or open-mpi after the buildReconfigure in place (cmake . -U "MPI*" -DCMAKE_Fortran_COMPILER=/opt/homebrew/bin/gfortran-NN), rebuild, and rerun ctest -R BV4_Serial_Validate
Startup never finishes and prints getSupportSystemReliabilityUnit NONE can not be found without endInitiating_Event.txt ends right after the last event, without the two trailer tokensAdd the trailer described in Initiating_Event.txt
WARNING: SystemReliability.txt: malformed or unexpected content where <reader> expected a section headerA section of SystemReliability.txt is missing or out of order; the failure models from that point on are not loadedCompare the section order with SystemReliability.txt. The run continues without those models

During a run ​

Message or symptomCauseRemedy
Every sequence ends near 0.5 s with Operator::checkCompletenessOfSystemDecomposition err. and consequence -1; err messages.txt lists The following ControlPanel elements do not exist ...A control panel element (indicator, control, alarm, support-system state) has no entry in an operator's system decompositionAdd each listed name to both KB_ODM_System_Decomposition.txt and KB_OAT_System_Decomposition.txt
<name> can not be found!An alarm, display or knowledge-base entry refers to a control panel name that does not existCorrect the name in the input file that refers to it. adsmd validate checks most cross-references between input files before a run
ERROR: write failed (disk full or I/O error): <path>, with free space on the diskA file-count quota is exhaustedCheck the group quota, free files, and use --aggregate-pe. See File count and capacity
FATAL: failed to write <n> bytes to /dev/shm/adsidac_<pid>_... (disk full?)On Linux the in-memory restart files live in /dev/shm, and it is full. Containers give it 64 MB by default, less than two restart imagesStart the container with a larger segment (docker run --shm-size=2g), or run with --no-memory-restart
FATAL: rank <n> received a base-less restart buffer and has no cached base (<project>/restart_base.bin missing)ADS_RESTART_TRIM=1 and restart_base.bin was deleted during the run or is not visible on that nodeKeep the project directory on a filesystem shared by all nodes, and do not remove restart_base.bin while a run or a checkpoint chain is in progress
Wrong restarts after changing the input deck with ADS_RESTART_TRIM=1A restart_base.bin from the earlier deck is still in the project directory; the engine creates the file only if it does not existDelete restart_base.bin whenever the deck or plant model changes
[TRIM] cid=<n> ncount=<m> not found in buffer followed by sending it wholeThe record to ship was not located; the worker falls back to the full restart imageNone needed; the run is correct, that transfer is larger
WARNING: cannot open occupancy log <path>The path is not writable from rank_0/Pass an absolute path to --occupancy-log
Input file name is not = indeck.i once per sequenceRELAP5 notes that the deck name differs from its defaultNone; the line is informational
MPI run exits with code 138 when the batch system signals itmpirun received SIGUSR1 and exitedEnd slices with --checkpoint-interval and --checkpoint-stop. See Chained slices

Merge and outputs ​

Message or symptomCauseRemedy
ERROR: --merge-only runs serially; launch it without mpirun--merge-only was started under MPIRun it as a plain process
ERROR: no rank_N directories under <project>; nothing to mergeThere is nothing to consolidate and Output/ is not a finished runCheck --project-dir
[MERGE-ONLY] Output/ is already finalized ...; nothing to doThe merge has already completedNone
ERROR: Output/PE already carries a finalized run while rank directories still hold outputsThe rank directories belong to a different run than Output/Move Output/ aside, then run --merge-only again
[MERGE-ONLY] no MERGE_PENDING.txt manifest: salvage modeThe run ended without writing the manifest (for example it was killed)None; pass --aggregate-pe if the run used it
[MERGE] failed to move <path>: <reason>A rename or copy failed, typically on a quotaFree files or space and run --merge-only
find -name 'ZPENode*' | wc -l reports 1With --aggregate-pe the nodes are records in ZPENodes_agg.txt, which the pattern also matchespython3 tests/scripts/pe_canonical.py Output/PE | wc -l
Serial and MPI ZESNode_<n>.txt differSequence ids are assigned in a different orderCompare by content. See How MPI output compares to serial

Checkpoint and resume ​

Message or symptomCauseRemedy
FATAL: checkpoint configuration mismatchThe input deck, ZCtrlPar.txt or a file under Input/ changed since the checkpointRestore the inputs, or start a fresh run
FATAL: the project Output/ already contains a finalized runThe checkpoint's run has completed in this Output/Move Output/ aside to rerun from the checkpoint
FATAL: checkpoint version <v> ... cannot be read by this binaryThe file was written in an older format; the loader accepts version 9 onlyFinish that run with the binary that wrote it, or start a fresh run
FATAL: checkpoint file is corrupt or truncatedThe job was killed while the file was being written, or the file was copied incompletelyResume from the previous checkpoint
ERROR: this project has a deferred, unmerged run (Output/MERGE_PENDING.txt)A --merge=defer run has not been consolidatedRun --merge-only first
[RESUME] Overriding --compress-queue to match the checkpointThe resume command and the checkpoint disagree on --compress-queueNone; the checkpoint's setting is used
Resumed sequences end at a different time from the earlier ones--truncation-time was not repeated on the resume commandRerun the resume with the same value
No checkpoint_seq_*.dat after a slice hit its wall limitThe limit was reached while the server waited for the workers to go idleLower --checkpoint-interval so the slice ends with margin of one longest sequence
A serial resume of an MPI checkpoint never finishes and keeps writing sequences that end with "terminated for unknown reason"Resuming an MPI checkpoint in serial mode is not supportedStop it and resume under MPI; mpirun -n 2 gives one worker

ADS-IDAC Engine Documentation