[mpich-discuss] configure: error: F90 and F90FLAGS are replaced by FC and FCFLAGS

Anthony Chan chan at mcs.anl.gov
Wed Aug 17 12:09:19 CDT 2011


Check if your environment has F90 or F90FLAGS set ?

env | grep F90

Since you are compiling from source, you may want to use
latest mpich2 1.4. 

A.Chan

----- Original Message -----
> Dear All,
> 
> I've set the environment as shown in the log file below. Can anyone
> please help me in resolving this configure error.
> 
> Thanking you in advance.
> 
> Surya
> 
> ##############################################
> Configuring MPICH2 version 1.3 with
> '--prefix=/opt/pgi/linux86-64/2011/mpi/mpich2' 'CC=pgcc'
> 'CFLAGS=-fast' 'FC=pgfortran' 'FCFLAGS=-fast' 'CXX=pgcpp'
> 'CXXFLAGS=-fast'
> Running on system: Linux ndextmod01.ops.erm55.com 2.6.18-238.12.1.el5
> #1 SMP Tue May 31 13:22:04 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
> 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... no
> checking whether pgcc accepts -g... yes
> checking for pgcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... pgcc -E
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for grep that handles long lines and -e... /bin/grep
> checking for fgrep... /bin/grep -F
> Executing mpich2prereq in /root/MPICH2/mpich2-1.3/src/mpid/ch3 with
> Executing mpich2prereq in
> /root/MPICH2/mpich2-1.3/src/mpid/ch3/channels/nemesis
> configure: ===== configuring src/mpl =====
> configure: executing: /root/MPICH2/mpich2-1.3/src/mpl/configure
> '--prefix=/opt/pgi/linux86-64/2011/mpi/mpich2' 'CC=pgcc' 'CFLAGS=-fast
> ' 'FC=pgfortran' 'CFLAGS=-fast ' 'CXX=pgcpp' 'CXXFLAGS=-fast '
> --disable-option-checking
> 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 build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for style of include used by make... GNU
> checking for gcc... pgcc
> 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... no
> checking whether pgcc accepts -g... yes
> checking for pgcc option to accept ISO C89... none needed
> checking dependency style of pgcc... none
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for non-GNU ld... /usr/bin/ld
> checking if the linker (/usr/bin/ld) 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... 98304
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from pgcc object... ok
> checking how to run the C preprocessor... pgcc -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 for pgcc option to produce PIC... -fpic -DPIC
> checking if pgcc PIC flag -fpic -DPIC works... yes
> checking if pgcc static flag -Bstatic works... yes
> checking if pgcc supports -c -o file.o... yes
> checking if pgcc supports -c -o file.o... (cached) yes
> checking whether the pgcc linker (/usr/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking dynamic linker characteristics... 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
> checking whether we are using the GNU C compiler... (cached) no
> checking whether pgcc accepts -g... (cached) yes
> checking for pgcc option to accept ISO C89... (cached) none needed
> checking dependency style of pgcc... (cached) none
> checking for an ANSI C-conforming const... yes
> checking for C/C++ restrict keyword... __restrict
> checking for variable argument list macro functionality... 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 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
> 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: ===== configuring src/openpa =====
> configure: executing: /root/MPICH2/mpich2-1.3/src/openpa/configure
> --with-atomic-primitives=auto_allow_emulation
> '--prefix=/opt/pgi/linux86-64/2011/mpi/mpich2' 'CC=pgcc' 'CFLAGS=-fast
> ' 'FC=pgfortran' 'CFLAGS=-fast ' 'CXX=pgcpp' 'CXXFLAGS=-fast '
> --disable-option-checking
> 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 build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for style of include used by make... GNU
> checking for gcc... pgcc
> 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... no
> checking whether pgcc accepts -g... yes
> checking for pgcc option to accept ISO C89... none needed
> checking dependency style of pgcc... none
> checking for a sed that does not truncate output... /bin/sed
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for fgrep... /bin/grep -F
> checking for non-GNU ld... /usr/bin/ld
> checking if the linker (/usr/bin/ld) 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... 98304
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from pgcc object... ok
> checking how to run the C preprocessor... pgcc -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 for pgcc option to produce PIC... -fpic -DPIC
> checking if pgcc PIC flag -fpic -DPIC works... yes
> checking if pgcc static flag -Bstatic works... yes
> checking if pgcc supports -c -o file.o... yes
> checking if pgcc supports -c -o file.o... (cached) yes
> checking whether the pgcc linker (/usr/bin/ld -m elf_x86_64) supports
> shared libraries... yes
> checking dynamic linker characteristics... 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
> checking for gcc... (cached) pgcc
> checking whether we are using the GNU C compiler... (cached) no
> checking whether pgcc accepts -g... (cached) yes
> checking for pgcc option to accept ISO C89... (cached) none needed
> checking dependency style of pgcc... (cached) none
> 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... yes
> checking intrin.h presence... yes
> checking for intrin.h... yes
> 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... yes
> checking if 100 threads can be run at once... yes
> checking size of void *... 8
> checking size of int... 4
> 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 SiCortex atomics... no
> checking for support for gcc atomic intrinsics... no
> 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
> 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: src/config.h is unchanged
> 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
> config.status: src/opa_config.h is unchanged
> configure: ===== done with src/openpa configure =====
> sourcing /root/MPICH2/mpich2-1.3/src/pm/hydra/mpich2prereq
> 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
> checking whether __attribute__ ((weak)) allowed... yes
> checking whether __attribute__ ((weak_import)) allowed... yes
> checking whether __attribute__((weak,alias(...))) allowed... yes
> checking for multiple weak symbol support... yes
> configure: error: F90 and F90FLAGS are replaced by FC and FCFLAGS
> respectively in this configure, please unset F90/F90FLAGS and set
> FC/FCFLAGS instead and rerun configure again.
> 
> <mailto:mpich-discuss at mcs.anl.gov>
> 
> ________________________________
> 
> This message contains information which may be confidential,
> proprietary, privileged, or otherwise protected by law from disclosure
> or use by a third party. If you have received this message in error,
> please contact us immediately and take the steps necessary to delete
> the message completely from your computer system. Thank you.
> 
> Please visit ERM's web site: http://www.erm.com
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list