Opened 15 years ago

Closed 14 years ago

Last modified 8 years ago

#21353 closed enhancement (fixed)

Add a gcc44 variant to openmpi

Reported by: luis.beca@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dechaume@…, howarth@…
Port: openmpi

Description

Please add a gcc44 variant to openmpi.

Change History (7)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…
Version: 1.8.0

comment:2 in reply to:  description ; Changed 15 years ago by dechaume@…

Replying to luis.beca@…:

Please add a gcc44 variant to openmpi.

The configure options --enable-f77 and --enable-f90 are not valid as well.

comment:3 in reply to:  2 ; Changed 15 years ago by dechaume@…

Replying to dechaume@…:

Replying to luis.beca@…:

Please add a gcc44 variant to openmpi.

The configure options --enable-f77 and --enable-f90 are not valid as well.

Here is a patch for the portfile:

--- Portfile.orig 2009-09-14 15:37:10.000000000 +0200 +++ Portfile 2009-09-14 15:55:50.000000000 +0200 @@ -4,6 +4,7 @@

name openmpi version 1.3.3

+revision 1

categories science parallel net platforms darwin maintainers mww

@@ -63,27 +64,32 @@

configure.args-append --enable-progress-threads

}

-variant gcc42 description {build mpif77 and mpif90 using gcc42} conflicts gcc43 g95 { +variant gcc42 description {build mpif77 and mpif90 using gcc42} conflicts gcc43 gcc44 g95 {

configure.args-delete --disable-f77 --disable-f90

  • configure.args-append --enable-f77 --enable-f90

configure.f77 ${prefix}/bin/gfortran-mp-4.2 configure.fc ${prefix}/bin/gfortran-mp-4.2 depends_lib-append port:gcc42 lappend wrappers mpif77 mpif90

}

-variant gcc43 description {build mpif77 and mpif90 using gcc43} conflicts gcc42 g95 { +variant gcc43 description {build mpif77 and mpif90 using gcc43} conflicts gcc42 gcc44 g95 {

configure.args-delete --disable-f77 --disable-f90

  • configure.args-append --enable-f77 --enable-f90

configure.f77 ${prefix}/bin/gfortran-mp-4.3 configure.fc ${prefix}/bin/gfortran-mp-4.3 depends_lib-append port:gcc43 lappend wrappers mpif77 mpif90

}

-variant g95 description {build mpif77 and mpif90 using g95} conflicts gcc42 gcc43 { +variant gcc44 description {build mpif77 and mpif90 using gcc44} conflicts gcc42 gcc43 g95 { + configure.args-delete --disable-f77 --disable-f90 + configure.f77 ${prefix}/bin/gfortran-mp-4.4 + configure.fc ${prefix}/bin/gfortran-mp-4.4 + depends_lib-append port:gcc44 + lappend wrappers mpif77 mpif90 +} + +variant g95 description {build mpif77 and mpif90 using g95} conflicts gcc42 gcc43 gcc44 {

configure.args-delete --disable-f77 --disable-f90

  • configure.args-append --enable-f77 --enable-f90

configure.f77 ${prefix}/bin/g95 configure.fc ${prefix}/bin/g95 depends_lib-append port:g95

@@ -91,8 +97,8 @@

}

# dependents like netcdf need some form of fortran

-if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset g95]} {

  • default_variants +gcc43

+if {![variant_isset gcc42] && ![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} { + default_variants +gcc44

}

livecheck.type regex

Version 0, edited 15 years ago by dechaume@… (next)

comment:4 in reply to:  3 Changed 15 years ago by mf2k (Frank Schima)

Replying to dechaume@…:

Here is a patch for the portfile:

Can you please attach it to the ticket using the "attach file" button?

comment:5 Changed 15 years ago by dechaume@…

Cc: dechaume@… added

Cc Me!

comment:6 Changed 14 years ago by mf2k (Frank Schima)

Cc: howarth@… added

Cc reporter of duplicate #22104.

comment:7 Changed 14 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

This was done in r62786 by mww.

Note: See TracTickets for help on using tickets.