Hello,
I have done the checkpoint (with BLCR library) of my program like that in a machine /home/researcher
~/blcr-build/bin/cr_run find /
ps aux | grep find
~/blcr-build/bin/cr_checkpoint -f /tmp/find.blcr 15135
i have migrate the file find.blcr in another machine /home/researcher1
i'd like to do the restart ~/blcr-build/bin/cr_restart /home/researcher1/find.blcr but i have this problem on
/home/researcher1/ :
- open('
/home/researcher/blcr-build/libcr/.libs/libcr_run.so.0.5.2', 0x0) failed: -2
- mmap failed:
/home/researcher/blcr-build/libcr/.libs/libcr_run.so.0.5.2
- thaw_threads returned error, aborting. -2
Restart failed: No such file or directory
perhaps for this reason :
Quote:
Note that libraries must be exactly the same for a restart to work; if they are not the same size, for instance, restart will not work. If you've installed the same version of the operating system to all of your nodes (and you've updated them all the same way), you would think things would be fine. However, some Linux distributions are using "prelinking", which is a method for assigning fixed addresses for shared libraries to load into executables. Prelinking is a feature which enables applications that use many shared libraries to load faster. The fixed address used by the same library on different nodes is often deliberately randomized (in order to defeat buffer overflow attacks that could otherwise rely on standard libraries being loaded at the same address on every machine with the same OS version). Alas, if the prelinked addresses are different, you will not be able to restart BLCR checkpoints on another node.
The solution for this problem is to disable prelinking on both the source and destination nodes of any process migration before starting any process you may wish to migrate. For most cluster environments, that means disabling it on all nodes before using BLCR for migration. Prelinking is a systemwide setting, so you will need to be root. On Fedora Core 2, at least, the fix is to edit /etc/sysconfig/prelink and set 'PRELINKING=no'. The comments claim that this will cause prelinking to be undone automatically the next night. We've never been patient, and instead "undo" prelinking immediately by running (as root)
# /usr/sbin/prelink --undo --all
Automating this process for an entire cluster depends on your specific environment.
Please, How can i disable the prelinking in ubuntu10? after or before install blcr ?
Thank you.