[mpich-discuss] Getting MPICH2 to find/use g95 fortran
brian janus
brian.janus at gmail.com
Sun Apr 6 19:51:29 CDT 2008
Hi,
I posted to the list earlier (my first post), but I don't know if got
through to the list.
Did any of you see me post with the subject: "mpirun script and the SYNCLOC
option"
Thanks
Brian Janus
On Sun, Apr 6, 2008 at 2:36 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:
>
> You can force MPICH2 to use g95 by setting environment variables at
> configure time:
>
> $ F77=/path/to/g95 F90=/path/to/g95 ./configure
> --prefix=/some/place/mpich2-install
>
> $ make && make install
>
> -- Pavan
>
> On 04/06/2008 02:08 PM, PattiMichelle wrote:
>
> > Hello Everyone :-)
> > 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):
> >
> > alias f77=g95
> > alias f90=g95
> >
> > ...and it seems to work...
> >
> > patti at PattiDesktop:~> f77
> > g95: no input files
> > patti at PattiDesktop:~> f90
> > g95: no input files
> > patti at PattiDesktop:~>
> >
> > ...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.
> >
> > THANK YOU!!
> > PattiMichelle Sheaffer
> >
> >
> >
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji <http://www.mcs.anl.gov/%7Ebalaji>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080406/4862847e/attachment.htm>
More information about the mpich-discuss
mailing list