Re: [hwloc-devel] hwloc trouble with the PGI compiler
Pavan Balaji, le Sun 19 Sep 2010 14:16:26 -0500, a écrit : > Thanks Samuel. This patch seems to work. There are still some warnings > with respect to the redefinition of CPU_SET, etc. Sure, we can't fix pgcc :) > but it doesn't seem to be causing any runtime errors. Good! Samuel
Re: [hwloc-devel] hwloc trouble with the PGI compiler
Thanks Samuel. This patch seems to work. There are still some warnings with respect to the redefinition of CPU_SET, etc., but it doesn't seem to be causing any runtime errors. -- Pavan On 09/19/2010 09:32 AM, Samuel Thibault wrote: Could you try the attached patch? I some sense it adds an odd logic, but it might just work around pgcc's crazyness. Samuel ___ hwloc-devel mailing list hwloc-de...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel -- Pavan Balaji http://www.mcs.anl.gov/~balaji
Re: [hwloc-devel] hwloc trouble with the PGI compiler
For the time being, can you add a test to the configure to error out in this case, instead of failing at make time? Thanks, -- Pavan On 08/01/2010 12:47 PM, Brice Goglin wrote: (forwarding to the list) Looks like another problem with the PGI compiler custom sched.h header. Did anybody ever ask PGI why they do this? Brice Message original Sujet: Re: hwloc-devel post from bal...@mcs.anl.gov requires approval Date : Sun, 01 Aug 2010 12:17:08 -0500 De :Pavan BalajiPour : Brice Goglin D'oh! I forgot to forward stderr to the files. I've reattached them. -- Pavan On 08/01/2010 04:07 AM, Brice Goglin wrote: I don't see any error in your attachments. Brice -- Pavan Balaji http://www.mcs.anl.gov/~balaji -- Pavan Balaji http://www.mcs.anl.gov/~balaji
[hwloc-devel] hwloc trouble with the PGI compiler
(forwarding to the list) Looks like another problem with the PGI compiler custom sched.h header. Did anybody ever ask PGI why they do this? Brice Message original Sujet: Re: hwloc-devel post from bal...@mcs.anl.gov requires approval Date : Sun, 01 Aug 2010 12:17:08 -0500 De :Pavan BalajiPour : Brice Goglin D'oh! I forgot to forward stderr to the files. I've reattached them. -- Pavan On 08/01/2010 04:07 AM, Brice Goglin wrote: > I don't see any error in your attachments. > > Brice > -- Pavan Balaji http://www.mcs.anl.gov/~balaji ### ### Configuring hwloc distribution tarball ### Startup tests ### checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for hwloc version... 1.0.2rc3r2398 checking for gcc... pgcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... no checking whether pgcc accepts -g... yes checking for pgcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of pgcc... none checking whether pgcc and cc understand -c and -o together... yes checking how to run the C preprocessor... pgcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes ### ### Configuring hwloc core ### checking hwloc building mode... standalone configure: hwloc builddir: /home/balaji/software/mpich2/trunk/trunk/src/pm/hydra/tools/bind/hwloc/hwloc-1.0.2 configure: hwloc srcdir: /home/balaji/software/mpich2/trunk/trunk/src/pm/hydra/tools/bind/hwloc/hwloc-1.0.2 checking if want hwloc maintainer support... enabled (SVN checkout default) checking for hwloc directory prefix... (none) checking for hwloc symbol prefix... hwloc_ checking for pgcc option to accept ISO C99... none needed 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 size of void *... 8 checking which OS support to include... Linux checking which CPU support to include... x86_64 checking whether diff accepts -u... -u checking size of unsigned long... 8 checking size of unsigned int... 4 checking for __attribute__... yes checking for __attribute__(aligned)... yes checking for __attribute__(always_inline)... yes checking for __attribute__(cold)... yes checking for __attribute__(const)... yes checking for __attribute__(deprecated)... yes checking for __attribute__(format)... no checking for __attribute__(hot)... yes checking for __attribute__(malloc)... yes checking for __attribute__(may_alias)... yes checking for __attribute__(no_instrument_function)... yes checking for __attribute__(nonnull)... no checking for __attribute__(noreturn)... yes checking for __attribute__(packed)... yes checking for __attribute__(pure)... yes checking for __attribute__(sentinel)... no checking for __attribute__(unused)... yes checking for __attribute__(warn_unused_result)... no checking for __attribute__(weak_alias)... yes checking if pgcc supports -fvisibility... no checking enable symbol visibility... no checking for inline compatibility keyword... __inline__ checking for strncasecmp... yes checking whether function strncasecmp is declared... yes checking for stdint.h... (cached) yes checking for wchar_t... yes checking for putwc... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for setlocale... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for nl_langinfo... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for term.h... yes checking for library containing tparm... -ltermcap checking for KAFFINITY... no checking for PROCESSOR_CACHE_TYPE... no checking for CACHE_DESCRIPTOR... no checking for LOGICAL_PROCESSOR_RELATIONSHIP... no checking for