[OMPI users] OpenMPI 1.3.1 + BLCR build problem

2009-03-31 Thread M C

Hi guys,

This is my first foray into the world of OpenMPI (MPICH 1, 2 and LAM so far), 
and I'm keen to test checkpointing using the BLCR kernel modules. I get the 
BLCR components to build just fine (v0.8.1), but the OpenMPI build fails with:

%  ./configure --with-blcr=/opt/blcr --with-blcr-libdir=/opt/blcr/lib 
--prefix=/opt/openmpi

...

...
--- MCA component crs:blcr (m4 configuration macro)
checking for MCA component crs:blcr compile mode... dso
checking --with-blcr value... sanity check ok (/opt/blcr)
checking --with-blcr-libdir value... sanity check ok (/opt/blcr/lib)
configure: WARNING: BLCR support requested but not found.  Perhaps you need to 
specify the location of the BLCR libraries.
configure: error: Aborting.

This is strange, as both /opt/blcr and /opt/blcr/lib are sensibly populated:

% ls -F /opt/blcr
bin/  include/  lib/  man/

% ls -F /opt/blcr/lib
blcr/ libcr_omit.la*libcr_run.a  libcr_run.so.0.5.1*
libcr.a   libcr_omit.so@libcr_run.la*libcr.so@
libcr.la* libcr_omit.so.0@  libcr_run.so@libcr.so.0@
libcr_omit.a  libcr_omit.so.0.5.1*  libcr_run.so.0@  libcr.so.0.5.1*

I'm using gcc 4.3.2 under Debian "Lenny" (kernel 2.6.26). Have I missed 
anything obvious?

Thanks for any help,
m

ps. Could this be related to the message posted last September: 
http://www.open-mpi.org/community/lists/users/2008/09/6669.php  ?



_
All your Twitter and other social updates in one place 
http://clk.atdmt.com/UKM/go/137984870/direct/01/

Re: [OMPI users] OpenMPI 1.3.1 + BLCR build problem

2009-04-01 Thread M C

Hi Josh,

Yep, adding that "--with-ft=cr" flag did the trick. Thanks.

Cheers,
m

> From: jjhur...@open-mpi.org
> To: us...@open-mpi.org
> Date: Tue, 31 Mar 2009 15:48:05 -0400
> Subject: Re: [OMPI users] OpenMPI 1.3.1 + BLCR build problem
> 
> I think that the missing configure option might be the problem as  
> well. The BLCR configure logic checks to see if you have enabled  
> checkpoint/restart in Open MPI. If you haven't then it fails out of  
> configure (probably should print a better error message - I'll put  
> that on my todo list).
> 
> The configure flag that you are looking for is:
>   --with-ft=cr
> 
> So try the following and let me know if that fixes the problem for you:
>./configure --with-ft=cr --with-blcr=/opt/blcr --with-blcr-libdir=/ 
> opt/blcr/lib --prefix=/opt/openmpi
> 
> Some of the configure options and runtime options are discussed in the  
> Checkpoint/Restart in Open MPI User's Guide which you can find linked  
> at the bottom of the following wiki page:
>https://svn.open-mpi.org/trac/ompi/wiki/ProcessFT_CR
> 
> You may also want to consider using the thread options too for  
> improved C/R response:
>--enable-mpi-threads --enable-ft-thread
> 
> Best,
> Josh
> 
> On Mar 31, 2009, at 2:49 PM, Dave Love wrote:
> 
> > M C  writes:
> >
> >> --- MCA component crs:blcr (m4 configuration macro)
> >> checking for MCA component crs:blcr compile mode... dso
> >> checking --with-blcr value... sanity check ok (/opt/blcr)
> >> checking --with-blcr-libdir value... sanity check ok (/opt/blcr/lib)
> >> configure: WARNING: BLCR support requested but not found.  Perhaps  
> >> you need to specify the location of the BLCR libraries.
> >> configure: error: Aborting.
> >>
> >> This is strange, as both /opt/blcr and /opt/blcr/lib are sensibly  
> >> populated:
> >
> > I ran into this recently.  You need an extra flag which I forget, but
> > ./configure --help will show it can take `LAM' as an argument.  It  
> > seems
> > pretty obscure and probably deserves a report I haven't had time to
> > make.
> >
> > ___
> > 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

_
View your Twitter and Flickr updates from one place – Learn more!
http://clk.atdmt.com/UKM/go/137984870/direct/01/