<!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">
I tried your suggestion but something went wrong somewhere... it
couldn't compile it's test program during .configure. I put STDIO from
./configure into an attached text file...<br>
<br>
<tt>PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # alias f77=g95<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # alias f90=g95<br>
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>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # f77<br>
g95: no input files<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # F77<br>
bash: F77: command not found<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 # ./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: WARNING: Unable to test Fortran compiler. Compiling a test<br>
program failed to produce an object file<br>
configure: WARNING: File locks may not work with NFS. See the
Installation and<br>
users manual for instructions on testing and if necessary fixing this<br>
cat: /etc/ld.so.conf.d/*.conf: No such file or directory<br>
cat: /etc/ld.so.conf.d/*.conf: No such file or directory<br>
configure: WARNING: Invalid JNI include dir, exit!<br>
configure: WARNING: SLOG2SDK: No sub-package has been configured<br>
configure: WARNING: Could not define Fortran MPI datatypes for C<br>
configure: WARNING: Selecting integer*8 as the Fortran type for
MPI_Offset<br>
configure: WARNING: Selecting integer as the Fortran type for MPI_Aint<br>
PattiDesktop:/usr/local/mpich2/mpich2-1.0.7 #</tt><br>
<br>
<br>
<br>
<br>
Pavan Balaji wrote:
<blockquote cite="mid47F92643.7080906@mcs.anl.gov" type="cite"><br>
You can force MPICH2 to use g95 by setting environment variables at
configure time:
<br>
<br>
$ F77=/path/to/g95 F90=/path/to/g95 ./configure
--prefix=/some/place/mpich2-install
<br>
<br>
$ make && make install
<br>
<br>
-- Pavan
<br>
<br>
On 04/06/2008 02:08 PM, PattiMichelle wrote:
<br>
<blockquote type="cite">Hello Everyone :-)
<br>
I have installed g95 on my SuSE 10.2 x86_64 dual core system and want
to use MPICH2 to compile a certain parallel-enabled fortran code. I
looked at the MPICH2 configure script file(s) and noticed entries for
g95, so as long as I build the code from source (rather than installing
from an .rpm file), then it should detect g95, correct? I'm not sure
*how* it actually detects it because g95 can be installed pretty much
anywhere according to the g95 docs. I have set (in bashrc):
<br>
<br>
alias f77=g95
<br>
alias f90=g95
<br>
<br>
...and it seems to work...
<br>
<br>
patti@PattiDesktop:~> f77
<br>
g95: no input files
<br>
patti@PattiDesktop:~> f90
<br>
g95: no input files
<br>
patti@PattiDesktop:~>
<br>
<br>
...and have removed gfortran so the only fortran on my system *should*
be g95... I would appreciate a comment or three as to whether or not I
need to set anything else before running configure / make / make
install on the MPICH2 source.
<br>
<br>
THANK YOU!!
<br>
PattiMichelle Sheaffer
<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>