Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision |
condor:submit:checkpointing [2011/08/05 15:54] – garrettheath4 | condor:submit:checkpointing [2011/08/05 15:57] – garrettheath4 |
---|
to compile your ''HellowOrld'' program, simply stick ''condor_compile'' in front of this command to compile your program to include the extra Condor features: | to compile your ''HellowOrld'' program, simply stick ''condor_compile'' in front of this command to compile your program to include the extra Condor features: |
<code bash>condor_compile gcc -o HellowOrld HellowOrld.c</code> | <code bash>condor_compile gcc -o HellowOrld HellowOrld.c</code> |
**Note** that this will overwrite any existing non-Condor compilation called "''HellowOrld''". It may be a good idea to compile your program normally first and then compile it again with ''condor_compile'' but with a different name, such as ''condor_compile gcc -o HellowOrldCondor HellowOrld.c'', although a program compiled with ''condor_compile'' should still have the same non-Condor features and functionality as one compiled normally. | **Note** that this will overwrite any existing non-Condor compilation called "''HellowOrld''". It may be a good idea to compile your program normally first and then compile it again with ''condor_compile'' but with a different name, such as ''condor_compile gcc -o HellowOrldCondor HellowOrld.c''. Although a program compiled with ''condor_compile'' should still have the same non-Condor features and functionality as one compiled normally, it may help with debugging to still have a copy of your program that was compiled normally. |
| |
=====Standalone Checkpointing===== | =====Standalone Checkpointing===== |
<code bash>setarch x86_64 -R -L ./HellowOrld arg1 arg2 ...</code> | <code bash>setarch x86_64 -R -L ./HellowOrld arg1 arg2 ...</code> |
| |
**Note**: This page assumes you have a 64-bit processor. If you have an older 32-bit processor architecture, use ''setarch i386'' instead of ''setarch x86_64'' when running your ''condor_compile''d program on your own 32-bit computer. | :!: **Note**: This page assumes you have a 64-bit processor. If you have an older 32-bit processor architecture, use ''setarch i386'' instead of ''setarch x86_64'' when running your ''condor_compile''d program on your own 32-bit computer. To find out what kind of processor you have, run ''uname -p'' and use whatever is printed as the argument for ''setarch'' commands. |
| |
Your program will run normally on your computer. To kill it, press ''Ctrl-C'' like you normally do. This sends the ''SIGINT'' signal to your program which causes programs to die immediately. | Your program will run normally on your computer. To kill it, press ''Ctrl-C'' like you normally do. This sends the ''SIGINT'' signal to your program which causes programs to die immediately. |