[mpich-discuss] Problem Configuring mpich2
Anthony Chan
chan at mcs.anl.gov
Wed Jan 18 01:05:23 CST 2012
Send us the top-level config.log if you still have trouble.
more comments below
----- Original Message -----
> Hi. Im trying to install mpich2 on cygwin and having problems
> configuring
> mpich2.
>
> I entered:
>
> ./configure --prefix=/home/you/mpich2-install |& tee c.txt
>
> and
>
> ./configure --prefix=/home/you/mpich2-install 2>&1 | tee c.txt
You only need to run configure once. The 1st configure command for
csh based shell. The 2nd one is for bourne shell variant. MPICH2's
top-level README file should have the details.
Also, you do inpath build multiple times, you need to run "make distclean"
before "configure".
>
> and got the message attached (c.txt)
>
> How should I troubleshoot?
>
> Thank you
>
> _______________________________________________
> mpich2-maint mailing list
> mpich2-maint at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich2-maint
-------------- next part --------------
Configuring MPICH2 version 1.4.1p1 with '--prefix=/home/fatimahd/mpich2-1.4.1p1'
Running on system: CYGWIN_NT-5.1 400W-64611 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
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 build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for grep that handles long lines and -e... /usr/bin/grep
checking for fgrep... /usr/bin/grep -F
./configure: line 6461: test: too many arguments
configure: ===== configuring src/mpl =====
./configure: line 6874: test: too many arguments
./configure: line 6879: test: too many arguments
./configure: line 6962: test: too many arguments
configure: WARNING: /cygdrive/c/Documents and Settings/fatimahd/cygwin/mpich2-1.4.1p1/src/mpl/configure does not exist
configure: ===== done with src/mpl configure =====
./configure: line 6978: test: too many arguments
configure: ===== configuring src/openpa =====
./configure: line 7179: test: too many arguments
./configure: line 7184: test: too many arguments
./configure: line 7267: test: too many arguments
configure: WARNING: /cygdrive/c/Documents and Settings/fatimahd/cygwin/mpich2-1.4.1p1/src/openpa/configure does not exist
configure: ===== done with src/openpa configure =====
./configure: line 7283: test: too many arguments
./configure: line 7758: test: too many arguments
configure: WARNING: ROMIO src directory is not available
./configure: line 7788: test: too many arguments
./configure: line 7791: test: too many arguments
./configure: line 7877: test: too many arguments
./configure: line 7881: test: too many arguments
./configure: line 7893: test: too many arguments
./configure: line 7960: test: too many arguments
./configure: line 7963: test: too many arguments
./configure: line 7984: test: too many arguments
./configure: line 7992: test: too many arguments
./configure: line 7998: test: too many arguments
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 ifort... no
checking for pgf77... no
checking for af77... no
checking for xlf... no
checking for frt... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for fort... no
checking for ifc... no
checking for efc... no
checking for ftn... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran 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 gfortran... -v
checking for Fortran 77 libraries of gfortran... -L/usr/lib/gcc/i686-pc-cygwin/4.5.3 -L/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../.. -lgfortran -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32
checking whether gfortran 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... file
configure: error: **** Incompatible Fortran and C Object File Types! ****
F77 Object File Type produced by "gfortran -O2" is : : 80386 COFF executable not stripped - version 30821.
C Object File Type produced by "gcc " is : : ERROR: cannot open `' (No such file or directory).
More information about the mpich-discuss
mailing list