First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 97417
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: John C. Vernaleo <john@netpurgatory.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
lam-ebuild-fortran.patch a patch to the ebuild for lam-mpi-7.0.6 to enable fortran use variable patch John C. Vernaleo 2005-06-29 13:06 0000 952 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2005-06-29 13:05 0000
Working ebuilds of sys-cluster/lam-mpi do not build with fortran (f77) support.
 This includes lam-7.0.6 and lam-7.1.  lam-7.1.1 does attempt to build fortran
support, but the entire ebuild doesn't work, and it doesn't follow the fortran
use variable.

I have a patched version of the ebuild (which I will attach) for version 7.0.6
which checks for the fortran use variable similar to the way version 7.0.4-r1
worked and the builds fortran support with g77.

Reproducible: Always
Steps to Reproduce:
1. emerge lam-mpi
2. mpif77 -showme

Actual Results:  
mpif77 fails

Expected Results:  
mpif77 should not fail.

------- Comment #1 From John C. Vernaleo 2005-06-29 13:06:31 0000 -------
Created an attachment (id=62260) [edit]
a patch to the ebuild for lam-mpi-7.0.6 to enable fortran use variable

This is the patch I mentioned in the bug report.

------- Comment #2 From John C. Vernaleo 2005-06-29 13:12:54 0000 -------
(From update of attachment 62260 [edit])
>--- /usr/portage/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild	2005-02-07 07:12:06.000000000 -0500
>+++ /usr/local/portage/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild	2005-06-29 15:27:06.000000000 -0400
>@@ -2,7 +2,7 @@
> # Distributed under the terms of the GNU General Public License v2
> # $Header: /var/cvsroot/gentoo-x86/sys-cluster/lam-mpi/lam-mpi-7.0.6.ebuild,v 1.6 2005/02/07 12:01:47 eradicator Exp $
> 
>-IUSE="crypt"
>+IUSE="crypt fortran"
> 
> MY_P=${P/-mpi}
> S=${WORKDIR}/${MY_P}
>@@ -39,6 +39,12 @@ src_compile() {
> 		myconf="--with-rsh=rsh"
> 	fi
> 
>+	if use fortran; then
>+		myconf="${myconf} --with-fc=g77"
>+	else
>+		myconf="${myconf} --without-fc"
>+	fi
>+
> 	econf \
> 		--sysconfdir=/etc/lam-mpi \
> 		--enable-shared \
>@@ -48,7 +54,7 @@ src_compile() {
> 		--disable-checking  \
> 		--enable-cstdio=stdio \
> 		--with-system-zlib \
>-		--without-fc \
> 		${myconf} || die
> 
> 	# sometimes emake doesn't finish since it gets ahead of itself :)

------- Comment #3 From John C. Vernaleo 2005-06-29 13:14:26 0000 -------
Sorry about that.  There was a mistake in my patch, and I didn't know how to
edit it without turning it into a comment instead of an attachment.

------- Comment #4 From Robin Johnson 2005-07-05 16:48:21 0000 -------
fixed in cvs.

------- Comment #5 From Donnie Berkholz 2005-07-05 20:26:42 0000 -------
This commit is not correct. It assumes that the Fortran compiler is g77 when
that is certainly not always the case, particularly with the advent of gcc4.

Robin, you may wish to take more advantage of the fortran eclass, since lam-mpi
already inherits it.

------- Comment #6 From Robin Johnson 2005-07-05 21:08:10 0000 -------
ok fixed now.

------- Comment #7 From Donnie Berkholz 2005-07-05 21:31:08 0000 -------
Thanks!

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