Skip to Content.
Sympa Menu

charm - [charm] Error wihle building Charm-6.10

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Error wihle building Charm-6.10


Chronological Thread 
  • From: Anvesh Chennupati <anvesh AT multicorewareinc.com>
  • To: charm AT cs.illinois.edu
  • Subject: [charm] Error wihle building Charm-6.10
  • Date: Thu, 14 Nov 2019 11:00:59 -0800
  • Authentication-results: illinois.edu; spf=none smtp.mailfrom=anvesh AT multicorewareinc.com; dkim=pass header.d=multicorewareinc-com.20150623.gappssmtp.com header.s=20150623; dmarc=none

Hi Developers,

I am trying to build Charm++ 6.10 which is cloned from git repository.

I am trying to build NAMD which uses Charm++. I am using cgywin64 with env variables set by vcvars64.bat. 
Command used to build Charm++ 
 ./build charm++ multicore-win64 --no-build-shared --with-production 

While building the Charm++ from source for Windows64 I am getting the following error:
checking for hwloc directory prefix... hwloc/
checking for hwloc symbol prefix... cmi_
checking for /home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc option to accept ISO C99... unsupported
configure: WARNING: hwloc requires a C99 compiler
configure: error: Aborting.
make[1]: *** No rule to make target 'conv-autoconfig.h', needed by 'xi-main.o'.  Stop.
make[1]: Leaving directory '/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/tmp'
make: *** [Makefile:331: headers] Error 2

Can you please take a look at the log file and help me fix the problem? 

Thanks in advance.
--
Anvesh Chennupati
Multicoreware Inc
amduser@MSDN_jenkslave ~/NAMD_2.13_Charm6.10/charm
$ ./build charm++ multicore-win64 --no-build-shared --with-production


