[MacPorts] #35162: petsc version 3.3 not compatible with slepc version 3.2

MacPorts noreply at macports.org
Wed Jul 11 21:06:11 PDT 2012


#35162: petsc version 3.3 not compatible with slepc version 3.2
------------------------------------------+---------------------------------
 Reporter:  Amy.Troschinetz@…             |       Owner:  mmoll@…           
     Type:  defect                        |      Status:  new               
 Priority:  Normal                        |   Milestone:                    
Component:  ports                         |     Version:  2.1.1             
 Keywords:                                |        Port:  slepc, petsc      
------------------------------------------+---------------------------------
Changes (by ryandesign@…):

  * keywords:  slepc, petsc =>
  * owner:  macports-tickets@… => mmoll@…
  * milestone:  MacPorts Future =>
  * port:  => slepc, petsc


Old description:

> As of #94054 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 at mcs.anl.gov 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)

New description:

 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 at mcs.anl.gov 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)

--

-- 
Ticket URL: <https://trac.macports.org/ticket/35162#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list