charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Vinicius Freitas <vinicius.mct.freitas AT gmail.com>
- To: Kenny Van <kvan AT ualberta.ca>
- Cc: Eric Bohm <ebohm AT illinois.edu>, charm AT cs.illinois.edu
- Subject: Re: [charm] Charm++ Installation Problems
- Date: Thu, 15 Mar 2018 20:58:06 -0300
- Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=vinicius.mct.freitas AT gmail.com; dkim=pass header.d=gmail.com header.s=20161025; dmarc=pass header.from=gmail.com
Kerry,
Charm++ is checking you e g++, not your gcc. Maybe a linking issue with your compiler?
Em 15 de mar de 2018 8:17 PM, "Kenny Van" <kvan AT ualberta.ca> escreveu:
BestDoes anyone have any ideas?This was done to try and force charm++ to use the gcc compiler that returnedHi,I tried using the following command to try and compile Charm:
./build charm++ multicore-linux-x86_64 gcc gfortran --with-production -stc=c++11Selected Compiler: gcc
gcc.exec (GCC) 5.3.1 20160129Copyright (C) 2015 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.when checking gcc --version.From the output it looks like charm is using the correct compiler but it still fails in the same place.
Selected Options: gfortran
Copying src/scripts/Makefile to multicore-linux-x86_64-gfortran-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-linux-x86_64-gfortran-gcc/tmp/conv-mach-pre.sh
Performing 'make basics OPTS=-optimize -production -stc=c++11 QUIET= CONFIG_OPTS=--disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats ' in multicore-linux-x86_64-gfortran-gcc/tmp
make -C topomanager -f Makefile_charm headers
make[1]: Entering directory '/home/kvan/Software/charm/multicore-linux-x86_64-gfortran-gcc/tmp/topomanager'
make[1]: Nothing to be done for 'headers'.
make[1]: Leaving directory '/home/kvan/Software/charm/multicore-linux-x86_64-gfortran-gcc/tmp/topomanager'
make charmxi
make[1]: Entering directory '/home/kvan/Software/charm/multicore-linux-x86_64-gfortran-gcc/tmp'
./configure --disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats
Error checking is disabled
AMPI error checking is enabled
Statistics collection is disabled
Charm tracing is disabled
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-linux-x86_64-gfortran-gcc
checking "cp command as"... cp -p
checking "C++ compiler as"... "g++ -DCMK_GFORTRAN -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
For Intel's compiler please see
https://charm.cs.illinois.edu/redmine/issues/1560
about making a suitable version of gcc/g++/libstdc++ available
*** Please find detailed output in charmconfig.out ***
Makefile:285: recipe for target 'conv-autoconfig.h' failed
make[1]: *** [conv-autoconfig.h] Error 1
make[1]: Leaving directory '/home/kvan/Software/charm/multicore-linux-x86_64-gfortran-gcc/tmp'
Makefile:280: recipe for target 'headers' failed
make: *** [headers] Error 2
-------------------------------------------------
Charm++ NOT BUILT. Either cd into multicore-linux-x86_64-gfortran-gcc/tmp and try
to resolve the problems yourself, visit
http://charm.cs.illinois.edu/
for more information. Otherwise, email the developers at charm AT cs.illinois.eduOn 14 March 2018 at 22:41, Vinicius Freitas <vinicius.mct.freitas AT gmail.com> wrote:Kenny,Maybelline check if this is the same g++ that Charm is able to see during instalation? Additionally, when I'm building I'll usually add after --with-production any other flags i'd use with gcc, such as -std=c++11. This is useful if you added modules to Charm and wants to compile those with some extra flags during the building process.Best regards,Vinicius FreitasEm 14 de mar de 2018 15:11, "Eric Bohm" <ebohm AT illinois.edu> escreveu:Does g++ —version have the same output?Also, could you please describe the platform you are compiling it on in more detail? Such as, which distribution of linux and its release number.On Mar 13, 2018, at 4:37 PM, Kenny Van <kvan AT ualberta.ca> wrote:Hi,I'm trying to install Charm++ and I'm encountering an error:./build ChaNGa netlrts-linux-x86_64 --with-productionCopying src/scripts/Makefile to netlrts-linux-x86_64/tmpSoft-linking over binSoft-linking over libSoft-linking over lib_soSoft-linking over includeSoft-linking over tmpGenerating netlrts-linux-x86_64/tmp/conv-mach-pre.shPerforming 'make basics OPTS=-optimize -production QUIET= CONFIG_OPTS=--enable-lbuserdata --disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats ' in netlrts-linux-x86_64/tmpmake -C topomanager -f Makefile_charm headersmake[1]: Entering directory '/home/kvan/Software/charm/netlrts-linux-x86_64/tmp/topomanager'make[1]: Nothing to be done for 'headers'.make[1]: Leaving directory '/home/kvan/Software/charm/netlrts-linux-x86_64/tmp/topomanager'make charmximake[1]: Entering directory '/home/kvan/Software/charm/netlrts-linux-x86_64/tmp'./configure --enable-lbuserdata --disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-statsError checking is disabledAMPI error checking is enabledStatistics collection is disabledCharm tracing is disabledCharm tracing communication thread is disabledCharmDebug is disabledCharm record/replay is disabledCCS is enabledCharm control point is disabledCharm LB user data is enabledCharm shrink expand is disabledSetting load balancing timer type as 'double'checking machine name... netlrts-linux-x86_64checking "cp command as"... cp -pchecking "C++ compiler as"... "g++ -DCMK_GFORTRAN "checking "whether C++ compiler works"... "ok"checking "C++ linker as"... "g++ "checking "whether linker works"... "ok"checking "Native C++ compiler as"... "g++ "checking "Sequential C++ compiler as"... "g++ "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 itFor Intel's compiler please seeabout making a suitable version of gcc/g++/libstdc++ available*** Please find detailed output in charmconfig.out ***Makefile:285: recipe for target 'conv-autoconfig.h' failedmake[1]: *** [conv-autoconfig.h] Error 1make[1]: Leaving directory '/home/kvan/Software/charm/netlrts-linux-x86_64/tmp'Makefile:280: recipe for target 'headers' failedmake: *** [headers] Error 2-------------------------------------------------Charm++ NOT BUILT. Either cd into netlrts-linux-x86_64/tmp and tryto resolve the problems yourself, visitfor more information. Otherwise, email the developers at charm AT cs.illinois.eduSome additional information that might help is:gcc --versiongcc.exec (GCC) 5.3.1 20160129Copyright (C) 2015 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.Best
- [charm] Charm++ Installation Problems, Kenny Van, 03/13/2018
- Re: [charm] Charm++ Installation Problems, Eric Bohm, 03/14/2018
- Re: [charm] Charm++ Installation Problems, Vinicius Freitas, 03/14/2018
- Re: [charm] Charm++ Installation Problems, Kenny Van, 03/15/2018
- Re: [charm] Charm++ Installation Problems, Vinicius Freitas, 03/15/2018
- Re: [charm] Charm++ Installation Problems, Kenny Van, 03/16/2018
- Re: [charm] Charm++ Installation Problems, Vinicius Freitas, 03/15/2018
- Re: [charm] Charm++ Installation Problems, Kenny Van, 03/15/2018
- Re: [charm] Charm++ Installation Problems, Vinicius Freitas, 03/14/2018
- Re: [charm] Charm++ Installation Problems, Eric Bohm, 03/14/2018
Archive powered by MHonArc 2.6.19.