Thanks for reporting your install information. Looks like the configure didn’t detect your environment correctly. It should detect that you did not have fortran installed and should not check fortran bindings afterwards. Before we fix the configure, would you like to try the following first: if you do not need fortran, you can configure MPICH with ‘configure --disable-fortran’. If you need fortran, please install fortran compiler and try again. p.s. Michael: we are using [email protected] instead of [email protected] now. — Huiwei
On Oct 29, 2014, at 11:50 PM, Michael Steffen <[email protected]> wrote:
I am having trouble installing mpich on my macbook pro.
This is what my terminal window looks like when I try to install it at get stuck at the make part.
What am I doing wrong?
Last login: Wed Oct 29 22:36:42 on ttys000 Michaels-MacBook-Pro:~ michael-steffen$ cd /Users/michael-steffen/Desktop/mpich-3.1.3 Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ /Users/michael-steffen/Desktop/mpich-3.1.3/configure Configuring MPICH version 3.1.3 Running on system: Darwin Michaels-MacBook-Pro.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64 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.out checking for suffix of executables... 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... confdb/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk 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 checking build system type... x86_64-apple-darwin13.4.0 checking host system type... x86_64-apple-darwin13.4.0 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... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin13.4.0 file names to x86_64-apple-darwin13.4.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin13.4.0 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... 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... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.4.0 dyld 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++... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.4.0 dyld checking how to hardcode library paths into programs... immediate checking for ifort... no checking for pgf90... no checking for pathf90... no checking for pathf95... no checking for xlf90... no checking for xlf95... no checking for xlf2003... no checking for gfortran... no checking for f90... no checking for epcf90... no checking for f95... no checking for fort... no checking for lf95... no checking for g95... no checking for ifc... no checking for efc... no checking for gfc... no checking whether we are using the GNU Fortran compiler... no checking whether accepts -g... 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... no checking for f77... no checking for g77... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no 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: RUNNING PREREQ FOR ch3:nemesis checking for getpagesize... yes checking for getpagesize... (cached) yes configure: ===== configuring src/mpl ===== configure: running /bin/sh ./configure --disable-option-checking '--prefix=NONE' --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... confdb/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk 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.out checking for suffix of executables... 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 checking build system type... x86_64-apple-darwin13.4.0 checking host system type... x86_64-apple-darwin13.4.0 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... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin13.4.0 file names to x86_64-apple-darwin13.4.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin13.4.0 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... 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... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.4.0 dyld 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 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: 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 configure: ===== done with src/mpl configure ===== configure: sourcing src/mpl/localdefs configure: ===== configuring src/openpa ===== configure: running /bin/sh ./configure --disable-option-checking '--prefix=NONE' --with-atomic-primitives=auto_allow_emulation --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... confdb/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... 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 checking build system type... x86_64-apple-darwin13.4.0 checking host system type... x86_64-apple-darwin13.4.0 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... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin13.4.0 file names to x86_64-apple-darwin13.4.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin13.4.0 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... 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... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin13.4.0 dyld 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 gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking whether to enable assertions... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking intrin.h usability... no checking intrin.h presence... no checking for intrin.h... no checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for C/C++ restrict keyword... __restrict checking for inline... inline checking for an ANSI C-conforming const... yes checking for pthread_create in -lpthread... yes checking for pthread_yield... no checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking for sched_yield... yes checking if 100 threads can be run at once... yes checking size of void *... 8 checking size of int... 4 checking whether __attribute__ allowed... yes checking whether __attribute__((format)) allowed... yes checking if compiler rejects bogus asm statements... yes checking for support for gcc x86/x86_64 primitives... yes checking for support for gcc x86 primitives for pre-Pentium 4... yes checking for support for gcc ia64 primitives... no checking for support for gcc PowerPC atomics... no checking for support for gcc ARM atomics... no checking for support for gcc SiCortex atomics... no checking for support for gcc atomic intrinsics... yes checking for support for Windows NT atomic intrinsics... no checking for support for Sun atomic operations library... no checking whether to enable strict fairness checks... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating openpa.pc config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing src/opa_config.h commands config.status: creating src/opa_config.h - prefix OPA for src/config.h defines configure: ===== done with src/openpa configure ===== sourcing /Users/michael-steffen/Desktop/mpich-3.1.3/src/pm/hydra/mpichprereq 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 C compiler option -O2 works with an invalid prototype program... yes checking whether routines compiled with -O2 can be linked with ones compiled without -O2... yes checking for type of weak symbol alias support... no checking whether __attribute__ ((weak)) allowed... yes checking whether __attribute__ ((weak_import)) allowed... yes 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... no checking how to get verbose linking output from ... configure: WARNING: compilation failed
checking for Fortran 77 libraries of ... checking whether accepts the FLIBS found by autoconf... no checking for valid entries in FLIBS... checking whether gcc links with FLIBS found by autoconf... yes 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 " " is : : cannot open `' (No such file or directory). C Object File Type produced by "gcc -O2" is : : Mach-O 64-bit object x86_64. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make make: *** No targets specified and no makefile found. Stop. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make |& tee m.txt -bash: syntax error near unexpected token `&' Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make | tee m.txt make: *** No targets specified and no makefile found. Stop. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make 2>&1 | tee m.txt make: *** No targets specified and no makefile found. Stop. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make clean make: *** No rule to make target `clean'. Stop. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make VERBOSE=1 |& tee m.txt -bash: syntax error near unexpected token `&' Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make VERBOSE=1 | tee m.txt make: *** No targets specified and no makefile found. Stop. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make VERBOSE=1 tee m.txt make: *** No rule to make target `tee'. Stop. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make VERBOSE=1 2>&1 | tee m.txt make: *** No targets specified and no makefile found. Stop. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$ make VERBOSE=1 2>&1 tee m.txt make: *** No rule to make target `tee'. Stop. Michaels-MacBook-Pro:mpich-3.1.3 michael-steffen$
Thanks, Mike -- Michael A. Steffen PhD. Candidate Department of Biological Sciences 800 S. Tucker Drive University of Tulsa Tulsa, OK 74104 Phone (708) 738-1491 _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss