Skip to Content.
Sympa Menu

charm - [charm] Charm++ build trouble

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Charm++ build trouble


Chronological Thread 
  • From: Rob Van der Wijngaart <robv AT nvidia.com>
  • To: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: [charm] Charm++ build trouble
  • Date: Wed, 25 Jul 2018 22:18:44 +0000
  • Accept-language: en-US
  • Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=robv AT nvidia.com; dmarc=none header.from=nvidia.com
  • Msip_labels: MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Enabled=True; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_SiteId=43083d15-7273-40c1-b7db-39efd9ccc17a; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Owner=robv AT nvidia.com; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_SetDate=2018-07-25T22:18:43.1265120Z; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Name=Unrestricted; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Application=Microsoft Azure Information Protection; MSIP_Label_6b558183-044c-4105-8d9c-cea02a2a3d86_Extended_MSFT_Method=Automatic; Sensitivity=Unrestricted

Hello all,

 

I am running into some trouble building Charm++. I’ve built it on my system before as part of my NAMD build, and am not sure if anything has changed, but now the Charm++ build breaks. The error is highlighted in the snippet from the output of the build process below. Apparently, the error checking believes that the C++ compiler does not support the flag -std=c++0x. However, when I use it on the command line, everything is hunky dory. Do you have any suggestions for how to troubleshoot/fix the problem? Thanks.

 

Rob

 

[robv@psgcluster build_temp]$ cat temp.c

#include <stdio.h>

int main(int argc, char **argv) {

  printf("Hello\n");

}

[robv@psgcluster build_temp]$ g++ -std=c++0x temp.c

[robv@psgcluster build_temp]$ ./a.out

Hello

 

 

Selected Compiler: gcc

Selected Options:

Copying src/scripts/Makefile to multicore-linux64-gcc/tmp

Soft-linking over bin

Soft-linking over lib

Soft-linking over lib_so

Soft-linking over include

Soft-linking over tmp

Generating multicore-linux64-gcc/tmp/conv-mach-pre.sh

Performing '/usr/bin/gmake -j 40 basics OPTS=-optimize -production QUIET= CONFIG_OPTS=--disable-controlpoint --disable-tracing --disable-tracing-commthread --dis\

able-charmdebug --disable-replay --disable-error-checking --disable-stats --enable-tracing' in multicore-linux64-gcc/tmp

/usr/bin/gmake -C topomanager -f Makefile_charm headers

gmake[1]: Entering directory `/home/robv/apps/build_temp/charm-v6.8.2/multicore-linux64-gcc/tmp/topomanager'

gmake[1]: Nothing to be done for `headers'.

gmake[1]: Leaving directory `/home/robv/apps/build_temp/charm-v6.8.2/multicore-linux64-gcc/tmp/topomanager'

/usr/bin/gmake charmxi

gmake[1]: Entering directory `/home/robv/apps/build_temp/charm-v6.8.2/multicore-linux64-gcc/tmp'

./configure --disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats \

--enable-tracing

Error checking is disabled

AMPI error checking is enabled

Statistics collection is disabled

Charm tracing is enabled

Charm tracing communication thread is disabled

CharmDebug is disabled

Charm record/replay is disabled

CCS is enabled

Charm control point is disabled

Charm LB user data is disabled

Charm shrink expand is disabled

Setting load balancing timer type as 'double'

checking machine name... multicore-linux64-gcc

checking "cp command as"... cp -p

checking "C++ compiler as"... "g++  -D_REENTRANT      "

checking "whether C++ compiler works"... "ok"

checking "C++ linker as"... "g++  -D_REENTRANT      "

checking "whether linker works"... "ok"

checking "Native C++ compiler as"... "g++  -D_REENTRANT  "

checking "Sequential C++ compiler as"... "g++  -D_REENTRANT  "

checking "whether compiler accept -fno-stack-protector"... "ok"

checking "whether C++ compiler supports C++11 without flags"... "no"

checking "whether C++ compiler supports C++11 with '-std=c++0x'"... "no"

checking "whether C++ compiler supports C++11 with '-qlanglvl=extended0x'"... "no"

checking "whether C++ compiler supports C++11 with '--c++11'"... "no"

checking "whether C++ compiler supports C++11 with '-h std=c++11'"... "no"

Charm++ requires some C++11 support, but doesn't know the flag to enable it

 

 


This email message is for the sole use of the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.




Archive powered by MHonArc 2.6.19.

Top of Page