Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] OpenMPI-ROMIO-OrangeFS
From: vithanousek (vithanousek_at_[hidden])
Date: 2014-02-26 13:23:00


Thanks for reply, Is it possible that the patch solvs all this problems, not only "switch => ifs" problem? I realy dont know, wher the problem is now (OpenMPI, ROMIO, OrangeFS). Thanks Hanousek Vít ---------- Původní zpráva ---------- Od: Ralph Castain <rhc_at_[hidden]> Komu: Open MPI Users <users_at_[hidden]> Datum: 26. 2. 2014 19:16:36 PÅ™edmÄ›t: Re: [OMPI users] OpenMPI-ROMIO-OrangeFS "Edgar hasn't had a chance to find the necessary patch - he was on travel, returning soon. On Feb 26, 2014, at 9:27 AM, vithanousek <vithanousek_at_[hidden]> wrote: > Hello, > > I have still problems with compiling OpenMPI 1.6.5 with OrangeFS 2.8.7 support. > > I compiled OrangeFS by this: > > ./configure --prefix=/usr/local/orangefs2 --with-kernel=/usr/src/kernels/ 2.6.32-431.5.1.el6.x86_64 --with-openib=/usr --without-bmi-tcp > make -j 32 > make -j 32 kmod > make install > make kmod_install > > this works. > than I tried to compile OpenMPI (with fixed convert_named function in ad_ pvfs2_io_dtype.c) by this: > > ./configure --prefix=/usr/local/openmpi_1.6.5_romio2 --with-io-romio-flags ='--with-pvfs2=/usr/local/orangefs2' > (...) > make -j32 > (...) > CCLD mca_io_romio.la > /usr/bin/ld: /usr/local/orangefs2/lib/libpvfs2.a(errno-mapping.o): relocation R_X86_64_32S against `PINT_errno_mapping' can not be used when making a shared object; recompile with -fPIC > /usr/local/orangefs2/lib/libpvfs2.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[3]: *** [mca_io_romio.la] Error 1 > > So I tried recompile OrangeFS by this: > > export CFLAGS="-fPIC" > ./configure --prefix=/usr/local/orangefs2 --with-kernel=/usr/src/kernels/ 2.6.32-431.5.1.el6.x86_64 --with-openib=/usr --without-bmi-tcp > make -j 32 > make -j 32 kmod > make install > make kmod_install > > (there was errors with current->fsuid => current->cred->fsuid, in multiple files. I hardcoded this in files, bad idea I know ) > Then compilation of OpenMPI works. > > ./configure --prefix=/usr/local/openmpi_1.6.5_romio2 --with-io-romio-flags ='--with-pvfs2=/usr/local/orangefs2' > make -j32 > make install > > but when i created simple program which is using MPIIO, it failed when i run it: > > mpirun -np 1 -host node18 mpiio > [node18:01696] mca: base: component_find: unable to open /usr/local/ openmpi_1.6.5_romio/lib/openmpi/mca_io_romio: /usr/local/openmpi_1.6.5_ romio/lib/openmpi/mca_io_romio.so: undefined symbol: ADIOI_PVFS2_IReadContig (ignored) > > Because I got message form OrangeFS mailing list about -fPIC errors, i tryed to recompile OrangeFS withou this flag and compile OpenMPI (static linked) by this: > > ./congure --prefix=/usr/local/openmpi_1.6.5_romio2 --with-io-romio-flags=' --with-pvfs2=/usr/local/orangefs2' --enable-static --disable-shared > (...) > make -j 32 > (...) > CCLD otfmerge-mpi > /root/openmpi-1.6.5/ompi/contrib/vt/vt/../../../.libs/libmpi.a(ad_pvfs2. o):(.data+0x60): undefined reference to `ADIOI_PVFS2_IReadContig' > /root/openmpi-1.6.5/ompi/contrib/vt/vt/../../../.libs/libmpi.a(ad_pvfs2. o):(.data+0x68): undefined reference to `ADIOI_PVFS2_IWriteContig' > collect2: ld returned 1 exit status > make[10]: *** [otfmerge-mpi] Error 1 > (...) > > Now I realy dont know, what is wrong. > Is there Anybody ho has OpenMPI working with OrangeFS? > > Thanks for replies > HanousekVít > _______________________________________________ > users mailing list > users_at_[hidden] > http://www.open-mpi.org/mailman/listinfo.cgi/users _______________________________________________ users mailing list users_at_[hidden] http://www.open-mpi.org/mailman/listinfo.cgi/users"--=_036edf336cdbead52fd020dbª8dba96-fcaa-5da1-a4d4-c455285ba8e2_Content-Type: text/html;
        charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body>Thanks for reply,<br/><br/>Is it possible that the patch solvs all this problems, not only "switch => ifs" problem?<br/>I realy dont know, wher the problem is now (OpenMPI, ROMIO, OrangeFS).<br/><br/>Thanks<br/>Hanousek Vít<br/><p>---------- Původní zpráva ----------<br/>Od: Ralph Castain &lt;rhc_at_[hidden]><br/>Komu: Open MPI Users &lt;users_at_[hidden]><br/>Datum: 26. 2. 2014 19:16:36<br/>Předmět: Re: [OMPI users] OpenMPI-ROMIO-OrangeFS</p><br/><blockquote>Edgar hasn't had a chance to find the necessary patch - he was on travel, returning soon.<br/><br/><br/>On Feb 26, 2014, at 9:27 AM, vithanousek &lt;vithanousek_at_[hidden]> wrote:<br/><br/>> Hello,<br/>> <br/>> I have still problems with compiling OpenMPI 1.6.5 with OrangeFS 2.8.7 support.<br/>> <br/>> I compiled OrangeFS by this:<br/>> <br/>> ./configure --prefix=/usr/local/orangefs2 --with-kernel=/usr/src/kernels/2.6.32-431.5.1.el6.x86_64 --with-openib=/usr --without-bmi-tcp<br/>> make -j 32<br/>> make -j 32 kmod<br/>> make install<br/>> make kmod_install<br/>> <br/>> this works.<br/>> than I tried to compile OpenMPI (with fixed convert_named function in ad_pvfs2_io_dtype.c) by this:<br/>> <br/>> ./configure --prefix=/usr/local/openmpi_1.6.5_romio2 --with-io-romio-flags='--with-pvfs2=/usr/local/orangefs2'<br/>> (...)<br/>> make -j32<br/>> (...)<br/>> CCLD mca_io_romio.la<br/>> /usr/bin/ld: /usr/local/orangefs2/lib/libpvfs2.a(errno-mapping.o): relocation R_X86_64_32S against `PINT_errno_mapping' can not be used when making a shared object; recompile with -fPIC<br/>> /usr/local/orangefs2/lib/libpvfs2.a: could not read symbols: Bad value<br/>> collect2: ld returned 1 exit status<br/>> make[3]: *** [mca_io_romio.la] Error 1<br/>> <br/>> So I tried recompile OrangeFS by this:<br/>> <br/>> export CFLAGS="-fPIC"<br/>> ./configure --prefix=/usr/local/orangefs2 --with-kernel=/usr/src/kernels/2.6.32-431.5.1.el6.x86_64 --with-openib=/usr --without-bmi-tcp<br/>> make -j 32<br/>> make -j 32 kmod<br/>> make install<br/>> make kmod_install<br/>> <br/>> (there was errors with current->fsuid => current->cred->fsuid, in multiple files. I hardcoded this in files, bad idea I know )<br/>> Then compilation of OpenMPI works.<br/>> <br/>> ./configure --prefix=/usr/local/openmpi_1.6.5_romio2 --with-io-romio-flags='--with-pvfs2=/usr/local/orangefs2'<br/>> make -j32<br/>> make install<br/>> <br/>> but when i created simple program which is using MPIIO, it failed when i run it:<br/>> <br/>> mpirun -np 1 -host node18 mpiio <br/>> [node18:01696] mca: base: component_find: unable to open /usr/local/openmpi_1.6.5_romio/lib/openmpi/mca_io_romio: /usr/local/openmpi_1.6.5_romio/lib/openmpi/mca_io_romio.so: undefined symbol: ADIOI_PVFS2_IReadContig (ignored)<br/>> <br/>> Because I got message form OrangeFS mailing list about -fPIC errors, i tryed to recompile OrangeFS withou this flag and compile OpenMPI (static linked) by this: <br/>> <br/>> ./congure --prefix=/usr/local/openmpi_1.6.5_romio2 --with-io-romio-flags='--with-pvfs2=/usr/local/orangefs2' --enable-static --disable-shared<br/>> (...)<br/>> make -j 32<br/>> (...)<br/>> CCLD otfmerge-mpi<br/>> /root/openmpi-1.6.5/ompi/contrib/vt/vt/../../../.libs/libmpi.a(ad_pvfs2.o):(.data+0x60): undefined reference to `ADIOI_PVFS2_IReadContig'<br/>> /root/openmpi-1.6.5/ompi/contrib/vt/vt/../../../.libs/libmpi.a(ad_pvfs2.o):(.data+0x68): undefined reference to `ADIOI_PVFS2_IWriteContig'<br/>> collect2: ld returned 1 exit status<br/>> make[10]: *** [otfmerge-mpi] Error 1<br/>> (...)<br/>> <br/>> Now I realy dont know, what is wrong. <br/>> Is there Anybody ho has OpenMPI working with OrangeFS?<br/>> <br/>> Thanks for replies<br/>> HanousekVít<br/>> _______________________________________________<br/>> users mailing list<br/>> users_at_[hidden]<br/>> http://www.open-mpi.org/mailman/listinfo.cgi/users
><br/>_______________________________________________<br/>users mailing list<br/>users_at_[hidden]<br/>
http://www.open-mpi.org/mailman/listinfo.cgi/users></body></html>--=_036edf336cdbead52fd020dbª8dba96-fcaa-5da1-a4d4-c455285ba8e2_=--