Skip to Content.
Sympa Menu

charm - [charm] problems building charm++ v6.8.2

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] problems building charm++ v6.8.2


Chronological Thread 
  • From: Rob Van der Wijngaart <robv AT nvidia.com>
  • To: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: [charm] problems building charm++ v6.8.2
  • Date: Mon, 21 May 2018 21:05:03 +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_Ref=https://api.informationprotection.azure.com/api/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-05-21T14:05:02.3438328-07:00; 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 Team,

 

Greetings from my new job at Nvidia. I just cloned charm++ from your git repo and tried to build it as below, after checking out version 6.8.2 (at least, I believe I should get that if I type “git checkout charm-6.8”), but as you can see, the build fails due to a missing header file. I searched for it and found it in a reasonable location within the source tree:

robv@computelab-28:~/charm-6.8$ find . -name xi-BlockConstruct.h

./src/xlat-i/xi-BlockConstruct.h

 

Evidently, there is something missing among the specified include paths. I can copy the header file to where it can be found, but was wondering if you have a better solution. Thanks!

 

Rob Van der Wijngaart

 

 

robv@computelab-28:~/charm-6.8$ ./build charm++ verbs-linux-x86_64 smp --with-production --enable-tracing -j40

Selected Compiler:

Selected Options:  smp

Copying src/scripts/Makefile to verbs-linux-x86_64-smp/tmp

Soft-linking over bin

Soft-linking over lib

Soft-linking over lib_so

Soft-linking over include

Soft-linking over tmp

Generating verbs-linux-x86_64-smp/tmp/conv-mach-pre.sh

Performing 'make -j 40 basics OPTS=-optimize -production QUIET= CONFIG_OPTS=--disable-controlpoint --disable-tracing --disable-tracing-commthread --disable-charmdebug --disable-replay --disable-error-checking --disable-stats --enable-tracing' in verbs-linux-x86_64-smp/tmp

make -C topomanager -f Makefile_charm headers

make[1]: Entering directory `/home/robv/charm-6.8/verbs-linux-x86_64-smp/tmp/topomanager'

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

make[1]: Leaving directory `/home/robv/charm-6.8/verbs-linux-x86_64-smp/tmp/topomanager'

make charmxi

