To re-link your application, you must have access to the object files (.o files) for your application.
If you are using third party applications, the vendor must supply you with the object files.
If you are building your own applications you need to first compile them without linking.
C++ applications need to be modified before re-linking.
C Language applications
To compile a C language application without linking, run the compiler with the -c option instead of the -o option. For example, to compile an object file for my_job:
% cc -c my_job.c
To re-link a C language object file use the supplied LSF replacement linker ckpt_ld. For example, to re-link an object file for an application called my_job:
To compile a Fortran application without linking, run the compiler with the -c option instead of the -o option. For example, to compile an object file for my_job:
% f77 -c my_job.f
To re-link a Fortran object file use the supplied LSF replacement linker ckpt_ld_f. For example, to re-link an object file for an application called my_job: