[Trilinos-Users] Intrepid pgi build of test routine.

Bochev, Pavel B pbboche at sandia.gov
Tue Oct 6 10:17:35 MDT 2009


Jason:

We have not seen this type of error and will look into it. You should be able to generate html and Latex documentation by running doxygen - let me know if you have problem with that.

Regards,


Pavel Bochev

Applied Mathematics and Applications
Sandia National Laboratories
P.O. Box 5800, MS 1320
Albuquerque, NM 87185-1320
505.844.1990 (O)
505.845.7442 (F)
http://www.sandia.gov/~pbboche/





On 10/6/09 9:02 AM, "Jason Slemons" <slemons at cray.com> wrote:

While trying to build intrepid with pgi 9.0.4 I got the following errors;

"/home/users/slemons/trilinos/trilinos-10.0-Source/packages/intrepid/test/Cell/\
test_02.cpp", line 572: error:
          expression must be a modifiable lvalue
      topo_iterator = ++supportedTopologies.begin();
                        ^
"/home/users/slemons/trilinos/trilinos-10.0-Source/packages/intrepid/test/Cell/\
test_02.cpp", line 1140: error:
          expression must be a modifiable lvalue
      topo_iterator = --supportedTopologies.end();
                        ^
I looked in test_02.cpp and the iterator is declared:
  // Declare iterator to loop over the cell topologies
  std::vector<shards::CellTopology>::iterator topo_iterator;
supportedTopologies is declared right away:
  // Collect all supported cell topologies
  std::vector<shards::CellTopology> supportedTopologies;

I looked for definitions of ++ in the intrepid folder but I couldn't go much further since the documentation page for intrepid on the web is not found(which now that I think about it is a larger issue than the one I'm having here). In the mean time I will just disable this test but if someone knows about a fix or has seen this in the past, please let me know.

--Jason Slemons


-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20091006/be79a75a/attachment.html 


More information about the Trilinos-Users mailing list