Ok, this is getting messier as we go. I've attached yet another patch, but this will now duplicate -lrt as well. The problem is that the entire build system is a big mess with a ton of hacks. And until we clean it up, these things will be hard to fix correctly. If it is OK with everyone, we can use this hack fix for the time being. But we *really* need to clean up the build system soon (I wish we could find some intern to do this for us). -- Pavan On 07/19/2009 07:56 PM, Rajeev Thakur wrote:
Async I/O needs -lrt. If I manually add -lrt it works.
Rajeev
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Pavan Balaji Sent: Sunday, July 19, 2009 7:30 PM To: [email protected] Subject: Re: [mpich2-core] mpich2-1.1.1rc1 tarball sanity checking
That set of compiles passes (although -lpthread now appears twice in the command line), but it fails further below in the f77/io tests with missing aio calls. The duplicate -lpthread problem has been there even before this patch (you should be able to see it with trunk too). While we need to fix it, it's not really a high priority.
With respect to the clock_getres errors, they belong to the -lrt library. It's quite likely that that is facing the same error as pthreads as well (though I'm surprised it didn't show up in my testing; I didn't try the I/O tests). I don't know about the AIO stuff, but it's possible some library is missing for that too.
-- Pavan
-- Pavan Balaji http://www.mcs.anl.gov/~balaji
-- Pavan Balaji http://www.mcs.anl.gov/~balaji