Creating dir: multicore-win64
Creating dir: multicore-win64/tmp
Compiling createlink.cpp ...
createlink.cpp
Copying src/scripts/Makefile to multicore-win64/tmp
Generating multicore-win64/tmp/conv-mach-pre.sh
Generating multicore-win64/tmp/conv-mach-opt.h, conv-mach-opt.sh,
conv-mach-opt.mak
Performing 'make basics OPTS=-optimize -production QUIET=
CONFIG_OPTS=--disable-controlpoint --disable-tracing
--disable-tracing-commthread --disable-charmdebug --disable-replay
--disable-error-checking --disable-stats ' in multicore-win64/tmp
pwd
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/tmp
find . -type l -exec rm {} \;
rm -rf QuickThreads
rm -rf hwloc
rm -rf libs
rm -rf ../bin ; mkdir ../bin
if case multicore-win64 in *win64*) true;; *-win-*) true;; *) false;; esac;
then \
cp -f ../../src/arch/win/unix2nt* ../bin; \
cp -f ../../src/arch/win/createlink.exe ../bin; \
fi
rm -rf ../lib ; mkdir ../lib
rm -rf ../benchmarks
rm -rf ../examples
rm -rf ../tests
../../src/scripts/gatherflat ../../src/scripts .
./gatherflat ../../src/conv-core .
./gatherflat ../../src/conv-ldb .
./gatherflat ../../src/conv-ccs .
./gatherflat ../../src/conv-perf .
./gatherflat ../../src/ck-core .
./gatherflat ../../src/ck-perf .
./gatherflat ../../src/ck-pics .
./gatherflat ../../src/ck-ldb .
./gatherflat ../../src/ck-cp .
./gatherflat ../../src/langs/simplemsg .
./gatherflat ../../src/langs/pvmc .
./gatherflat ../../src/langs/bluegene .
./gatherflat ../../src/langs/f90charm .
./gatherflat ../../src/xlatcpm .
./gathertree ../../src/QuickThreads QuickThreads
./gathertree ../../src/../contrib/hwloc hwloc
./gathertree ../../src/libs libs
./gathertree ../../src/arch/util .
./gathertree ../../src/arch/util/proc_management proc_management
./gathertree ../../src/util .
./gathertree ../../src/langs langs
./gathertree ../../src/langs/jade langs/jade
./gathertree ../../src/arch/common .
./gathertree ../../src/arch/multicore .
test -f ../../src/arch/multicore/gdir_link && cat
../../src/arch/multicore/gdir_link > .gdir.new && ./gathertree
../../src/arch/`cat .gdir.new` . || true
./gatherflat ../../src/arch/multicore-win64 .
./gathertree ../../src/../benchmarks ../benchmarks
./gathertree ../../src/../examples ../examples
./gathertree ../../src/../tests ../tests
rm -f ../bin/dep.pl ; cp dep.pl ../bin/
chmod +x charmc
./system_ln ../tmp/charmc ../bin/
./system_ln ../../src/scripts/testrun ../bin/
./system_ln ../tmp/tree.txt ../bin/
./system_ln ../tmp/fuzzytree.txt ../bin/
rm -rf ../include ; mkdir ../include
./system_ln ../tmp/conv-*.*h ../include
./system_ln ../tmp/cc-*.*h ../include
./system_ln ../tmp/conv-mach-opt.sh ../include
./system_ln ../tmp/conv-mach-opt.mak ../include
if [ -x ./special.sh ] ; then SRCBASE=../../src ./special.sh ; fi
if [ ! -f conv-common.h ] ; then ( touch conv-common.h ) ; fi
touch dirs+sources
make -C topomanager -f Makefile_charm headers
make[1]: Entering directory
'/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/tmp/topomanager'
/bin/cp TopoManager.h ../../include
/bin/cp BGQTorus.h ../../include
/bin/cp XTTorus.h ../../include
echo "//empty" > topomanager_config.h
/bin/cp topomanager_config.h ../../include
make[1]: Leaving directory
'/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/tmp/topomanager'
make charmxi
make[1]: Entering directory
'/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/tmp'
autoreconf
./configure --disable-controlpoint --disable-tracing
--disable-tracing-commthread --disable-charmdebug --disable-replay
--disable-error-checking --disable-stats
Charm++/LIBS error checking is disabled
AMPI error checking is enabled
Statistics collection is disabled
Charm tracing is disabled
Charm tracing communication thread is disabled
Task Queue is disabled
Drone mode is disabled
CharmDebug is disabled
Charm record/replay is disabled
CCS is enabled
Charm control point is disabled
Charm LB user data is disabled
Lockless queue for PE local and node queue is disabled
Charm shrink expand is disabled
charm4py support is disabled
Setting load balancing timer type as 'double'
checking machine name... multicore-win64
checking "cp command as"... cp -p
checking "C++ compiler as"... "../bin/unix2nt_cc "
checking "whether C++ compiler works"... "ok"
checking "C++ linker as"... "../bin/unix2nt_cc "
checking "whether linker works"... "ok"
checking "Native C++ compiler as"... "../bin/unix2nt_cc"
checking "Sequential C++ compiler as"... "../bin/unix2nt_cc"
checking "whether C++ compiler supports C++11 without flags"... "yes"
checking "whether native C++ compiler supports C++11 without flags"... "yes"
checking "whether C++ compiler accepts -fno-lifetime-dse"... "no"
checking "whether C++ compiler accepts -mno-tls-direct-seg-refs"... "yes"
Setting charm++ envelope refnum field to unsigned short
Configuring support for message priorities of arbitrary size (bitvectors)
Using mempool cutoff... 2^26
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 compiler implements regex"... "no"
checking "whether has values.h "... "no"
checking "whether has stdint.h "... "yes"
checking "whether has malloc.h "... "yes"
checking "whether has alloca.h "... "no"
checking "whether has regex.h "... "no"
checking "whether long long works"... "yes"
checking "whether __int64 works"... "yes"
checking "whether __int128 (128-bit integer) works"... "no"
checking "whether __int128_t (128-bit integer) works"... "no"
checking "whether C++ library has <atomic> "... "yes"
checking "whether long double works"... "yes"
checking "whether ucontext has FPU pointer"... "no"
checking "whether ucontext has pointer (v_regs) of vector type"... "no"
checking "whether ibverbs ibv_port_attr has link_layer field"... "no"
checking "whether inline works in C"... "yes"
checking "whether C++ signed char and char differ"... "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::void_t is defined"... "ok"
checking "whether operator delete can be overloaded in same class"... "ok"
checking "whether offsetof is defined"... "yes"
checking "whether GCC x86 assembly works"... "no"
checking "whether asm eieio assembly works"... "no"
checking "whether __thread (Thread Local Storage) is supported"... "no"
checking "whether synchronization primitives (__sync_add_and_fetch) works in
C"... "no"
checking "whether synchronization primitives (__sync_synchronize) works in
C"... "no"
checking "whether has __executable_start"... "no"
checking "whether switching TLS register (64-bit) is supported"... "no"
checking "whether has dl_iterate_phdr"... "no"
checking "whether has __malloc_hook"... "no"
checking "whether getrusage accepts RUSAGE_THREAD"... "no"
checking "whether has asctime"... "yes"
checking "whether has log2"... "yes"
checking "whether has sqrtf"... "yes"
checking "whether has fabsf"... "yes"
checking "whether has mkstemp"... "no"
checking "whether has system"... "yes"
checking "whether has sync()"... "no"
checking "whether has fsync()"... "no"
checking "whether has fdatasync()"... "no"
checking "whether has sbrk"... "no"
checking "whether has _setjmp/_longjmp"... "no"
checking "whether has mstats"... "no"
checking "whether has mallinfo"... "no"
checking "whether expects __morecore symbol"... "no"
checking "whether has popen"... "no"
checking "whether has poll"... "no"
checking "whether has getpagesize"... "no"
checking "whether has getpid"... "no"
checking "whether has kill"... "no"
checking "whether has setpriority"... "no"
checking "whether to use signal-safe system() "... "no"
checking "whether sched_setaffinity call exists"... "no"
checking "whether pthread_setaffinity_np call exists"... "no"
checking "whether pthread_spin_lock exists"... "no"
checking "whether bindprocessor call exists"... "no"
checking "whether dlopen links without -ldl"... "no"
checking "whether dlopen links with -ldl"... "no"
checking "whether has RTLD_DEFAULT"... "no"
checking "whether has RTLD_NEXT"... "no"
checking "whether has dlmopen"... "no"
checking "whether has readlink"... "yes"
checking "whether has realpath"... "yes"
checking "whether gethostname call exists"... "yes"
checking "whether getProcAddress works"... "no"
checking "whether has socklen_t"... "no"
checking "whether getifaddrs call exists"... "no"
checking "whether the mmap() syscall exists"... "no"
checking "whether mmap() accepts MAP_ANON"... "no"
checking "whether mmap() accepts MAP_NORESERVE"... "no"
checking "whether has get_myaddress"... "no"
checking "whether has mprotect"... "no"
checking "whether has support for shm transport using Cross Memory Attach"...
"no"
checking "whether has -rdynamic"... "no"
checking "whether has -Wl,--export-dynamic"... "no"
checking "whether glibc backtrace works"... "no"
checking "whether has sleep "... "no"
checking "whether has usleep "... "no"
checking "whether personality() and ADDR_NO_RANDOMIZE exist"... "no"
checking "whether has zlib"... "no"
checking "whether has elf.h "... "no"
checking "whether has Multiprocessing.h for Apple "... "no"
checking "whether ntohl is available"... "no"
checking "whether has libjpeg"... "no"
checking "whether Python is installed"... "no"
checking "whether can build shared library"... "no"
checking for sync... sync
checking "F77 compiler as"... "f77"
checking "whether Fortran 77 compiler works"... "yes"
checking "F90 compiler as"... "f90"
checking "whether Fortran 90 compiler works"... "no"
checking subroutine name used by Fortran 90 compiler... TWOSCORE
checking "whether the C++ linker succeeds with a Fortran entry point"... "no"
checking "whether OpenMP is supported"... "yes"
checking "whether has lustre fs"... "no"
Configuring hwloc:
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking for gcc...
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc
checking whether the C compiler works... yes
checking for C compiler default output file name... conftest.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... obj
checking whether we are using the GNU C compiler... no
checking whether
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc
accepts -g... yes
checking for
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc option
to accept ISO C89... none needed
checking whether
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc
understands -c and -o together... yes
checking how to run the C preprocessor...
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... no
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-unknown-cygwin file names to
x86_64-unknown-cygwin format... func_convert_file_noop
checking how to convert x86_64-unknown-cygwin file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive
import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries...
func_cygming_dll_for_implib
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc
object... failed
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking for
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc option
to produce PIC... -DDLL_EXPORT -DPIC
checking if
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc PIC
flag -DDLL_EXPORT -DPIC works... yes
checking if
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc static
flag works... yes
checking if
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc
supports -c -o file.obj... yes
checking if
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc
supports -c -o file.obj... (cached) yes
checking whether the
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc linker
(/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc... none
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X... no
checking hwloc building mode... embedded
configure: hwloc builddir:
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/tmp/hwloc
configure: hwloc srcdir:
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/tmp/hwloc
checking for hwloc version... 2.1.0
checking if want hwloc maintainer support... disabled (embedded mode)
checking for hwloc directory prefix... hwloc/
checking for hwloc symbol prefix... cmi_
checking for
/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/bin/unix2nt_cc option
to accept ISO C99... unsupported
configure: WARNING: hwloc requires a C99 compiler
configure: error: Aborting.
make[1]: *** No rule to make target 'conv-autoconfig.h', needed by
'xi-main.o'. Stop.
make[1]: Leaving directory
'/home/amduser/NAMD_2.13_Charm6.10/charm/multicore-win64/tmp'
make: *** [Makefile:331: headers] Error 2
-------------------------------------------------
Charm++ NOT BUILT. Either cd into multicore-win64/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


Archive powered by MHonArc 2.6.19.

Top of Page