[OMPI users] -prefix option to mpirun.

2008-03-04 Thread Ashley Pittman
Hello, I work for medium sized UK based ISV and am packaging open-mpi so that is can be made available as an option to our users, so far I've been very impressed by how smoothly things have gone but I've got one problem which doesn't seem to be covered by the FAQ. We install openmpi to /opt/open

Re: [OMPI users] -prefix option to mpirun.

2008-03-04 Thread Tim Prins
Hi Ashley, Yes, you can have this done automatically. Just use the '--enable-mpirun-prefix-by-default' option to configure. I'm actually a bit surprised this is not in the FAQ. I'll have to add it. Hope this helps, Tim Ashley Pittman wrote: Hello, I work for medium sized UK based ISV and

Re: [OMPI users] -prefix option to mpirun.

2008-03-04 Thread Aurélien Bouteiller
You have two options. You can add /my/favorite/path/lib to /etc/ ld.so.conf (and run ldconfig once to rebuild the library cache) or export LD_LIBRARY_PATH=/my/favorite/path/lib:$LD_LIBRARY_PATH in /etc/ profile. This will solve any problem you could face with "missing libmpi.so" when running

Re: [OMPI users] -prefix option to mpirun.

2008-03-04 Thread Doug Reeder
Ashley, Could you define an alias for mpirun that includes -prefix and the necessary argument. Doug Reeder On Mar 4, 2008, at 6:28 AM, Ashley Pittman wrote: Hello, I work for medium sized UK based ISV and am packaging open-mpi so that is can be made available as an option to our users, so

Re: [OMPI users] -prefix option to mpirun.

2008-03-04 Thread Ashley Pittman
That looks like just what I need, thank you for the quick response. The closest I could find in the FAQ is this entry which has a broken link to the second entry. http://www.open-mpi.org/faq/?category=running#mpirun-prefix http://www.open-mpi.org/faq/?category=mpi-aps#why-no-rpath I need to av

Re: [OMPI users] -prefix option to mpirun.

2008-03-04 Thread Tim Prins
Thanks for the report of the broken link. It is now fixed. I have also added a paragraph about --enable-mpirun-prefix-by-default to http://www.open-mpi.org/faq/?category=running#mpirun-prefix Tim Ashley Pittman wrote: That looks like just what I need, thank you for the quick response. The cl

Re: [OMPI users] -prefix option to mpirun.

2008-03-04 Thread Ashley Pittman
Fantastic! I've rebuilt with the flag and it worked as expected, thank you for you speedy response. Ashley, On Tue, 2008-03-04 at 12:20 -0500, Tim Prins wrote: > Thanks for the report of the broken link. It is now fixed. I have also > added a paragraph about --enable-mpirun-prefix-by-default t