[mpich-discuss] Fwd: mpich-3.2 using cygwin

Bhanu Hariharan bhanu at petrotel.com
Mon Feb 1 15:26:36 CST 2016


Hello,

I am trying to build the mpich-3.2 libs on a Windows 64 bit Vista.

I am using cygwin and I am following the configure and build instructions
on http://www.mpich.org/static/downloads/3.2/mpich-3.2-installguide.pdf


On launching the configure command, I first ran into OpenPA errors, so just
to get around it I renamed openpa folder in src to ##openpa

Then I ran into some fortran errors - I have ifort compiler.
"Could not determine a way to link a Fortran test program!"

I am sending you c.txt and config.log as was suggested in the .pdf.
Could anyone help me understand why I might be getting the error and a way
out.

Thanks in advance,
Regards,
Bhanu

PS: Separate question: I was able to find .msi for older versions of
mpich2 but not anymore. Can I download .msi for latest mpich2 versions?

-- 

------------------------------
*DISCLAIMER*: This e-mail and any files transmitted with it ("Message") is 
intended only for the use of the recipient(s) named above and may contain 
confidential information. You are hereby notified that the taking of any 
action in reliance upon, or any review, retransmission, dissemination, 
distribution, printing or copying of this Message or any part thereof by 
anyone other than the intended recipient(s) is strictly prohibited. If you 
have received this Message in error, you should delete this Message 
immediately and advise the sender by return e-mail. Opinions, conclusions 
and other information in this Message that do not relate to the official 
business of PETROTEL  or its affiliated Companies shall be understood as 
neither given nor endorsed by PETROTEL or any of its affiliated companies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20160201/4c265622/attachment.html>
-------------- next part --------------
Configuring MPICH version 3.2 with  '--prefix=/cygdrive/c/Program Files/MPICH-3.2'
Running on system: CYGWIN_NT-6.0-WOW64 Computer128 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
checking for icc... no
checking for pgcc... no
checking for xlc... no
checking for xlC... no
checking for pathcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
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 for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for ar... ar
checking the archiver (ar) interface... ar
configure: WARNING: Libtool does not cope well with whitespace in `pwd`
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking how to print strings... printf
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 fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) 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 i686-pc-cygwin file names to i686-pc-cygwin format... func_convert_file_noop
checking how to convert i686-pc-cygwin file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-cygwin/bin/ld.exe 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_fallback
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... 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 whether make supports nested variables... (cached) yes
checking for icpc... no
checking for pgCC... no
checking for xlC... no
checking for pathCC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for ifort... ifort
checking whether we are using the GNU Fortran compiler... no
checking whether ifort accepts -g... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ifort option to produce PIC... -DDLL_EXPORT
checking if ifort PIC flag -DDLL_EXPORT works... no
checking if ifort static flag  works... yes
checking if ifort supports -c -o file.o... no
checking if ifort supports -c -o file.o... (cached) no
checking whether the ifort linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU Fortran 77 compiler... no
checking whether ifort accepts -g... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ifort option to produce PIC... -DDLL_EXPORT
checking if ifort PIC flag -DDLL_EXPORT works... no
checking if ifort static flag  works... yes
checking if ifort supports -c -o file.o... no
checking if ifort supports -c -o file.o... (cached) no
checking whether the ifort linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
./configure: line 26138: test: /cygdrive/c/Program: binary operator expected
checking hcoll/api/hcoll_api.h usability... no
checking hcoll/api/hcoll_api.h presence... no
checking for hcoll/api/hcoll_api.h... no
checking for hcoll_init in -lhcoll... no
./configure: line 26521: test: /cygdrive/c/Program: binary operator expected
./configure: line 26527: test: /cygdrive/c/Program: binary operator expected
configure: RUNNING PREREQ FOR ch3:nemesis
configure: ===== configuring src/mpl =====
./configure: line 27243: test: /cygdrive/c/Program: binary operator expected
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/cygdrive/c/Program Files/MPICH-3.2' --disable-versioning --cache-file=/dev/null --srcdir=.
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 for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking the archiver (ar) interface... ar
configure: WARNING: Libtool does not cope well with whitespace in `pwd`
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking how to print strings... printf
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 fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) 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 i686-pc-cygwin file names to i686-pc-cygwin format... func_convert_file_noop
checking how to convert i686-pc-cygwin file names to toolchain format... func_convert_file_noop
checking for /usr/i686-pc-cygwin/bin/ld.exe 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_fallback
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... 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 whether make supports nested variables... (cached) yes
checking for an ANSI C-conforming const... yes
checking for C/C++ restrict keyword... __restrict
checking for inline... inline
checking for variable argument list macro functionality... yes
checking for gcov... gcov
checking whether the compiler supports __typeof(variable)... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) 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 helgrind.h usability... no
checking helgrind.h presence... no
checking for helgrind.h... no
checking valgrind/helgrind.h usability... no
checking valgrind/helgrind.h presence... no
checking for valgrind/helgrind.h... no
checking drd.h usability... no
checking drd.h presence... no
checking for drd.h... no
checking valgrind/drd.h usability... no
checking valgrind/drd.h presence... no
checking for valgrind/drd.h... no
checking whether the valgrind headers are broken or too old... yes
checking for strdup... yes
checking whether strdup needs a declaration... no
checking for snprintf... yes
checking whether snprintf needs a declaration... no
checking for strncmp... yes
checking whether strncmp needs a declaration... no
checking for putenv... yes
checking whether putenv needs a declaration... no
checking for strerror... yes
checking whether strerror needs a declaration... no
checking whether __attribute__ allowed... yes
checking whether __attribute__((format)) allowed... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating localdefs
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing include/mplconfig.h commands
config.status: creating include/mplconfig.h - prefix MPL for include/config.h defines
config.status: include/mplconfig.h is unchanged
configure: ===== done with src/mpl configure =====
configure: sourcing src/mpl/localdefs
configure: WARNING: Attempted to use the embedded OpenPA source tree in "src/openpa", but it is missing.  Configuration or compilation may fail later.
./configure: line 28297: test: /cygdrive/c/Program: binary operator expected
configure: WARNING: ROMIO src directory is not available
./configure: line 28350: test: /cygdrive/c/Program: binary operator expected
./configure: line 28352: test: /cygdrive/c/Program: binary operator expected
./configure: line 28355: test: /cygdrive/c/Program: binary operator expected
./configure: line 28427: test: /cygdrive/c/Program: binary operator expected
./configure: line 28431: test: too many arguments
./configure: line 28444: test: /cygdrive/c/Program: binary operator expected
./configure: line 28498: test: /cygdrive/c/Program: binary operator expected
./configure: line 28501: test: /cygdrive/c/Program: binary operator expected
./configure: line 28523: test: /cygdrive/c/Program: binary operator expected
./configure: line 28526: test: /cygdrive/c/Program: binary operator expected
checking whether the compiler defines __func__... no
checking whether the compiler defines __FUNC__... no
checking whether the compiler sets __FUNCTION__... no
checking whether C compiler accepts option -O2... no
checking for type of weak symbol alias support... no
checking whether __attribute__ ((weak)) allowed... no
checking whether __attribute__ ((weak_import)) allowed... no
checking whether __attribute__((weak,alias(...))) allowed... no
checking for shared library (esp. rpath) characteristics of CC... done (results in src/env/cc_shlib.conf)
checking whether Fortran 77 compiler accepts option -O2... yes
checking whether routines compiled with -O2 can be linked with ones compiled without -O2... no
checking how to get verbose linking output from ifort... configure: WARNING: compilation failed

checking for Fortran 77 libraries of ifort... 
checking whether ifort accepts the FLIBS found by autoconf... yes
checking whether gcc links with FLIBS found by autoconf... no
checking for which libraries can be used... 
checking whether Fortran 77 and C objects are compatible... no
checking for file... no
checking for linker for Fortran main program... configure: error: Could not determine a way to link a Fortran test program!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 85940 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20160201/4c265622/attachment.obj>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list