[mpich-discuss] MPI compile error on cygwin
gang lu
ganglu.ethz at gmail.com
Mon Oct 26 09:01:18 CDT 2009
Hi,
I am a new user of MPICH2. I tried to install MPICH2 in Cygwin and got a
compile error like:
configure: error: Requested timer clock_gettime <POSIX> is not available
I don't know it's a problem of MPICH2 or Cygwin. Did I miss anything? The
compile logfile is attached.
can anybody help me?
thanks a lot.
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20091026/e423e837/attachment.htm>
-------------- next part --------------
Configuring MPICH2 version 1.2 with '--prefix=/usr/local/mpich2'
Running on system: CYGWIN_NT-6.1 George-HPMini 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
Executing mpich2prereq in /home/George/Download/mpich2-1.2/src/mpid/ch3 with
Executing mpich2prereq in /home/George/Download/mpich2-1.2/src/mpid/ch3/channels/nemesis
sourcing /home/George/Download/mpich2-1.2/src/pm/mpd/mpich2prereq
sourcing /home/George/Download/mpich2-1.2/src/pm/hydra/mpich2prereq
sourcing /home/George/Download/mpich2-1.2/src/pm/gforker/mpich2prereq
sourcing /home/George/Download/mpich2-1.2/src/pm/mpd/setup_pm
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking whether the compiler defines __func__... yes
checking whether the compiler defines __FUNC__... no
checking whether the compiler sets __FUNCTION__... yes
checking whether C compiler accepts option -O2... yes
checking whether routines compiled with -O2 can be linked with ones compiled without -O2... yes
checking for type of weak symbol alias support... pragma weak accepted but does not work (probably creates two non-weak entries)
no
checking whether __attribute__ ((weak)) allowed... yes
checking whether __attribute ((weak_import)) allowed... yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking whether Fortran 77 compiler accepts option -O2... yes
checking whether routines compiled with -O2 can be linked with ones compiled without -O2... yes
checking how to get verbose linking output from g77... -v
checking for Fortran 77 libraries of g77... -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lfrtbegin -lg2c -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32
checking whether g77 accepts the FLIBS found by autoconf... yes
checking whether C can link with -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lfrtbegin -lg2c -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32... yes
checking for linker for Fortran main programs... Use Fortran to link programs
checking whether Fortran 77 and C objects are compatible... yes
checking for Fortran 77 name mangling... lower doubleunderscore
checking what libraries are needed to link Fortran programs with C routines that use stdio... none
checking whether Fortran init will work with C... yes
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for ifort... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for lf95... no
checking for pathf95... no
checking for pathf90... no
checking for g95... no
checking for gfortran... gfortran
checking that f works as the extension for Fortran 90 program... yes
checking whether we are using the GNU Fortran 90 compiler... yes
checking whether gfortran accepts -g... yes
checking for extension for Fortran 90 programs... f90
checking whether the Fortran 90 compiler (gfortran ) works... yes
checking whether the Fortran 90 compiler (gfortran ) is a cross-compiler... no
checking whether Fortran 90 works with Fortran 77... cat: conftest.f90: No such file or directory
Output from the link step is
/cygdrive/o/Users/George/AppData/Local/Temp/ccaeCApH.o:conftest1.f90:(.text+0x28): undefined reference to `_t1_2_'
collect2: ld returned 1 exit status
no
configure: WARNING: The test program that was used and the output may be found in config.log
configure: WARNING: The selected Fortran 90 compiler gfortran does not work with the selected Fortran 77 compiler g77. Use the environment variables F90 and F77 respectively to select compatible Fortran compilers. The check here tests to see if a main program compiled with the Fortran 90 compiler can link with a subroutine compiled with the Fortran 77 compiler.
checking whether Fortran accepts ! for comments... yes
checking for include directory flag for Fortran... -I
checking for Fortran 77 flag for library directories... -L
checking for which Fortran libraries are needed to link C with Fortran... none
checking whether Fortran compiler processes .F files with C preprocessor... yes
checking for c++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking whether the C++ compiler c++ can build an executable... yes
checking whether C++ compiler works with string... yes
checking whether the compiler supports exceptions... yes
checking whether the compiler recognizes bool as a built-in type... yes
checking whether the compiler implements namespaces... yes
checking whether <iostream> available... yes
checking whether the compiler implements the namespace std... yes
checking whether <math> available... no
checking for GNU g++ version... 3 . 4
checking whether C++ compiler accepts option -O2... yes
checking whether routines compiled with -O2 can be linked with ones compiled without -O2... yes
checking for perl... /usr/bin/perl
checking for ar... ar
checking for ranlib... ranlib
checking for killall... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether install works... yes
checking whether install breaks libraries... no
checking whether mkdir -p works... yes
checking for make... make
checking whether clock skew breaks make... no
checking whether make supports include... yes
checking whether make allows comments in actions... yes
checking for virtual path format... VPATH
checking whether make sets CFLAGS... no
checking for bash... /usr/bin/bash
checking whether /usr/bin/bash supports arrays... yes
checking for doctext... false
checking for location of doctext style files... unavailable
checking for an ANSI C-conforming const... yes
checking for volatile... yes
checking for restrict... __restrict
checking for inline... inline
checking whether __attribute__ allowed... yes
checking whether __attribute__((format)) allowed... yes
checking whether byte ordering is bigendian... no
checking whether C compiler allows unaligned doubles... yes
checking whether gcc supports __func__... yes
Using gcc to determine dependencies
checking whether long double is supported... yes
checking whether long long is supported... yes
checking for max C struct integer alignment... eight
checking for max C struct floating point alignment... four
checking for max C struct alignment of structs with doubles... eight
checking for max C struct floating point alignment with long doubles... four
configure: WARNING: Structures containing long doubles may be aligned differently from structures with floats or longs. MPICH2 does not handle this case automatically and you should avoid assumed extents for structures containing float types.
checking if alignment of structs with doubles is based on position... no
checking if alignment of structs with long long ints is based on position... no
checking if double alignment breaks rules, find actual alignment... no
checking for alignment restrictions on pointers... int or better
checking size of char... 1
checking size of unsigned char... 1
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned int... 4
checking size of long... 4
checking size of unsigned long... 4
checking size of long long... 8
checking size of unsigned long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 12
checking size of void *... 4
checking for ANSI C header files... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking size of wchar_t... 2
checking size of float_int... 8
checking size of double_int... 16
checking size of long_int... 8
checking size of short_int... 8
checking size of two_int... 8
checking size of long_double_int... 16
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking inttypes.h usability... yes
checking inttypes.h presence... yes
checking for inttypes.h... yes
checking stdint.h usability... yes
checking stdint.h presence... yes
checking for stdint.h... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking size of _Bool... 1
checking size of float _Complex... 8
checking size of double _Complex... 16
checking size of long double _Complex... 24
checking for _Bool... yes
checking for float _Complex... yes
checking for double _Complex... yes
checking for long double _Complex... yes
checking for size of Fortran type integer... 4
checking for size of Fortran type real... 4
checking for size of Fortran type double precision... 8
checking whether integer*1 is supported... yes
checking whether integer*2 is supported... yes
checking whether integer*4 is supported... yes
checking whether integer*8 is supported... yes
checking whether integer*16 is supported... no
checking whether real*4 is supported... yes
checking whether real*8 is supported... yes
checking whether real*16 is supported... no
checking for C type matching Fortran integer... int
checking for size of MPI_Status... 20
checking for values of Fortran logicals... True is 1 and False is 0
checking for Fortran 90 integer kind for 4-byte integers... 4
checking for Fortran 90 integer kind for 8-byte integers... 8
checking whether real*8 is supported in Fortran 90... yes
checking size of bool... 1
checking how to run the C++ preprocessor... c++ -E
checking complex usability... yes
checking complex presence... yes
checking for complex... yes
checking size of Complex... 8
checking size of DoubleComplex... 16
checking size of LongDoubleComplex... 24
checking if char * pointers use byte addresses... yes
checking for alignment restrictions on ... no
checking for alignment restrictions on int32_t... no
checking size of MPIR_Bsend_data_t... 56
checking for gcc __asm__ and pentium cmpxchgl instruction... yes
checking for gcc __asm__ and AMD x86_64 cmpxchgq instruction... no
checking for gcc __asm__ and IA64 xchg4 instruction... no
checking for ANSI C header files... (cached) no
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/types.h usability... yes
checking sys/types.h presence... yes
checking for sys/types.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stddef.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/uio.h... yes
checking for size_t... yes
checking for setitimer... yes
checking for alarm... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking whether vsnprintf needs a declaration... no
checking for strerror... yes
checking for strncasecmp... yes
checking for snprintf... yes
checking whether snprintf needs a declaration... no
checking for va_copy... yes
checking for variable argument list macro functionality... yes
checking valgrind.h usability... no
checking valgrind.h presence... no
checking for valgrind.h... no
checking memcheck.h usability... no
checking memcheck.h presence... no
checking for memcheck.h... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking valgrind/memcheck.h usability... no
checking valgrind/memcheck.h presence... no
checking for valgrind/memcheck.h... no
checking for working alloca.h... yes
checking for alloca... yes
checking for strdup... yes
checking whether strdup needs a declaration... no
checking for mkstemp... yes
checking whether mkstemp needs a declaration... no
checking for fdopen... yes
checking whether fdopen needs a declaration... yes
checking for putenv... yes
checking whether putenv needs a declaration... no
checking for clock_gettime... yes
checking for clock_getres... yes
checking for gethrtime... no
checking for gettimeofday... yes
checking for clock_gettime in -lrt... no
configure: error: Requested timer clock_gettime (POSIX) is not available
More information about the mpich-discuss
mailing list