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 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 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 avoid modifying ld.so.conf or setting up aliases so openmpi
> > can be properly loaded and unloaded with the modules command.
> > 
> > Ashley,
> > 
> > On Tue, 2008-03-04 at 09:37 -0500, Tim Prins wrote:
> >> 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 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/openmpi-1.2.5 and are using the modules
> >>> command to select which mpi to use, the modules command correctly sets
> >>> PATH to pick up mpicc and mpirun on the head node however the issue
> >>> comes with running a job, users need to specify -prefix on the mpirun
> >>> command line.  Is there a way to specify this in the environment so I
> >>> could make it happen automatically as part of the modules environment?
> >>>
> >>> I've searched the archives for this, the closest I can find is this
> >>> exchange in 2006, if I specify a full path to mpirun then it does the
> >>> right thing but is there a way to extend this functionality to the case
> >>> where mpirun is run from path?
> >>> http://www.open-mpi.org/community/lists/users/2006/01/0480.php
> >>>
> >>> Yours,  Ashley Pittman.
> >>>
> >>> ___
> >>> users mailing list
> >>> us...@open-mpi.org
> >>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> >> ___
> >> users mailing list
> >> us...@open-mpi.org
> >> http://www.open-mpi.org/mailman/listinfo.cgi/users
> > 
> > ___
> > users mailing list
> > us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users



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 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 avoid modifying ld.so.conf or setting up aliases so openmpi
can be properly loaded and unloaded with the modules command.

Ashley,

On Tue, 2008-03-04 at 09:37 -0500, Tim Prins wrote:

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 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/openmpi-1.2.5 and are using the modules
command to select which mpi to use, the modules command correctly sets
PATH to pick up mpicc and mpirun on the head node however the issue
comes with running a job, users need to specify -prefix on the mpirun
command line.  Is there a way to specify this in the environment so I
could make it happen automatically as part of the modules environment?

I've searched the archives for this, the closest I can find is this
exchange in 2006, if I specify a full path to mpirun then it does the
right thing but is there a way to extend this functionality to the case
where mpirun is run from path?
http://www.open-mpi.org/community/lists/users/2006/01/0480.php

Yours,  Ashley Pittman.

___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




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 avoid modifying ld.so.conf or setting up aliases so openmpi
can be properly loaded and unloaded with the modules command.

Ashley,

On Tue, 2008-03-04 at 09:37 -0500, Tim Prins wrote:
> 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 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/openmpi-1.2.5 and are using the modules
> > command to select which mpi to use, the modules command correctly sets
> > PATH to pick up mpicc and mpirun on the head node however the issue
> > comes with running a job, users need to specify -prefix on the mpirun
> > command line.  Is there a way to specify this in the environment so I
> > could make it happen automatically as part of the modules environment?
> > 
> > I've searched the archives for this, the closest I can find is this
> > exchange in 2006, if I specify a full path to mpirun then it does the
> > right thing but is there a way to extend this functionality to the case
> > where mpirun is run from path?
> > http://www.open-mpi.org/community/lists/users/2006/01/0480.php
> > 
> > Yours,  Ashley Pittman.
> > 
> > ___
> > users mailing list
> > us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users



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 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/openmpi-1.2.5 and are using the modules
command to select which mpi to use, the modules command correctly sets
PATH to pick up mpicc and mpirun on the head node however the issue
comes with running a job, users need to specify -prefix on the mpirun
command line.  Is there a way to specify this in the environment so I
could make it happen automatically as part of the modules environment?

I've searched the archives for this, the closest I can find is this
exchange in 2006, if I specify a full path to mpirun then it does the
right thing but is there a way to extend this functionality to the  
case

where mpirun is run from path?
http://www.open-mpi.org/community/lists/users/2006/01/0480.php

Yours,  Ashley Pittman.

___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




Re: [OMPI users] Problems Compiling gfortran on mac os-x 10.5.3

2008-03-04 Thread Jeff Squyres
Try using FC=gfortran, not F90=gfortran.  That should fix the problem  
for you.


FC instead of F90 is unfortunately the GNU Autoconf standard way of  
specifying the Fortran compiler (beyond Fortran 77).  It's a little  
confusing, but that's what you need to do.



On Mar 4, 2008, at 10:16 AM, Chase Latta wrote:


Hello,

I am working with a few other physics students on my campus to try  
to get open-mpi to run on a cluster of 8 imacs all running mac os-x  
10.5.3.  Before I start I will let you know that we are not the most  
savvy programmers so any detailed information would be much  
appreciated.


We ran the default install of open-mpi and everything installed  
correctly.  We are able to compile and run c programs using the  
mpicc wrappers.  The problem that we are having is that we are  
unable to get the fortran wrappers to work.  We are using gfortran  
and the compiler works perfectly on its own.  To enable the wrapper  
compilers I ran the command ./configure --enable-f77 --enable-f90  
F77=gfortran F90=gfortran.  I then ran the make and make install  
commands.  Everything appeared to work correctly.  The problem is  
that when I try to compile a program with mpif90 I get an error  
saying that open-mpi was not built with fortran 90 support (the same  
happens with f77).  I have looked everywhere in the faq's and cannot  
figure out why this is happening.  The only thing that I can think  
is that when I tell the F90 wrapper to use gfortran it tells me that  
there are no flags in my compiler to compiler to compile .f and .f90  
files; even though I can compile .f and .f90 files with my gfortran  
compiler.  Any help would be very much appreciated.


Thanks in advance,
Chase

Never miss a thing. Make Yahoo your homepage.  
___

users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
Jeff Squyres
Cisco Systems



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 jobs.


Another way to go is to compile your own Open MPI, and add "--prefix=/ 
my/favorite/path --enable-mpirun-prefix-by-default" to the configure  
options.


Aurelien



Le 4 mars 08 à 09:28, Ashley Pittman a écrit :



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/openmpi-1.2.5 and are using the modules
command to select which mpi to use, the modules command correctly sets
PATH to pick up mpicc and mpirun on the head node however the issue
comes with running a job, users need to specify -prefix on the mpirun
command line.  Is there a way to specify this in the environment so I
could make it happen automatically as part of the modules environment?

I've searched the archives for this, the closest I can find is this
exchange in 2006, if I specify a full path to mpirun then it does the
right thing but is there a way to extend this functionality to the  
case

where mpirun is run from path?
http://www.open-mpi.org/community/lists/users/2006/01/0480.php

Yours,  Ashley Pittman.

___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




--
* Dr. Aurélien Bouteiller
* Sr. Research Associate at Innovative Computing Laboratory
* University of Tennessee
* 1122 Volunteer Boulevard, suite 350
* Knoxville, TN 37996
* 865 974 6321







[OMPI users] Problems Compiling gfortran on mac os-x 10.5.3

2008-03-04 Thread Chase Latta
Hello,

I am working with a few other physics students on my campus to try to get 
open-mpi to run on a cluster of 8 imacs all running mac os-x 10.5.3.  Before I 
start I will let you know that we are not the most savvy programmers so any 
detailed information would be much appreciated.  

We ran the default install of open-mpi and everything installed correctly.  We 
are able to compile and run c programs using the mpicc wrappers.  The problem 
that we are having is that we are unable to get the fortran wrappers to work.  
We are using gfortran and the compiler works perfectly on its own.  To enable 
the wrapper compilers I ran the command ./configure --enable-f77 --enable-f90 
F77=gfortran F90=gfortran.  I then ran the make and make install commands.  
Everything appeared to work correctly.  The problem is that when I try to 
compile a program with mpif90 I get an error saying that open-mpi was not built 
with fortran 90 support (the same happens with f77).  I have looked everywhere 
in the faq's and cannot figure out why this is happening.  The only thing that 
I can think is that when I tell the F90 wrapper to use gfortran it tells me 
that there are no flags in my compiler to compiler to compile .f and .f90 
files; even though I can compile .f
 and .f90 files with my gfortran compiler.  Any help would be very much 
appreciated.

Thanks in advance,
Chase




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


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 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/openmpi-1.2.5 and are using the modules
command to select which mpi to use, the modules command correctly sets
PATH to pick up mpicc and mpirun on the head node however the issue
comes with running a job, users need to specify -prefix on the mpirun
command line.  Is there a way to specify this in the environment so I
could make it happen automatically as part of the modules environment?

I've searched the archives for this, the closest I can find is this
exchange in 2006, if I specify a full path to mpirun then it does the
right thing but is there a way to extend this functionality to the case
where mpirun is run from path?
http://www.open-mpi.org/community/lists/users/2006/01/0480.php

Yours,  Ashley Pittman.

___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users




[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/openmpi-1.2.5 and are using the modules
command to select which mpi to use, the modules command correctly sets
PATH to pick up mpicc and mpirun on the head node however the issue
comes with running a job, users need to specify -prefix on the mpirun
command line.  Is there a way to specify this in the environment so I
could make it happen automatically as part of the modules environment?

I've searched the archives for this, the closest I can find is this
exchange in 2006, if I specify a full path to mpirun then it does the
right thing but is there a way to extend this functionality to the case
where mpirun is run from path?
http://www.open-mpi.org/community/lists/users/2006/01/0480.php

Yours,  Ashley Pittman.