View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010390ParaViewBugpublic2010-03-08 19:012011-01-13 17:00
ReporterBurlen 
Assigned ToMarcus D. Hanwell 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionDevelopment 
Target VersionFixed in Version3.8 
Summary0010390: feenableexcept and PGI 9.0.4 compiler
DescriptionCompiling PV with pgi 9.0.4 on Cray Xt5 the build dies as follows.

"/nics/c/home/bloring/ParaView/ParaView3/VTK/Common/vtkFloatingPointExceptions.cxx", line 54: error:
          identifier "feenableexcept" is undefined
    feenableexcept(FE_DIVBYZERO | FE_INVALID);
    ^

"/nics/c/home/bloring/ParaView/ParaView3/VTK/Common/vtkFloatingPointExceptions.cxx", line 74: error:
          identifier "fedisableexcept" is undefined
    fedisableexcept(FE_DIVBYZERO | FE_INVALID);
    ^

2 errors detected in the compilation of "/nics/c/home/bloring/ParaView/ParaView3/VTK/Common/vtkFloatingPointExceptions.cxx".
make[2]: *** [VTK/Common/CMakeFiles/vtkCommon.dir/vtkFloatingPointExceptions.cxx.o] Error 2



"fenv.h" says:

117
118 #ifdef __USE_GNU
119
120 /* Enable individual exceptions. Will not enable more exceptions than
121 EXCEPTS specifies. Returns the previous enabled exceptions if all
122 exceptions are successfully set, otherwise returns -1. */
123 extern int feenableexcept (int __excepts) __THROW;
124
125 /* Disable individual exceptions. Will not disable more exceptions than
126 EXCEPTS specifies. Returns the previous enabled exceptions if all
127 exceptions are successfully disabled, otherwise returns -1. */
128 extern int fedisableexcept (int __excepts) __THROW;
129
130 /* Return enabled exceptions. */
131 extern int fegetexcept (void) __THROW;
132 #endif
133
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0019806)
Marcus D. Hanwell (developer)
2010-03-10 11:03

This should be fixed in CVS, VTK/Common/CMakeLists.txt 1.235 contains the fix. Pat Marion verified it compiled correctly on the Cray with the PGI compiler. Please reopen if this is not the case.
(0019829)
Alan Scott (manager)
2010-03-10 22:16

Tested by Pat. See notes above. Closed.

 Issue History
Date Modified Username Field Change
2010-03-08 19:01 Burlen New Issue
2010-03-09 16:46 Marcus D. Hanwell Status backlog => tabled
2010-03-09 16:46 Marcus D. Hanwell Assigned To => Marcus D. Hanwell
2010-03-10 11:03 Marcus D. Hanwell Note Added: 0019806
2010-03-10 11:03 Marcus D. Hanwell Status tabled => @80@
2010-03-10 11:03 Marcus D. Hanwell Fixed in Version => 3.8
2010-03-10 11:03 Marcus D. Hanwell Resolution open => fixed
2010-03-10 22:16 Alan Scott Note Added: 0019829
2010-03-10 22:16 Alan Scott Status @80@ => closed
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709


Copyright © 2000 - 2018 MantisBT Team