charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Gerardo Gonzalez <g_glez AT yahoo.com>
- To: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
- Subject: [charm] Compiling error
- Date: Mon, 5 Jul 2021 14:31:11 +0000 (UTC)
- Authentication-results: ppops.net; spf=neutral smtp.mailfrom=g_glez AT yahoo.com; dkim=pass header.s=s2048 header.d=yahoo.com
Hi!
I started to compile charm++ under windows10, using gcc. In both Msys/Mingw and cygwin, I got the same error:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../hwloc/include/private/autogen -I../../hwloc/inc
lude/hwloc/autogen -I/c/users/gerardo/Documents/FreeLancer/NAMD/NAMDSource/charm-6.10.2/multicore-win64-gc
c/tmp/hwloc/include -I/c/users/gerardo/Documents/FreeLancer/NAMD/NAMDSource/charm-6.10.2/multicore-win64-g
cc/tmp/hwloc/include -DHWLOC_INSIDE_LIBHWLOC -DHWLOC_PLUGINS_PATH=\"/usr/lib/hwloc\" -DRUNSTATEDIR=\"\" -D
_CRT_SECURE_NO_DEPRECATE -I./../include -D__CHARMC__=1 -fno-stack-protector -D_CRT_SECURE_NO_DEPRECATE -MT
topology.lo -MD -MP -MF .deps/topology.Tpo -c topology.c -o topology.o
topology.c: In function ‘cmi_hwloc_fallback_nbprocessors’:
topology.c:143:7: warning: implicit declaration of function ‘sysconf’; did you mean ‘siscanf’? [-Wimplicit
-function-declaration]
143 | n = sysconf(_SC_NPROCESSORS_ONLN);
| ^~~~~~~
| siscanf
topology.c:143:15: error: ‘_SC_NPROCESSORS_ONLN’ undeclared (first use in this function)
143 | n = sysconf(_SC_NPROCESSORS_ONLN);
| ^~~~~~~~~~~~~~~~~~~~
Can you help me?
Thanks before hands and best wishes,
Gerardo
- [charm] Compiling error, Gerardo Gonzalez, 07/05/2021
- Re: [charm] Compiling error, Evan Ramos, 07/08/2021
Archive powered by MHonArc 2.6.19.