<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#99ffff" text="#000099">
Thank you again, Pavan. Ah! I see - the F90 and F77 were inputs to
the configure script. Well, it seemed to go well, but the system
cannot find mpif77 or mpif90 - I also tried searching the file system
but no luck.<br>
<br>
<tt>PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
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 >
Configure_MPICH2stdio.txt<br>
configure: WARNING: Structures containing long doubles may be aligned
differently from structures with floats or longs. MPICH2 does not
handle this case automatically and you should avoid assumed extents for
structures containing float types.<br>
configure: error: Fortran integers and C ints are not the same size.
The current Fortran binding does not support this case. Either force
the Fortran compiler to use integers of 4 bytes, or use --disable-f77
on the configure line for MPICH2.<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # make >
Make_MPICH2stdio.txt<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # make install >
MakeInst_MPICH2stdio.txt<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # mpif77<br>
bash: mpif77: command not found<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # mpif90<br>
bash: mpif90: command not found<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #<br>
<br>
</tt>This output from make install:<br>
<tt>/usr/bin/install -c -m 644 mpicc.conf
/usr/local/mpich2/mpich2-install/etc/mpicc.conf<br>
if [ -s mpicxx ] ; then /usr/bin/install -c mpicxx
/usr/local/mpich2/mpich2-install/bin/mpicxx ; fi<br>
if [ -s mpif77 ] ; then /usr/bin/install -c mpif77
/usr/local/mpich2/mpich2-install/bin/mpif77 ; fi<br>
if [ -s mpif90 ] ; then /usr/bin/install -c mpif90
/usr/local/mpich2/mpich2-install/bin/mpif90 ; fi<br>
if [ -s mpicxx.conf ] ; then /usr/bin/install -c -m 644 mpicxx.conf
/usr/local/mpich2/mpich2-install/etc/mpicxx.conf ; fi<br>
if [ -s mpif77.conf ] ; then /usr/bin/install -c -m 644 mpif77.conf
/usr/local/mpich2/mpich2-install/etc/mpif77.conf ; fi<br>
if [ -s mpif90.conf ] ; then /usr/bin/install -c -m 644 mpif90.conf
/usr/local/mpich2/mpich2-install/etc/mpif90.conf ; fi<br>
<br>
</tt>...which I believe is supposed to put mpif77 in the
/usr/local/mpich2/mpich2-install/bin directory, but I don't see it
there.<tt><br>
<br>
</tt><br>
Pavan Balaji wrote:
<blockquote cite="mid47FC38C3.6040406@mcs.anl.gov" type="cite"><br>
<blockquote type="cite">PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
alias f77=g95
<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # alias f90=g95
<br>
</blockquote>
<br>
You don't need to set these.
<br>
<br>
<blockquote type="cite">PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
F90=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
F77=/usr/local/g95/g95-install/bin/x86_64-suse-linux-gnu-g95
<br>
</blockquote>
<br>
These should be on the same command line as the configure.
<br>
<br>
<blockquote type="cite">PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #
./configure --prefix=/usr/local/mpich2/mpich2-install >
Configure_MPICH2stdio.txt
<br>
</blockquote>
<br>
Use the following command line:
<br>
<br>
$ 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
<br>
<br>
-- Pavan
<br>
<br>
</blockquote>
<br>
</body>
</html>