Sponsored Content
Full Discussion: Disable Prelinking Ubuntu10
Operating Systems Linux Fedora Disable Prelinking Ubuntu10 Post 302675521 by chercheur857 on Monday 23rd of July 2012 07:39:26 AM
Old 07-23-2012
Disable Prelinking Ubuntu10

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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Disable X

Im sure this is somthing easy to do but i just can not figure it out where and how would i take X out of the boot for hp ux 11 i looked in the man's and nothing so maybe sombody could throw me a bone... thanks BB (8 Replies)
Discussion started by: bbutler3295
8 Replies

2. UNIX for Dummies Questions & Answers

disable su

i have this unix version "unix v/386" and i want to disable su kindly help me (2 Replies)
Discussion started by: sak900354
2 Replies

3. Solaris

How to disable SU right

Anyone know how to disable SU right for a particular user in Solaris 8 (4 Replies)
Discussion started by: civic2005
4 Replies

4. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

5. Solaris

Disable ftp

HI all, I am using Solaris 10 and would like to know if it possible to disable ftp use for a single entry in my /etc/hosts file. Thanks (5 Replies)
Discussion started by: pxy2d1
5 Replies

6. UNIX for Dummies Questions & Answers

How to disable X windows?

I have modified /etc/inittab file for changing default runlevel from 5 to 3 . Now i can boot in terminal mode .However if i issue init 5 i get a X window. How would i disable loading X? do i need to disable some services? P.S. What is Xvfb? How would i disable it? My Distribution Details. #... (11 Replies)
Discussion started by: pinga123
11 Replies

7. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

8. Solaris

How to disable ping?

Hello Guys, how do you disable ping in solaris 10? Thanks in advance. (1 Reply)
Discussion started by: cjashu
1 Replies

9. UNIX for Advanced & Expert Users

Disable rm -rf * or rm -rf / in Cent OS

Can some one suggest me the way to disable " rm -rf * " or " rm -rf / " command execution permanently from the server. Any suggestion will be very much helpful . (18 Replies)
Discussion started by: shiek.kaleem
18 Replies

10. AIX

Disable a command

I need to disable a command. For example - disabling "ls" means that when someone type "ls" - nothing happens . Somebody help ???? :confused::confused::confused: (8 Replies)
Discussion started by: bobochacha29
8 Replies
lamssi_cr(7)							LAM SSI CR OVERVIEW						      lamssi_cr(7)

NAME
lamssi_checkpoint_restart - overview of LAM's MPI checkpoint / restart SSI modules DESCRIPTION
The "kind" for checkpoint / restart SSI modules is "cr". Specifically, the string "cr" (without the quotes) is the prefix that should be used with the mpirun command line with the -ssi switch. For example: mpirun -ssi cr blcr C my_mpi_program LAM/MPI can involuntarily checkpoint and restart parallel MPI jobs. Doing so requires that LAM/MPI was compiled with thread support and that back-end checkpointing systems are available at run-time. MPI jobs will have to run with at least MPI_THREAD_SERIALIZED support. If a job elects to run with checkpoint/restart support and an available cr module is found, the job's thread level will automatically be pro- moted to MPI_THREAD_SERIALIZED. See the User's Guide for more details. Checkpoint Phases LAM defines three phases for checkpoint / restart support in each MPI process: Checkpoint. When the checkpoint request arrives, before the actual checkpoint occurs. Continue. After a checkpoint has successfully completed, in the same process as the checkpoint was invoked in. Restart After a checkpoint has successfully completed, in a new / restarted process. The Continue and Restart phases are identical except for the process in which they are invoked -- the Continue phase is invoked in the same process as the Checkpoint phase was invoked. The Restart phase is only invoked in newly restarted processes. AVAILABLE MODULES
LAM currently has two cr modules: blcr and self. In order for an MPI job to be able to be checkpointed and restarted, all of its MPI SSI modules must support checkpoint/restart. Currently, this means using the crtcp RPI module or the gm RPI module when compiled with gm_get() support (see the User's Guide for more details). blcr CR Module The Berkeley Lab Checkpoint/Restart (BLCR) single-node checkpointer is a software system from Lawrence Berkeley Labs. See the project web page for more details: http://www.nersc.gov/research/ftg/checkpoint/. The blcr module has one SSI parameter: cr_blcr_priority blcr's default priority is 50. self CR Module The self module, when used with checkpoint/restart SSI modules, will invoke the user-defined functions to save and restore checkpoints. It is simply a mechanism for user-defined functions to be invoked at LAM's Checkpoint, Continue, and Restart phases. Hence, the only data that is saved during the checkpoint is what is written in the user's checkpoint function. No MPI library state is saved at all. As such, the model for the self module is slightly different than, for example, the blcr module. Specifically, the Restart function is not invoked in the same process image of the process that was checkpointed. The Restart phase is invoked during MPI_INIT of a new instance of the application (i.e., it starts over from main()). Multiple SSI parameters are available: cr_self_user_prefix Specify a string prefix for the name of the checkpoint, continue, and restart functions that should be invoked by LAM. That is, speci- fying "-ssi cr_self_user_prefix foo" means that LAM expects to find three functions at run-time: int foo_checkpoint(), int foo_con- tinue(), and int foo_restart(). This is a convenience parameter that can be used instead of the three parameters listed below. cr_self_user_checkpoint Name of the user function to invoke during the Checkpoint phase. cr_self_user_continue Name of the user function to invoke during the Continue phase. cr_self_user_restart Name of the user function to invoke during the Restart phase. If none of these parameters are specified and the self module is selected, it will use the default prefix lam_cr_self Finally, the usual priority SSI parameter is also available: cr_self_priority self's default priority is 25. SEE ALSO
lamssi(7), mpirun(1), LAM User's Guide LAM 7.1.4 July, 2007 lamssi_cr(7)
All times are GMT -4. The time now is 09:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy