Yes, but it's not really a LAM decision -- it's a ROMIO decision (ROMIO's configure is the one that figures this stuff out because ROMIO is the one that uses AIO).

Also remember a few things:

- the LAM that is in OSCAR is kinda old (7.0.6). I haven't had the time/resources to upgrade it - the ROMIO that is in OSCAR is also kinda old. It's unlikely to be upgraded since LAM is in maintenance mode (in favor of Open MPI).

So it's unlikely that we'll change this for LAM 7.0 or 7.1 (it'll be right in Open MPI, though ;-) ).


On Jun 2, 2005, at 3:48 PM, Bernard Li wrote:

Would it be useful to have LAM determine for librt support?  Would that
help?

It sounds like librt > libaio since it is kernel level - I could be
wrong though.

Cheers,

Bernard

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jeff Squyres
Sent: Thursday, June 02, 2005 12:43
To: OSCAR-devel List
Subject: Re: [Oscar-devel] RPM help

Dave: you read my intent correctly.

However, more testing this afternoon has shed some light on what is
really going on.

MDK does not have a libaio RPM because the glibc software package now
includes the AIO API (albeit in a standalone library named
librt), and
the 2.6 kernel series includes kernel-level support for AIO.  So you
can compile and run apps that use AIO on MDK 10.0 with the 2.6 kernel
with librt -- not libaio.

FC2 and 3, however, chose to do something different.  They have the
librt from glibc, and you can compile and run AIO applications just
like you can with MDK.  But they *also* have a libaio.

I'm *guessing* that libaio is the user-level/threaded version of AIO,
and the glibc/librt version is the kernel-level version.

So -- installing an OSCAR libaio RPM on MDK wouldn't break anything,
but it is definitely sub-optimal (if I'm right in guessing that their
libaio is user-level and librt is effectively utilizing the
AIO support
in the 2.6 kernel).

So we're back to square 1.  :-(


On Jun 2, 2005, at 1:17 PM, Lombard, David N wrote:

Hmmm.  My reading of Jeff's email suggests modifying the
OSCAR-LAM spec
to buildrequire/require libaio (provided via the existing LAM aio
package), then rebuilding on Mandriva so that the Mandriva
version of
OSCAR-LAM requires libaio and dependency resolution works
as intended.

Of course, I could have completely misread Jeff's email--in
that case,
I'll just go back to my corner.  Lemme know... :-P

--
dnl

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:oscar-devel-
[EMAIL PROTECTED] On Behalf Of Bernard Li
Sent: Wednesday, June 01, 2005 2:08 PM
To: Jeffrey Squyres; OSCAR-devel List
Subject: RE: [Oscar-devel] RPM help

Hey Jeff:

This sounds good - can someone who has access to Mandriva
Linux 10.0
(Fernando?) test this out by rebuilding the libaio-oscar SRPM from
trunk?

Thanks,

Bernard

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jeffrey Squyres
Sent: Wednesday, June 01, 2005 13:56
To: OSCAR-devel List
Subject: Re: [Oscar-devel] RPM help

I thought about this a bit, and I think that if we force
Mandriva to
use our libaio-oscar RPM, this might work.

If I add:

BuildRequires: /usr/lib/libaio.so
Requires: /usr/lib/libaio.so

Would that do the trick?  I'm *guessing* that BuildRequires
can list a
file (vs. an RPM), just like Requires can.  Does anyone know for
sure?

This will force whoever builds the LAM RPM on Mandriva to have the
libaio-oscar RPM installed (or some libaio RPM) -- which is a good
thing.  Specifically: aio will no longer be optional for the
OSCAR LAM
RPM -- it will be specifically mandated.



On May 31, 2005, at 7:10 PM, Bernard Li wrote:

Hey Jeff:

I noticed that we used to bundle libaio for Mandrake
(libaio-oscar) -
would it help if this RPM can be installed on Mandriva
Linux 10.0?

Cheers,

Bernard

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jeff Squyres
Sent: Monday, May 23, 2005 5:04
To: OSCAR-devel List
Subject: Re: [Oscar-devel] RPM help

On May 21, 2005, at 7:43 PM, David N. Lombard wrote:

So it seems that none of them require libaio.so directly
-- they all
require libaio.so.something.  So packman/depman is doing
exactly the
Right Thing in Bernard's case: it is finding the libaio
RPM, which
contains libaio.so.1.0.0.  It is *not* finding the
libaio-devel RPM
(which contains libaio.so) because there is no requirement
to do so.

This tells me there *should* be a requires for libaio.so in the
package containing mpicc.  That is, after all, what explicit
dependencies are for--cases where the auto-dependency
scanner fails.

What about systems that do not have libaio?  (like Mandriva)

--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps
using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your
own
Applications - visit
http://developer.yahoo.net/?
fr_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel


--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using
Yahoo!
Search APIs Find out how you can build Yahoo! directly
into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps
using Yahoo!
Search APIs Find out how you can build Yahoo! directly
into your own
Applications - visit
http://developer.yahoo.net/?fr=fad-ysdn-ostg-q22005
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel


--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit
http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel



--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to