Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] pure static "mpirun" launcher
From: Ilias Miroslav (Miroslav.Ilias_at_[hidden])
Date: 2012-01-24 08:54:28

Dear experts,

following I successfully build static OpenMPI library.
Using such prepared library I succeeded in building parallel static executable - dirac.x (ldd dirac.x-not a dynamic executable).

The problem remains, however, with the mpirun (orterun) launcher.
While on the local machine, where I compiled both static OpenMPI & static dirac.x I am able to launch parallel job
<OpenMPI_static>/mpirun -np 2 dirac.x ,
I can not lauch it elsewhere, because "mpirun" is dynamically linked, thus machine dependent:

ldd mpirun: => (0x00007fff13792000) => /lib/x86_64-linux-gnu/ (0x00007f40f8cab000) => /lib/x86_64-linux-gnu/ (0x00007f40f8a93000) => /lib/x86_64-linux-gnu/ (0x00007f40f888f000) => /lib/x86_64-linux-gnu/ (0x00007f40f860d000) => /lib/x86_64-linux-gnu/ (0x00007f40f83f1000) => /lib/x86_64-linux-gnu/ (0x00007f40f806c000)
        /lib64/ (0x00007f40f8ecb000)

Please how to I build "pure" static mpirun launcher, usable (in my case together with static dirac.x) also on other computers ?

Thanks, Miro

RNDr. Miroslav Ilia¹, PhD.
Katedra chémie
Fakulta prírodných vied
Univerzita Mateja Bela
Tajovského 40
97400 Banská Bystrica
tel: +421 48 446 7351
email : Miroslav.Ilias_at_[hidden]
Department of Chemistry
Faculty of Natural Sciences
Matej Bel University
Tajovského 40
97400 Banska Bystrica
tel: +421 48 446 7351
email :  Miroslav.Ilias_at_[hidden]