[MPICH] Cannot determine Fortran naming scheme?
David Gunter
dog at lanl.gov
Thu Apr 20 08:17:49 CDT 2006
One problem may be the way you define your compilers. From the
MPICH2 manual:
"The arguments to configure are different in MPICH1 and MPICH2; the
Installer’s Guide discusses configure. In particular, the newer
configure
in MPICH2 does not support the -cc=<compiler-name> (or -fc, -c++, or
-f90) options. Instead, many of the items that could be specified in the
command line to configure in MPICH1 must now be set by defining an
environment variable. E.g., while MPICH1 allowed
./configure -cc=pgcc
MPICH2 requires
setenv CC pgcc
(or export CC=pgcc for ksh or CC=pgcc ; export CC for strict sh) before
./configure. Basically, every option to the MPICH-1 configure that does
not start with --enable or --with is not available as a configure
option in
MPICH2. Instead, environment variables must be used. This is consistent
(and required) for use of version 2 GNU autoconf. "
Try using environment variables before running configure. I've been
testing MPICH2 under FC3 and haven't seen the errors you are
getting...yet. ;-)
-david
--
David Gunter
CCN-8: HPC Environments: Parallel Tools Team
Los Alamos National Laboratory
On Apr 20, 2006, at 12:31 AM, Grus Weir wrote:
> Hi all,
> I'm just a newbie.
> When I am trying to install mpich2-1.0.3 on my linux machine.
> My system is SUSE 9.3/gcc-3.3.5-5/pgi6.0-5
> after
> ./configure --prefix=/software/mpich2 --enable-f77 --enable-f90
> --enable-cxx LDFLAGS='-lm' CC=gcc CXX=g++ CPP='g++ -E' F77=pgf90
> F90=pgf90 > configure.log 2>configure.error
>
> the configure.error shows:
> configure: WARNING: File locks may not work with NFS. See the
> Installation and
> users manual for instructions on testing and if necessary fixing this
> pgf90-Warning-Unknown switch: -print-search-dirs
> pgf90-Warning-No files to process
> pgf90-Warning-Unknown switch: -print-search-dirs
> pgf90-Warning-No files to process
> configure: WARNING: Cannot determine Fortran naming scheme
>
> I can not find the cause for
> Cannot determine Fortran naming scheme
> &
> pgf90-Warning-Unknown switch: -print-search-dirs
> pgf90-Warning-No files to process
> pgf90-Warning-Unknown switch: -print-search-dirs
> pgf90-Warning-No files to process
>
> The pgf90-Warnings also appears when installing mpich1.2.7p1
> how ever, it could get though the installation.
> But I'm worry about further issues.
>
> Any comment is welcome.
>
> --
> Grus Weir
>
More information about the mpich-discuss
mailing list