General

General

How to fix a corrupted file index table in a CFX res-file?

    • FAQFAQ
      Participant

      The following error message of the solver indicates a corrupted file index table: Error reported by IO module: write_index: fwrite failed writing format: Bad file descriptor An error has occurred in cfx5solve: Error reported by IO module: iif_flush: write_index failed An error has occurred in cfx5solve: Error reported by IO module: cfxwriteString @ 734: (fputs failed) systerr:: Bad file descriptor This can be fixed by extracting and writing back the CCL with the following commands: cfx5cmds -def name.res -read -ccl ccl.dat cfx5cmds -def name.res -write -ccl ccl.dat Keywords: CFX, solver, restart, initialization, res, CCL, stop