Opened 10 years ago

Closed 10 years ago

#46175 closed defect (fixed)

petsc @3.5.2_1 +complex build failure

Reported by: johannes.feist@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc:
Port: petsc

Description

The PETSc port by default enables hwloc support (configuring with "--with-hwloc"). However, this is incompatible with support for complex numbers (enabled by +complex), with the following error message from the PETSc configure script:

:info:configure *******************************************************************************
:info:configure          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
:info:configure -------------------------------------------------------------------------------
:info:configure Cannot use hwloc with complex numbers it is not coded for this capability
:info:configure *******************************************************************************

The attached patch fixes this by moving support for hwloc into a variant +hwloc that is enabled by default, but conflicts with +complex.

Attachments (1)

Portfile-petsc.diff (1.7 KB) - added by johannes.feist@… 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by johannes.feist@…

Attachment: Portfile-petsc.diff added

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

Cc: sean@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to sean@…

comment:2 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Thanks for the patch! I added this functionality in r130198.

Note: See TracTickets for help on using tickets.