[Dune] ALUGrid-1.14 as a prerequisite on the Cray XT5

Benedikt Oswald benedikt.oswald at psi.ch
Wed Aug 5 15:42:45 CEST 2009


Dear Dune & ALUGrid developers, I just started to install ALUGrid-1.14,
as a prequisite for Dune, on the Cray XT 5 sytem at the Swiss Supercocomputing Center (www.cscs.ch).

Now, on the XT5, one uses compiler wrapper scripts that then select the appropriate
compilers (gnu, pgi, pathscale etc.).

When I configure ALUGrid on the Cray, then the following configure output results
(cf. below). It appears to be ok, except, the message w.r.t alugrid_parallel.h

The compilation and installation stage then works ok.

Could one of the ALUGrid developers comment on this ?

May we just ignore this message ?

The compiler wrapper thing on the XT5 is also described at:
http://www.cscs.ch/215.0.html


Have a great day, Benedikt







==============================================================================================================================

downloads/ALUGrid-1.14> ./configure --prefix=$HOME/extlib/ALUGrid-1.14 --with-metis=$HOME/extlib/metis-4.0 MPICXX=CC CXX=CC CC=cc
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 for style of include used by make... GNU
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... yes
checking whether CC accepts -g... yes
checking dependency style of CC... gcc3
checking how to run the C++ preprocessor... CC -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... cc -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 dlfcn.h usability... yesdownloads/ALUGrid-1.14> ./configure --prefix=$HOME/extlib/ALUGrid-1.14 --with-metis=$HOME/extlib/metis-4.0 MPICXX=CC CXX=CC CC=cc
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 for style of include used by make... GNU
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... yes
checking whether CC accepts -g... yes
checking dependency style of CC... gcc3
checking how to run the C++ preprocessor... CC -E
checking whether ln -s works... yes
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... cc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... CC -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... /opt/cray/xt-asyncpe/3.1/bin/cc: INFO: linux target is being used
GNU/Linux ld.so
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... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by CC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
/opt/cray/xt-asyncpe/3.1/bin/CC: INFO: linux target is being used
checking whether the CC linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for CC option to produce PIC... -fPIC
checking if CC PIC flag -fPIC works... yes
checking if CC static flag -static works... yes
checking if CC supports -c -o file.o... yes
checking whether the CC linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for mpic++... CC
checking for MPI_Finalize... no
checking for MPI_Finalize in -lmpi... no
checking for MPI_Finalize in -lmpich... yes
checking for mpi.h... yes
checking alugrid_serial.h usability... yes
checking alugrid_serial.h presence... yes
checking for alugrid_serial.h... yes
checking alugrid_parallel.h usability... no
checking alugrid_parallel.h presence... yes
configure: WARNING: alugrid_parallel.h: present but cannot be compiled
configure: WARNING: alugrid_parallel.h:     check for missing prerequisite headers?
configure: WARNING: alugrid_parallel.h: see the Autoconf documentation
configure: WARNING: alugrid_parallel.h:     section "Present But Cannot Be Compiled"
configure: WARNING: alugrid_parallel.h: proceeding with the preprocessor's result
configure: WARNING: alugrid_parallel.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------------- ##
configure: WARNING:     ## Report this to alugrid at mathematik.uni-freiburg.de ##
configure: WARNING:     ## ------------------------------------------------- ##
checking for alugrid_parallel.h... yes
checking for which type of run mode ALUGrid can be used... parallel
checking metis.h usability... yes
checking metis.h presence... yes
checking for metis.h... yes
checking for METIS_PartGraphKway in -lmetis... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking stack usability... yes
checking stack presence... yes
checking for stack... yes
checking map usability... yes
checking map presence... yes
checking for map... yes
checking for pow in -lm... yes
checking for sqrt... yes
checking for strchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/serial/Makefile
config.status: creating src/parallel/Makefile
config.status: creating src/duneinterface/Makefile
config.status: creating src/alu2d/Makefile
config.status: creating src/Makefile
config.status: creating misc/Makefile
config.status: creating misc/macrogrids/Makefile
config.status: creating misc/versioncheck/Makefile
config.status: creating alugrid.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

ALUGrid is ready to compile for parallel computations!

The following components where found:
------------------------------------

METIS............: yes (Version 4.0)
PARTY............: no
MPI..............: yes

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

See ./configure --help and config.log for reasons why a component wasn't found

checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... CC -E
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... /opt/cray/xt-asyncpe/3.1/bin/cc: INFO: linux target is being used
GNU/Linux ld.so
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... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by CC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
/opt/cray/xt-asyncpe/3.1/bin/CC: INFO: linux target is being used
checking whether the CC linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for CC option to produce PIC... -fPIC
checking if CC PIC flag -fPIC works... yes
checking if CC static flag -static works... yes
checking if CC supports -c -o file.o... yes
checking whether the CC linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for mpic++... CC
checking for MPI_Finalize... no
checking for MPI_Finalize in -lmpi... no
checking for MPI_Finalize in -lmpich... yes
checking for mpi.h... yes
checking alugrid_serial.h usability... yes
checking alugrid_serial.h presence... yes
checking for alugrid_serial.h... yes
checking alugrid_parallel.h usability... no
checking alugrid_parallel.h presence... yes
configure: WARNING: alugrid_parallel.h: present but cannot be compiled
configure: WARNING: alugrid_parallel.h:     check for missing prerequisite headers?
configure: WARNING: alugrid_parallel.h: see the Autoconf documentation
configure: WARNING: alugrid_parallel.h:     section "Present But Cannot Be Compiled"
configure: WARNING: alugrid_parallel.h: proceeding with the preprocessor's result
configure: WARNING: alugrid_parallel.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------------- ##
configure: WARNING:     ## Report this to alugrid at mathematik.uni-freiburg.de ##
configure: WARNING:     ## ------------------------------------------------- ##
checking for alugrid_parallel.h... yes
checking for which type of run mode ALUGrid can be used... parallel
checking metis.h usability... yes
checking metis.h presence... yes
checking for metis.h... yes
checking for METIS_PartGraphKway in -lmetis... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking stack usability... yes
checking stack presence... yes
checking for stack... yes
checking map usability... yes
checking map presence... yes
checking for map... yes
checking for pow in -lm... yes
checking for sqrt... yes
checking for strchr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/serial/Makefile
config.status: creating src/parallel/Makefile
config.status: creating src/duneinterface/Makefile
config.status: creating src/alu2d/Makefile
config.status: creating src/Makefile
config.status: creating misc/Makefile
config.status: creating misc/macrogrids/Makefile
config.status: creating misc/versioncheck/Makefile
config.status: creating alugrid.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

ALUGrid is ready to compile for parallel computations!

The following components where found:
------------------------------------

METIS............: yes (Version 4.0)
PARTY............: no
MPI..............: yes

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

See ./configure --help and config.log for reasons why a component wasn't found

-- 
------------------------------------------------------------------------------------------------------------------
Benedikt Oswald, Dr. sc. techn., dipl. El. Ing. ETH, www.psi.ch, Computational Accelerator Scientist,
Paul Scherrer  Institute (PSI), CH-5232 Villigen, Suisse, benedikt.oswald at psi.ch, +41(0)56 310 32 12

"The budget should be balanced, the Treasury should be refilled, public debt should be reduced,
the arrogance of officialdom should be tempered and controlled, and the assistance to foreign
lands should be curtailed lest Rome become bankrupt. People must again learn to work, instead
of living on public assistance." (Cicero, ca. 55 BC).

http://amas.web.psi.ch/people/boswald/index.html
------------------------------------------------------------------------------------------------------------------





More information about the Dune mailing list