[mpich-discuss] Getting MPICH2 to find/use g95 fortran

Pavan Balaji balaji at mcs.anl.gov
Tue Apr 8 22:32:19 CDT 2008


> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # alias f77=g95
> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # alias f90=g95

You don't need to set these.

> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # 
> F90=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # 
> F77=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95

These should be on the same command line as the configure.

> PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # ./configure 
> --prefix=/usr/local/mpich2/mpich2-install > Configure_MPICH2stdio.txt

Use the following command line:

   $ F90=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95 
F77=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95 ./configure 
--prefix=/usr/local/mpich2/mpich2-install

  -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji




More information about the mpich-discuss mailing list