make[1]: Entering directory `/home/robv/charm-6.8/verbs-linux-x86_64-smp/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... verbs-linux-x86_64-smp

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++  "

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'"... "yes"

checking "whether C++ compiler accepts -fno-lifetime-dse"... "yes"

Setting charm++ envelope refnum field to unsigned short

Configuring support for message priorities of arbitrary size (bitvectors)

checking "whether compiler generates code for 64-bit"... "yes"

checking "whether compiler supports std::is_constructible"... "yes"

checking "whether compiler supports std::alignment_of"... "yes"

checking "whether has values.h "... "yes"

checking "whether has stdint.h "... "yes"

checking "whether has malloc.h "... "yes"

checking "whether has alloca.h "... "yes"

checking "whether has regex.h "... "yes"

checking "whether long long works"... "yes"

checking "whether __int64 works"... "no"

checking "whether __int128 (128-bit integer) works"... "yes"

checking "whether __int128_t (128-bit integer) works"... "yes"

checking "whether C++ library has <atomic> "... "yes"

checking "whether long double works"... "yes"

checking "whether ucontext has FPU pointer"... "yes"

checking "whether ucontext uses uc_regs"... "no"

checking "whether ucontext has pointer (v_regs) of vector type"... "no"

checking "whether ibverbs ibv_port_attr has link_layer field"... "yes"

checking "whether inline works in C"... "yes"

checking "whether C++ signed char and char differ"... "yes"

checking "whether C++ allows declaration of varsize array"... "yes"

checking "whether typeinfo/typeid works"... "ok"

checking "whether std::iterator_traits is defined"... "ok"

checking "whether std::distance is defined"... "ok"

checking "whether std::inserter is defined"... "ok"

checking "whether std::unordered_map is defined"... "ok"

checking "whether anon structs are permitted"... "yes"

checking "whether operator delete can be overloaded in same class"... "ok"

checking "whether offsetof is defined"... "yes"

checking "whether GCC x86 assembly works"... "yes"

checking "whether GCC x86 assembly for atomic increment works"... "yes"

checking "whether asm eieio assembly works"... "no"

checking "whether __thread (Thread Local Storage) is supported"... "yes"

checking "whether synchronization primitives (__sync_add_and_fetch) works in C"... "yes"

checking "whether synchronization primitives (__sync_synchronize) works in C"... "yes"

checking "whether switching TLS register (64-bit) is supported"... "yes"

checking "whether getrusage accepts RUSAGE_THREAD"... "yes"

checking "whether has asctime"... "yes"

checking "whether has log2"... "yes"

checking "whether has sqrtf"... "yes"

checking "whether has fabsf"... "yes"

checking "whether has mkstemp"... "yes"

checking "whether has system"... "yes"

checking "whether has sync()"... "yes"

checking "whether has fsync()"... "yes"

checking "whether has fdatasync()"... "yes"

checking "whether has sbrk"... "yes"

checking "whether has _setjmp/_longjmp"... "yes"

checking "whether has mstats"... "no"

checking "whether has mallinfo"... "yes"

checking "whether has popen"... "yes"

checking "whether has poll"... "yes"

checking "whether has getpagesize"... "yes"

checking "whether has getpid"... "yes"

checking "whether has kill"... "yes"

checking "whether has setpriority"... "yes"

checking "whether to use signal-safe system() "... "no"

checking "whether sched_setaffinity call exists"... "yes"

checking "whether pthread_setaffinity_np call exists"... "yes"

checking "whether pthread_spin_lock exists"... "yes"

checking "whether bindprocessor call exists"... "no"

checking "whether dlopen links without -ldl"... "no"

checking "whether dlopen links with -ldl"... "yes"

checking "whether gethostname call exists"... "yes"

checking "whether getProcAddress works"... "no"

checking "whether has socklen_t"... "yes"

checking "whether getifaddrs call exists"... "yes"

checking "whether the mmap() syscall exists"... "yes"

checking "whether mmap() accepts MAP_ANON"... "yes"

checking "whether mmap() accepts MAP_NORESERVE"... "yes"

checking "whether has get_myaddress"... "yes"

checking "whether has mprotect"... "yes"

checking "whether glibc backtrace works"... "yes"

checking "whether has sleep "... "yes"

checking "whether has usleep "... "yes"

checking "whether personality() and ADDR_NO_RANDOMIZE exist"... "yes"

checking "whether has zlib"... "yes"

checking "whether has elf.h "... "yes"

checking "whether has Multiprocessing.h for Apple "... "no"

checking "whether ntohl is available"... "yes"

checking "whether has libjpeg"... "yes"

checking "whether Python is installed"... "yes"

checking "whether can build shared library"... "yes"

checking for sync... sync

checking "F77 compiler as"... "/usr/bin/gfortran-5  -fPIC -fno-second-underscore -fdollar-ok "

checking "whether Fortran 77 compiler works"... "yes"

checking "F90 compiler as"... "/usr/bin/gfortran-5  -fPIC -fno-second-underscore -fdollar-ok "

checking "whether Fortran 90 compiler works"... "yes"

checking subroutine name used by Fortran 90 compiler... ONESCORE

checking Fortran 90 mod name is capital... "no"

checking Fortran 90 mod name extension... "mod"

configure: creating ./config.status

config.status: creating libs/ck-libs/ampi/ampiCC

config.status: creating conv-autoconfig.h

config.status: executing config-cleanup commands

config.status: executing default commands

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-main.o ../../src/xlat-i/xi-main.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-grammar.tab.o ../../src/xlat-i/xi-grammar.tab.C

../bin/charmc -host  -I. -DYY_NEVER_INTERACTIVE   -c -o xi-scan.o ../../src/xlat-i/xi-scan.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Template.o ../../src/xlat-i/xi-Template.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-AstNode.o ../../src/xlat-i/xi-AstNode.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Entry.o ../../src/xlat-i/xi-Entry.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Member.o ../../src/xlat-i/xi-Member.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Parameter.o ../../src/xlat-i/xi-Parameter.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-SdagConstruct.o ../../src/xlat-i/xi-SdagConstruct.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-BlockConstruct.o ../../src/xlat-i/xi-BlockConstruct.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Type.o ../../src/xlat-i/xi-Type.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Chare.o ../../src/xlat-i/xi-Chare.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Message.o ../../src/xlat-i/xi-Message.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Construct.o ../../src/xlat-i/xi-Construct.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Module.o ../../src/xlat-i/xi-Module.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-SdagCollection.o ../../src/xlat-i/xi-SdagCollection.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-Value.o ../../src/xlat-i/xi-Value.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o xi-util.o ../../src/xlat-i/xi-util.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o sdag-globals.o ../../src/xlat-i/sdag/sdag-globals.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o CSdagConstruct.o ../../src/xlat-i/sdag/CSdagConstruct.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o CEntry.o ../../src/xlat-i/sdag/CEntry.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o CParsedFile.o ../../src/xlat-i/sdag/CParsedFile.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o CStateVar.o ../../src/xlat-i/sdag/CStateVar.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o Serial.o ../../src/xlat-i/sdag/constructs/Serial.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o Case.o ../../src/xlat-i/sdag/constructs/Case.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o CaseList.o ../../src/xlat-i/sdag/constructs/CaseList.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o Else.o ../../src/xlat-i/sdag/constructs/Else.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o Forall.o ../../src/xlat-i/sdag/constructs/Forall.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o For.o ../../src/xlat-i/sdag/constructs/For.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o If.o ../../src/xlat-i/sdag/constructs/If.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o IntExpr.o ../../src/xlat-i/sdag/constructs/IntExpr.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o OList.o ../../src/xlat-i/sdag/constructs/OList.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o Overlap.o ../../src/xlat-i/sdag/constructs/Overlap.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o SdagEntry.o ../../src/xlat-i/sdag/constructs/SdagEntry.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o SList.o ../../src/xlat-i/sdag/constructs/SList.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o Template.o ../../src/xlat-i/sdag/constructs/Template.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o When.o ../../src/xlat-i/sdag/constructs/When.C

../bin/charmc -host  -I../../src/xlat-i/ -I../../src/xlat-i/sdag/ -I.   -c -o While.o ../../src/xlat-i/sdag/constructs/While.C

In file included from ../../src/xlat-i/sdag/constructs/Constructs.h:4:0,

                 from xi-scan.l:3:

../../src/xlat-i/sdag/constructs/Serial.h:4:31: fatal error: xi-BlockConstruct.h: No such file or directory

compilation terminated.

Fatal Error by charmc in directory /home/robv/charm-6.8/verbs-linux-x86_64-smp/tmp

   Command g++ -I../bin/../include -D__CHARMC__=1 -I. -DYY_NEVER_INTERACTIVE -c ../../src/xlat-i/xi-scan.C -o xi-scan.o returned error code 1

charmc exiting...

make[1]: *** [xi-scan.o] Error 1

make[1]: *** Waiting for unfinished jobs....

make[1]: Leaving directory `/home/robv/charm-6.8/verbs-linux-x86_64-smp/tmp'

make: *** [headers] Error 2

-------------------------------------------------

Charm++ NOT BUILT. Either cd into verbs-linux-x86_64-smp/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.edu

 


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