MPI_HOME is set to be /home/andreea/MPIrelated/OpenMPI/openmpi_1.3.3 But as far as I see it needs files that are only in SOURCES... so maybe I did something wrong in the installation of OpenMPI? If I run an already compiled file it works fine, of course. But it does not compile
--- On Mon, 11/2/09, Sergio Díaz <sd...@cesga.es> wrote: From: Sergio Díaz <sd...@cesga.es> Subject: Re: [OMPI users] Checkpoint/Restart in OpenMPI To: "Open MPI Users" <us...@open-mpi.org> List-Post: users@lists.open-mpi.org Date: Monday, November 2, 2009, 2:36 PM Maybe the variable MPI_HOME?? Andreea m. (Costea) escribió: > Ok... > Maybe someone can clear me :) > > I have BLCR sources in this directory : > /home/andreea/MPIrelated/BLCR/blcr-0.8.2 > it's installation is in this directory: > /home/andreea/MPIrelated/BLCR/blcr-0.8.2/builddir > > OpenMPI: > sources: /home/andreea/MPIrelated/OpenMPI/SOURCES > installation: /home/andreea/MPIrelated/OpenMPI/openmpi_1.3.3 > > I added to the variables (PATH, LD_LIBRARY_PATH) teh paths from the > installation directories: > for PATH I added: /home/andreea/MPIrelated/BLCR/blcr-0.8.2/builddir/bin > > /home/andreea/MPIrelated/OpenMPI/openmpi_1.3.3/bin > fro LD_LIBRARY_PATH: /home/andreea/MPIrelated/BLCR/blcr-0.8.2/builddir/lib > > /home/andreea/MPIrelated/OpenMPI/openmpi_1.3.3/lib > > If I want to compile a c program, MPI based, I get errors of not > finding the mpi.h (which is located in the OpenMPI/SOURCES/include > directory). It can't also find the constants like: > MPI_COMM_WORLD,MPI_INT, etc. > > Help, anyone? > Thanks, > Andreea > > > --- On *Mon, 11/2/09, Sergio Díaz /<sd...@cesga.es>/* wrote: > > > From: Sergio Díaz <sd...@cesga.es> > Subject: Re: [OMPI users] Checkpoint/Restart in OpenMPI for Sergio > To: "Open MPI Users" <us...@open-mpi.org> > Date: Monday, November 2, 2009, 1:12 PM > > Hi, > > The option --enable-ft-thread doesn't exist. By default is enable. > The options --with-blcr and --with-blcr-libdir have to point to > your BLCR installation dir. > Before compiling openmpi, you have to load the blcr modules. > > When I installed BLCR, my installation dir was in a different > directory. > > Regards, > Sergio > > > > Andreea m. (Costea) escribió: >> One more thing: >> when you installed BLCR did you install it in the same directory >> with the sources or in a different one? And when you point to the >> blcr directory and the blcr library directory in openmpi >> configure command, do you point to the installation or to the >> sources directory? >> >> Regards, >> Andreea >> >> --- On *Mon, 11/2/09, Andreea m. (Costea) >> /<doodlie_s...@yahoo.com>/* wrote: >> >> >> From: Andreea m. (Costea) <doodlie_s...@yahoo.com> >> Subject: Re: [OMPI users] Checkpoint/Restart in OpenMPI >> To: "Open MPI Users" <us...@open-mpi.org> >> Date: Monday, November 2, 2009, 7:02 AM >> >> Hi again. >> >> I have installed BLCR, passed all the tests, and now I tried >> to install OpenMPI. This is the configuration call: >> >>-------------------------------------------------------------------------------------------------- >> ./configure >> --prefix=/home/andreea/MPIrelated/OpenMPI/openmpi_1.3.3/ >> --enable-ft-thread --with-ft=cr --enable-mpi-threads >> --with-blcr=/home/andreea/MPIrelated/BLCR/blcr-0.8.2/builddir/ >> >>--with-blcr-libdir=/home/andreea/MPIrelated/BLCR/blcr-0.8.2/builddir/lib >> >>-------------------------------------------------------------------------------------------------- >> >> In the output I got, among others, this warnings: >> >> configure: WARNING: no usable BFD found; using nm-output file >> for addr./symbol mapping >> configure: WARNING: Unrecognized options: --enable-ft-thread, >> --with-ft, --enable-mpi-threads, --with-blcr, >> --with-blcr-libdir, --enable-ltdl-convenience >> configure: WARNING: Unrecognized options: --enable-ft-thread, >> --with-ft, --enable-mpi-threads, --with-blcr, >> --with-blcr-libdir, --enable-ltdl-convenience >> >> Any ideas? >> Thanks, >> Andreea >> --- On *Fri, 10/30/09, Sergio Díaz /<sd...@cesga.es>/* wrote: >> >> >> From: Sergio Díaz <sd...@cesga.es> >> Subject: Re: [OMPI users] Checkpoint/Restart in OpenMPI >> To: "Open MPI Users" <us...@open-mpi.org> >> Date: Friday, October 30, 2009, 11:28 AM >> >> Hi Andreea, >> >> I compiled an installation of openmpi with >> checkpoint/restart support and it is working fine and I'm >> trying to integrate it with SGE. >> Did you set the right option compiling openMPI? >> Did you installed BLCR before? >> >> I used these options: >> >> ./configure --prefix=/opt/cesga/openmpi-1.3.3 >> --with-ft=cr --enable-mpi-threads >> --with-blcr=/opt/cesga/blcr-0.8.2 >> --with-blcr-libdir=/opt/cesga/blcr-0.8.2/lib -with-sge >> CC=icc CXX=icpc F77=ifort FC=ifort >> >> Regards, >> Sergio >> >> Andreea m. (Costea) escribió: >>> Hi, >>> >>> I'm a newbie, and I want to test the checkpoint/restart >>> mechanism included in OpenMPI v 1.3.3. I have tried to >>> search for some documentation about how to install the >>> OpenMPI implementation in order to support >>> checkpoint/restart, and I found lots of links to >>> >>> https://svn.open-mpi.org/trac/ompi/wiki/ProcessFT_CR >>> >>> which seems not to work. Can you please advise me what >>> to read or what steps to follow in order to have >>> everything working? >>> >>> I already installed OpenMPI but checkpoint/restart >>> doesn't work. During installation, in installation log I >>> found teh following lines (don't know if it's my >>> software configuration fault or the way I installed >>> OpenMPI): >>> >>>-------------------------------------------------------------------------------- >>> --- MCA component pml:crcpw (m4 configuration macro) >>> checking for MCA component pml:crcpw compile mode... dso >>> checking if MCA component pml:crcpw can compile... no >>> >>> +++ Configuring MCA framework crcp >>> checking for no configure components in framework crcp... >>> checking for m4 configure components in framework >>> crcp... bkmrk >>> >>> --- MCA component crcp:bkmrk (m4 configuration macro) >>> checking for MCA component crcp:bkmrk compile mode... dso >>> checking if MCA component crcp:bkmrk can compile... no >>> >>>-------------------------------------------------------------------------------- >>> >>> Thanks, >>> Andreea >>> >>> >>> >>> >>>------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> users mailing list >>> us...@open-mpi.org >>> http://www.open-mpi.org/mailman/listinfo.cgi/users >> >> >> -- >> Sergio Díaz Montes >> Centro de Supercomputacion de Galicia >> Avda. de Vigo. s/n (Campus Sur) 15706 Santiago de >> Compostela (Spain) >> Tel: +34 981 56 98 10 ; Fax: +34 981 59 46 16 >> email: sd...@cesga.es ; http://www.cesga.es/ >> >> ------------------------------------------------ >> >>