Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Gentoo This forum is for the discussion of Gentoo Linux.


  Search this Thread
Old 05-21-2010, 04:31 AM   #1
Registered: Oct 2005
Location: Italy
Distribution: Gentoo
Posts: 83

Rep: Reputation: 17
Parallel mpirun non interactive run uses wrong lib on cluster nodes

I am having this issue with Intel compiled version of openMpi which apparently prevents parallel running on home made cluster nodes:
Here below is the output of ldd command on the program which is on shared nfs dir:

On the Master

pier@mindthegap /mnt/sda4/WRFiFort/WRFV3/test/em_real $ ldd /mnt/sda4/WRFiFort/WRFV3/test/em_real/wrf.exe => (0x00007fffa43ff000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46f7f9e000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46f7d14000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46f7b10000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46f78d4000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46f7605000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46f7383000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46f7108000) => /lib/ (0x00007f46f6f04000) => /lib/ (0x00007f46f6cec000) => /lib/ (0x00007f46f6ae9000) => /lib/ (0x00007f46f6866000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46f8293000) => /lib/ (0x00007f46f664a000) => /lib/ (0x00007f46f62f1000) => /lib/ (0x00007f46f60da000) => /usr/lib/ (0x00007f46f5ea7000) => /usr/lib/ (0x00007f46f5c80000) => /usr/lib/ (0x00007f46f5a2f000) => /usr/lib/ (0x00007f46f56a5000) => /lib/ (0x00007f46f549c000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46f5108000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46f4ef2000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46f4db4000) => /usr/lib/ (0x00007f46f4b7b000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46f4a42000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46f47cb000)
/lib64/ (0x00007f46f8247000) => /lib/ (0x00007f46f45b5000)

non interactively on node1

pier@mindthegap /mnt/sda4/WRFiFort/WRFV3/test/em_real $ ssh node1 ldd /mnt/sda4/WRFiFort/WRFV3/test/em_real/wrf.exe
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding. => (0x00007fff73ae2000) => /usr/lib/ (0x00007f178d2f5000) => /usr/lib/ (0x00007f178d09b000) => /usr/lib/ (0x00007f178ce97000) => /usr/lib/ (0x00007f178cc62000) => /usr/lib/ (0x00007f178c9c9000) => /usr/lib/ (0x00007f178c76b000) => /usr/lib/ (0x00007f178c50a000) => /lib/ (0x00007f178c306000) => /lib/ (0x00007f178c0ee000) => /lib/ (0x00007f178beeb000) => /lib/ (0x00007f178bc68000) => /lib64/ (0x00007f178d589000) => /lib/ (0x00007f178ba4c000) => /lib/ (0x00007f178b6f3000) => /lib/ (0x00007f178b4dc000) => /lib/ (0x00007f178b2d3000) => /usr/lib/ (0x00007f178b082000) => /usr/lib/ (0x00007f178acf8000) => /lib/ (0x00007f178aae2000) => /usr/lib/ (0x00007f178a8a9000) => /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/ (0x00007f178a5ce000)
/lib64/ (0x00007f178d53d000)

interactively on node1:

pier@node1 /mnt/sda4/WRFiFort/WRFV3/test/em_real $ ldd /mnt/sda4/WRFiFort/WRFV3/test/em_real/wrf.exe => (0x00007fffafcce000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46d7f79000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46d7cef000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46d7aeb000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46d78af000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46d75e0000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46d735e000) => /mnt/sda4/WRFiFort/lib/ (0x00007f46d70e3000) => /lib/ (0x00007f46d6edf000) => /lib/ (0x00007f46d6cc7000) => /lib/ (0x00007f46d6ac4000) => /lib/ (0x00007f46d6841000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46d826e000) => /lib/ (0x00007f46d6625000) => /lib/ (0x00007f46d62cc000) => /lib/ (0x00007f46d60b5000) => /usr/lib/ (0x00007f46d5e82000) => /usr/lib/ (0x00007f46d5c5b000) => /usr/lib/ (0x00007f46d5a0a000) => /usr/lib/ (0x00007f46d5680000) => /lib/ (0x00007f46d5477000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46d50e3000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46d4ecd000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46d4d8f000) => /usr/lib/ (0x00007f46d4b56000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46d4a1d000) => /opt/intel/Compiler/11.1/072/lib/intel64/ (0x00007f46d47a6000)
/lib64/ (0x00007f46d8222000) => /lib/ (0x00007f46d4590000)

How to make the program use the "right" intel libs (preventing mixing of mpi intel-gnu compiled libs) when run non interactively by mpirun?

Thanks for any hint on this,

Last edited by Pier; 05-21-2010 at 04:49 AM.
Old 05-21-2010, 08:28 AM   #2
Registered: Oct 2005
Location: Italy
Distribution: Gentoo
Posts: 83

Original Poster
Rep: Reputation: 17
Well, it seems I got over with writing a wrap script:


# initialize intel environment
. /mnt/sda4/WRFiFort/

ulimit -s unlimited

Yet I don't know whether a solution as such is a bad slimy workaround.


cluster, noninteractive

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hwaddr of all nodes on a cluster usagi32 Linux - Server 4 09-10-2009 11:21 PM
LXer: Run Parallel Commands in a Cluster Using SSH on UNIX LXer Syndicated Linux News 0 09-12-2006 01:54 PM
Cluster....which distro is best for the Nodes? KaptinKABOOM Linux - Software 7 06-14-2004 08:34 PM
rsh on Cluster nodes rudy3107 Linux - Software 0 07-22-2003 06:53 AM
How do i create an a/c at all nodes in the cluster dogma Linux - Networking 4 05-19-2003 10:21 AM > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration