Project

General

Profile

Bug #1405

Charm fails to compile on BGQ and Cray XE giving an error in TopoManager.C

Added by Nitin Bhat over 2 years ago. Updated over 2 years ago.

Status:
Merged
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
02/09/2017
Due date:
% Done:

0%


Description

Machine: Vesta

Latest commit: 22035bcbda2e7987ee429d586243a90b35f4a8b7 (Bug #815: Add OPTS to hybrid API makefile)

Possible suspects: fa88d7f97cc947105af60fdb7e3dd60f1c65b705 (Bug 337) & 7f661eec7733721c6977c329f0976b715ee65c34 (TopoManager Cleanup)

Command and Error with xlc compiler: (./build charm++ pamilrts-bluegeneq --with-production -j16)
"TopoManager.C", line 193.8: 1540-0218 (S) The call does not match any parameter list for "rankToCoordinates".
"BGQTorus.h", line 75.17: 1540-1283 (I) "BGQTorusManager::rankToCoordinates(int, int &, int &, int &, int &)" is not a viable candidate.
"TopoManager.C", line 193.3: 1540-1289 (I) The implicit object parameter of type "BGQTorusManager &" cannot be initialized with an implied argument of type "const BGQTorusManager".
"BGQTorus.h", line 89.17: 1540-1283 (I) "BGQTorusManager::rankToCoordinates(int, int &, int &, int &, int &, int &, int &)" is not a viable candidate.
"TopoManager.C", line 193.8: 1540-0215 (I) The wrong number of arguments has been specified for "BGQTorusManager::rankToCoordinates(int, int &, int &, int &, int &, int &, int &)".
"TopoManager.C", line 228.8: 1540-0218 (S) The call does not match any parameter list for "rankToCoordinates".
"BGQTorus.h", line 75.17: 1540-1283 (I) "BGQTorusManager::rankToCoordinates(int, int &, int &, int &, int &)" is not a viable candidate.
"TopoManager.C", line 228.8: 1540-0215 (I) The wrong number of arguments has been specified for "BGQTorusManager::rankToCoordinates(int, int &, int &, int &, int &)".
"BGQTorus.h", line 89.17: 1540-1283 (I) "BGQTorusManager::rankToCoordinates(int, int &, int &, int &, int &, int &, int &)" is not a viable candidate.
"TopoManager.C", line 228.3: 1540-1289 (I) The implicit object parameter of type "BGQTorusManager &" cannot be initialized with an implied argument of type "const BGQTorusManager".
"TopoManager.C", line 268.15: 1540-0218 (S) The call does not match any parameter list for "coordinatesToRank".
"BGQTorus.h", line 109.16: 1540-1283 (I) "BGQTorusManager::coordinatesToRank(int, int, int, int)" is not a viable candidate.
"TopoManager.C", line 268.10: 1540-1289 (I) The implicit object parameter of type "BGQTorusManager &" cannot be initialized with an implied argument of type "const BGQTorusManager".
"BGQTorus.h", line 138.16: 1540-1283 (I) "BGQTorusManager::coordinatesToRank(int, int, int, int, int, int)" is not a viable candidate.
"TopoManager.C", line 268.15: 1540-0215 (I) The wrong number of arguments has been specified for "BGQTorusManager::coordinatesToRank(int, int, int, int, int, int)".
"TopoManager.C", line 285.15: 1540-0218 (S) The call does not match any parameter list for "coordinatesToRank".
"BGQTorus.h", line 109.16: 1540-1283 (I) "BGQTorusManager::coordinatesToRank(int, int, int, int)" is not a viable candidate.
"TopoManager.C", line 285.15: 1540-0215 (I) The wrong number of arguments has been specified for "BGQTorusManager::coordinatesToRank(int, int, int, int)".
"BGQTorus.h", line 138.16: 1540-1283 (I) "BGQTorusManager::coordinatesToRank(int, int, int, int, int, int)" is not a viable candidate.
"TopoManager.C", line 285.10: 1540-1289 (I) The implicit object parameter of type "BGQTorusManager &" cannot be initialized with an implied argument of type "const BGQTorusManager".

Command and Error with gcc: (./build charm++ pamilrts-bluegeneq gcc --with-production -j16)
Command /bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-g++ -Wno-deprecated -I../bin/../include -I/bgsys/drivers/ppcfloor/comm/include -I/bgsys/drivers/ppcfloor/spi/include -I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk -I/soft/libraries/alcf/current/gcc/ZLIB//include -D__CHARMC__=1 -O3 -U_FORTIFY_SOURCE -fno-stack-protector -std=c++0x -c global-elfgot.C -o global-elfgot.o returned error code 1
charmc exiting...
TopoManager.C: In member function 'void TopoManager::rankToCoordinates(int, int&, int&, int&, int&) const':
TopoManager.C:193: error: passing 'const BGQTorusManager' as 'this' argument of 'void BGQTorusManager::rankToCoordinates(int, int&, int&, int&, int&)' discards qualifiers
TopoManager.C: In member function 'void TopoManager::rankToCoordinates(int, int&, int&, int&, int&, int&, int&) const':
TopoManager.C:228: error: passing 'const BGQTorusManager' as 'this' argument of 'void BGQTorusManager::rankToCoordinates(int, int&, int&, int&, int&, int&, int&)' discards qualifiers
TopoManager.C: In member function 'int TopoManager::coordinatesToRank(int, int, int, int) const':
TopoManager.C:268: error: passing 'const BGQTorusManager' as 'this' argument of 'int BGQTorusManager::coordinatesToRank(int, int, int, int)' discards qualifiers
TopoManager.C: In member function 'int TopoManager::coordinatesToRank(int, int, int, int, int, int) const':
TopoManager.C:285: error: passing 'const BGQTorusManager' as 'this' argument of 'int BGQTorusManager::coordinatesToRank(int, int, int, int, int, int)' discards qualifiers
Fatal Error by charmc in directory /gpfs/vesta-home/nbhat/software/changa/changa_reg/charm/pamilrts-bluegeneq-gcc/tmp/topomanager

This happens with cray compilers on bluewaters as well.

History

#1 Updated by Nitin Bhat over 2 years ago

  • Description updated (diff)

#2 Updated by Phil Miller over 2 years ago

  • Status changed from New to Implemented
  • Assignee set to Phil Miller
  • Target version set to 6.8.0-beta1

#3 Updated by Sam White over 2 years ago

  • Subject changed from Charm fails to compile on BGQ giving an error in TopoManager.C to Charm fails to compile on BGQ and Cray XE giving an error in TopoManager.C

#4 Updated by Phil Miller over 2 years ago

  • translation missing: en.field_closed_date set to 2017-02-10 15:24:00.218558
  • Status changed from Implemented to Merged

Both fixes (BGQ, Cray XT/XE) merged

Also available in: Atom PDF