First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 126295
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Eric Thibodeau <kyron@neuralbs.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openmpi-1.1.1.ebuild OpenMPI v1.1.1 ebuild text/plain Nicolas Bigaouette 2006-09-08 14:09 0000 2.90 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 126295 depends on: Show dependency tree
Show dependency graph
Bug 126295 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-15 05:27 0000
The URL points to the openmpi in the gentoo-science overlay. Note that it's
structured to accommodate slotting of the mpi ebuilds (this is becoming a
requirement). The eclass (not written as of yet) has to be user callable. One
approach I see of doing this eclass for the moment would be to show the
available implementations and, once one is selected, display the lines to add
to their .bashrc (or equivalent). I don't think we can "play" with a user's
shell config file as it would be rather dangerous and non-deterministic ;).

------- Comment #1 From Eric Thibodeau 2006-03-15 08:33:36 0000 -------
OpenMPI won't build with Torque installed (on amd64 only, PIC issue):

x86_64-pc-linux-gnu-gcc -shared  .libs/pls_tm_component.o .libs/pls_tm_module.o
 -Wl,--rpath -Wl,/var/tmp/portage/openmpi-1.0.1/work/openmpi-1.0.1/orte/.libs
-Wl,--rpath -Wl,/var/tmp/portage/openmpi-1.0.1/work/openmpi-1.0.1/opal/.libs
-Wl,--rpath -Wl,/usr/lib64/openmpi/1.0.1-gcc-3.4/lib64 -lpbs
/var/tmp/portage/openmpi-1.0.1/work/openmpi-1.0.1/orte/.libs/liborte.so
-L/var/tmp/portage/openmpi-1.0.1/work/openmpi-1.0.1/opal/.libs
/var/tmp/portage/openmpi-1.0.1/work/openmpi-1.0.1/opal/.libs/libopal.so -lm
-lutil -lnsl  -march=opteron -pthread -Wl,-soname -Wl,mca_pls_tm.so -o
.libs/mca_pls_tm.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libpbs.a(tm.o):
relocation R_X86_64_32S against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libpbs.a: could not
read symbols: Bad value

/usr/lib64/libpbs.a is owned by Torque (present installed version is the sci's
overlay sys-cluster/torque-2.0.0_p7.

------- Comment #2 From Donnie Berkholz 2006-03-15 08:44:52 0000 -------
Static libraries shouldn't need to be -fPIC, but when shared libraries link
them, then they do. The preferred solution is to figure out a way to avoid
linking a static library into a shared library.

------- Comment #3 From Sébastien Fabbro 2006-03-16 01:57:00 0000 -------
I did some slight changes regarding pic behaviour on the overlay.
Do you have any examples of ebuild avoiding linking static libs with shared
that could save us some doc searching?
right now, I simply followed
http://www.open-mpi.org/faq/?category=building#build-rte

------- Comment #4 From Sébastien Fabbro 2006-04-17 15:15:53 0000 -------
Hi

New ebuild for version 1.0.2 in the overlay. Many bug fixes upstream and I
added a simple warning if the threads use flag is enabled.

Sebastien

------- Comment #5 From Eric Thibodeau 2006-04-17 21:32:35 0000 -------
(In reply to comment #4)
> Hi
> 
> New ebuild for version 1.0.2 in the overlay. Many bug fixes upstream and I
> added a simple warning if the threads use flag is enabled.
> 
> Sebastien
> 

Thanks, I'll be testing it soon with real code ;)

------- Comment #6 From Eric Thibodeau 2006-05-01 11:05:45 0000 -------
In pkg_setup(), the line
    fortran_pkg_setup
should be 
    use fortran && fortran_pkg_setup

Else, the package bombs out complaining that there is no Fortran compiler on
the system...

------- Comment #7 From Donnie Berkholz 2006-06-24 00:46:07 0000 -------
*** Bug 129991 has been marked as a duplicate of this bug. ***

------- Comment #8 From Eric Thibodeau 2006-06-25 22:35:42 0000 -------
OpenMPI 1.1 is officially out, time to make an ebuild for it. Many more
configure options added (sigh). Since I have some experience building that
branch on Spark I'll most probably fiddle the ebuild but I'm under SUN OS (and
forced to 32bit mode O_o ) so I won't be able to test the actual ebuild (ie:
one constraint, arch has to be forced to v9). I will test them under x86 (P3,
nocona, Athlon) and x86_64 (Opteron) though.

------- Comment #9 From Nicolas Bigaouette 2006-09-08 14:09:46 0000 -------
Created an attachment (id=96438) [edit]
OpenMPI v1.1.1 ebuild

This is an ebuild for v1.1.1, adapted from gentooscience.org's v1.0.2 with some
addition to be able to compile using PGI compilers.

Note that I patched my /etc/portage/eclass/fortran.eclass with patch from
http://bugs.gentoo.org/show_bug.cgi?id=65950

------- Comment #10 From Donnie Berkholz 2006-09-25 00:41:35 0000 -------
I've modified the overlay's ebuild to remove the slotting because portage does
not support multiple slots per version, and committed it to the tree. Thanks
for your hard work and patience!

------- Comment #11 From Eric Thibodeau 2006-09-25 06:54:53 0000 -------
Little note: The short description should include "MPI" for -S search purposes.

First Last Prev Next    No search results available      Search page      Enter new bug