Skip to Content.
Sympa Menu

charm - Re: [charm] Charm++ build trouble

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Charm++ build trouble


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT lanl.gov>
  • To: Rob Van der Wijngaart <robv AT nvidia.com>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Charm++ build trouble
  • Date: Wed, 25 Jul 2018 16:30:25 -0600
  • Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=jbakosi AT lanl.gov; dmarc=none header.from=lanl.gov

Hi Rob,

Sometimes I find that error message misleading. Take a look at
tmp/charmconfig.out and config.log, those might give you a better clue on
what's
going wrong.

Jozsef

On 07.25.2018 22:18, Rob Van der Wijngaart wrote:
> 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



Archive powered by MHonArc 2.6.19.

Top of Page