ckpt_ld, ckpt_ld_f - replacement linkers for C and Fortran programs to be checkpointed
ckpt_ld [ options ... ] file
ckpt_ld_f [ options ... ] file
ckpt_ld and ckpt_ld_f are shell scripts provided to simplify the linking of the user's object files with the checkpoint user library libckpt.a and the special checkpoint startup routine ckpt_crt0.o. ckpt_ld is for C programs and ckpt_ld_f is for Fortran 77 programs. To link with the checkpoint library, the source code should first be compiled without linking. Then the object files should be linked using ckpt_ld or ckpt_ld_f instead of ld. ckpt_ld and ckpt_ld_f accept the same options as ld.
For IRIX 6.0, there are three sets of the checkpoint user library and the checkpoint startup routine, libckpt.mips[234].a and ckpt_crt0.mips[234].o. They are to be linked with object files compiled under option «-mips2", «mips3", or «-mips4» respectively. ckpt_ld and ckpt_ld_f use option «mips2", «-mips3", or «-mips4» to distinguish the instruction set used and will choose the correct checkpoint library and startup routine automatically. The default is «-mips4".
On IRIX 5.2 and IRIX 6.0, C and Fortran programs must be compiled with the «-non_shared» option in order to be linked with the checkpoint user library and the checkpoint startup routine.
C:
%cc -c test1.c
%cc -c test2.c
%ckpt_ld -o test test1.o test2.o
Fortran:
%f77 -c test1.f
%f77 -c test2.f
%ckpt_ld_f -o test test1.o test2.o
The LSF administrator may need to edit the ckpt_ld script at install time to reflect where you installed libckpt.a and ckpt_crt0.o before use.
SIGHUP is used internally to implement checkpointing. Do not use this signal in programs to be checkpointed.
ld(1) , libckpt.a(3) , ckpt_crt0.o(3)