Building a user-level checkpointable job involves re-linking your application object files (.o files) with the LSF checkpoint startup routine and library. LSF also provides a set of replacement linkers that call the standard linkers on your platform with the correct options to build a checkpointable application. LSF provides:
The checkpoint library replaces low-level system calls such as open(), close(), and dup(), and contains signal handlers and routines to internally implement checkpointing.
The startup routine replaces the language-level module that calls main(), sets the checkpoint signal handler, and initializes internal data structures used to record job information.
For IRIX 6.2 you need to use cc with the ‑non_shared ‑mips2 ‑32 compiler options, and ckpt_ld with ‑mips2 ‑32 linker options. For example, to compile and link my_job.c: |
|