Opened 12 years ago

Last modified 12 years ago

#35162 closed defect

petsc version 3.3 not compatible with slepc version 3.2 — at Version 1

Reported by: Amy.Troschinetz@… Owned by: mmoll@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: slepc, petsc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

As of r94054 petsc has been upgraded to 3.3, however slepc 3.3 has not been released yet and the current version, 3.2, is not compatible with the new version of petsc. petsc is a dependency of slepc.

Confirmed by Satish Balay on the petsc-maint@… mailing list:

for petsc-3.3 - you need slepc-dev [as the corresponding slepc-3.3 is not yet released]

I'm not sure if you can tell macports to use slepc-dev instead of slepc-3.2 [which is compatible with petsc-3.2 - but not petsc-3.3]

The compile error, stemming from a file which includes <slepceps.h>:

In file included from /opt/local/lib/petsc/include/slepcsys.h:78,
                from /opt/local/lib/petsc/include/slepceps.h:26,
                from ...:
/opt/local/lib/petsc/include/slepcvec.h:33: error: expected constructor, destructor, or type conversion before 'extern'
In file included from /opt/local/lib/petsc/include/slepcsys.h:82,
                from /opt/local/lib/petsc/include/slepceps.h:26,
                from ...:
/opt/local/lib/petsc/include/private/slepcimpl.h:28: error: expected constructor, destructor, or type conversion before 'struct'
In file included from /opt/local/lib/petsc/include/slepceps.h:26,
                from ...:
/opt/local/lib/petsc/include/slepcsys.h:102: error: expected constructor, destructor, or type conversion before 'extern'
In file included from /opt/local/lib/petsc/include/petscpc.h:6,
                from /opt/local/lib/petsc/include/petscksp.h:6,
                from /opt/local/lib/petsc/include/slepcst.h:26,
                from /opt/local/lib/petsc/include/slepceps.h:27,
                from ...:
/opt/local/lib/petsc/include/petscdm.h:8: error: expected constructor, destructor, or type conversion before 'extern'
In file included from /opt/local/lib/petsc/include/slepceps.h:27,
                from ...:
/opt/local/lib/petsc/include/slepcst.h:29: error: expected constructor, destructor, or type conversion before 'extern'
/opt/local/lib/petsc/include/slepcst.h:175: error: 'PETSC_EXTERN_CXX_END' does not name a type
In file included from /opt/local/lib/petsc/include/slepceps.h:28,
                from ...:
/opt/local/lib/petsc/include/slepcip.h:149: error: 'PETSC_EXTERN_CXX_END' does not name a type

Machine: Darwin hostname 11.4.2 Darwin Kernel Version 11.4.2: Wed May 30 20:13:51 PDT 2012; root:xnu-1699.31.2~1/RELEASE_X86_64 x86_64

MPI implementation: openmpi 1.5.5, installed using MacPorts

Compiler: i686-apple-darwin11-g++-apple-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_7)

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: slepc petsc removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to mmoll@…
Port: slepc petsc added
Note: See TracTickets for help on using tickets.