Project

General

Profile

Bug #16249

building art on minsky.fnal.gv

Added by Lynn Garren over 2 years ago. Updated over 2 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/19/2017
Due date:
% Done:

0%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

These errors were found when building art v2_06_03 on minsky.fnal.gov:

/home/garren/products/art/v2_06_03/src/art/Utilities/MallocOpts.cc: In function ‘art::{anonymous}::cpu_type art::{anonymous}::get_cpu_type()’:
/home/garren/products/art/v2_06_03/src/art/Utilities/MallocOpts.cc:47:27: error: unused variable ‘op’ [-Werror=unused-variable]
       static volatile int op=0,a;
                           ^
/home/garren/products/art/v2_06_03/src/art/Utilities/MallocOpts.cc:47:32: error: unused variable ‘a’ [-Werror=unused-variable]
       static volatile int op=0,a;
                                ^

Resolved by commenting out the line, but the real issue is that neither code block is enabled.
/home/garren/products/art/v2_06_03/src/art/Framework/Services/System/FloatingPointControl_service.cc:60:2: error: #error architecture not valid
 #error architecture not valid
  ^
/home/garren/products/art/v2_06_03/src/art/Framework/Services/System/FloatingPointControl_service.cc: In member function ‘void art::FloatingPointControl::controlFpe()’:
/home/garren/products/art/v2_06_03/src/art/Framework/Services/System/FloatingPointControl_service.cc:269:37: error: ‘SET_CONTROL_EX’ was not declared in this scope
   SET_CONTROL_EX(fpuState_, suppress);
                                     ^
/home/garren/products/art/v2_06_03/src/art/Framework/Services/System/FloatingPointControl_service.cc:271:13: error: request for member ‘__mxcsr’ in ‘((art::FloatingPointControl*)this)->art::FloatingPointControl::fpuState_’, which is of non-class type ‘fenv_t {aka double}’
   fpuState_.__mxcsr &= ~enable_sse;
             ^

Using fix provided by JBK.
/home/garren/products/art/v2_06_03/src/art/test/Utilities/MallocOpts_t.cpp: In function int main()’:
/home/garren/products/art/v2_06_03/src/art/test/Utilities/MallocOpts_t.cpp:10:19: error:variable ‘mycopy’ set but not used [-Werror=unused-but-set-variable]
   art::MallocOpts mycopy = mo.get(), defaultt;
                   ^

Comment out the offending line, but the real problem is that the code blocks are not enabled.

Related issues

Related to cet-is - Bug #16251: problems encountered when building on minsky.fnal.govAccepted04/19/2017

History

#1 Updated by Lynn Garren over 2 years ago

checking for the architecture definition:

gcc -dM -E -x c /dev/null | grep PPC
#define _ARCH_PPCGR 1
#define __PPC64__ 1
#define _ARCH_PPCSQ 1
#define _ARCH_PPC 1
#define __PPC__ 1
#define _ARCH_PPC64 1

I presume we would want to use __PPC64__

#2 Updated by Lynn Garren over 2 years ago

  • Related to Bug #16251: problems encountered when building on minsky.fnal.gov added

#3 Updated by Lynn Garren over 2 years ago

The following tests FAILED:
  • 175 - UnitTestClient (OTHER_FAULT)
    • aborts with a core dump
  • 179 - test_dropAllEventsSubruns_t.sh (Failed)
    • says
      Art has completed and will exit with status 0
      Processing test_dropAllEventsSubruns_verify.cxx
    • segmentation violation
  • 180 - testOutputRanges_dropAllEventsSubruns (Failed)
    • missing output from previous test

#4 Updated by Kyle Knoepfel over 2 years ago

  • Target version deleted (2.06.03)

#5 Updated by Lynn Garren over 2 years ago

  • Status changed from New to Accepted


Also available in: Atom PDF