[Trilinos-Users] Compilation error clang 503.0.38

Hoemmen, Mark mhoemme at sandia.gov
Fri Apr 11 16:12:43 MDT 2014

On 4/10/14 12:00 PM, "trilinos-users-request at software.sandia.gov"
<trilinos-users-request at software.sandia.gov> wrote:
>Message: 1
>Date: Wed, 9 Apr 2014 22:17:20 +0000
>From: Rossi Simone <simone.rossi at epfl.ch>
>To: trilinos-users <trilinos-users at software.sandia.gov>
>Subject: [Trilinos-Users] Compilation error clang 503.0.38
>	<1014CD952382214F9BD73E016C6A83EC46E259DB at REXME.intranet.epfl.ch>
>Content-Type: text/plain; charset="iso-8859-1"
>I'm compiling Trilinos 11.6.1 on  OS X 10.9.2 with the latest version of
>xcode, which comes with clang 503.0.38.
>In particular when  compiling Rythmos, I get the following compilation
>pter_support/Thyra_DefaultSpmdVectorSpace_def.hpp:89:17: error:
>      cannot refer to class template 'rank' without a template argument
>    procRank_ = rank(*comm);
>                ^
>I had the same issue in older version of Trilinos 11.
>I temporarily solved the compilation error by using
>procRank_ = Teuchos::rank(*comm);
>in Thyra_DefaultSpmdVectorSpace_def.hpp.
>Let me know if you have any other suggestions.

Greetings and sorry for the trouble!  I noticed that this code had not
changed since the 11.6 release.  I am fixing it now in the development
branch of Trilinos; it should be available in our public git repository no
later than Monday.  Until then, your fix should be fine.  I noticed a few
other potential issues that might not be showing up for various reasons,
and fixed those too.

We just finished the 11.8 release a few days ago, so we will need to port
this fix to the 11.8 release branch as well. Until then, your change
should be fine, or you could use the public git repository to get the
development version.

Thanks for noticing and reporting this!  We appreciate all the help from
users like you! :-)


More information about the Trilinos-Users mailing list