Re: [FLASH-USERS] version of flash 2.3 compatible with mpich-1.2.5.2 ??

From: Anshu Dubey <dubey@tagore.uchicago.edu>
Date: Thu Aug 12 2004 - 23:21:34 CDT

You need to do this in setup of FLASH. For example,
./setup sedov -auto -with-module=io/null

On Thu, 12 Aug 2004, Victor Shum wrote:

>
> > To build HDF5-free executable, add
> >
> > -with-module=io/null
> >
> > to your setup line.
>
>
> I tried to add that behind mpif90 or configure in hdf5
> or ifort and they all did not recognize the syntax.
>
> Should it be mpif90 ??io/null ?
>
> -Vic
>
>
> --- Tomasz Plewa <tomek@flash.uchicago.edu> wrote:
>
> > mpif.h is automatically linked to and the link is
> > removed upon
> > exit of mpif90. This is normal.
> >
> > I presume
> >
> > /usr/local/mpich-1.2.5/ch_p4/include/mpif.h
> >
> > does exist on your system so there is no problem
> > with the compiler
> > installation. (But next time you build mpich
> > consider using ifort
> > compiler as ifc is obsolete.)
> >
> > To build HDF5-free executable, add
> >
> > -with-module=io/null
> >
> > to your setup line.
> >
> > Tomek
> > --
> > On Thu, Aug 12, 2004 at 08:45:38PM -0700, Victor
> > Shum wrote:
> > >
> > >
> > > Interesting!
> > > mpif90 -show gave :
> > >
> > > ln -s /usr/local/mpich-1.2.5/ch_p4/include/mpif.h
> > > mpif.h
> > > /opt/intel_fc_80/bin/ifc
> > > -L/usr/local/mpich-1.2.5/ch_p4/lib -lmpich
> > > rm mpif.h
> > >
> > > So somehow the mpif.h was removed??
> > >
> > > -Vic
> > >
> > >
> > >
> > > --- Tomasz Plewa <tomek@flash.uchicago.edu> wrote:
> > >
> > > > On Thu, Aug 12, 2004 at 08:30:45PM -0700, Victor
> > > > Shum wrote:
> > > > >
> > > > >
> > > > > Hi Anshu,
> > > > >
> > > > > I always try to cleanly redo the compilation
> > and
> > > > the
> > > > > linking by rm -f *.o inside the
> > flash2.3/object
> > > > dir.
> > > >
> > > > What Anshu meant, I believe, is that it is
> > possible
> > > > to compile mpich
> > > > and hdf5 with two different compilers. intel
> > > > compiler should be used
> > > > used in both cases.
> > > >
> > > > > My includes in my mpif90 compilation goes like
> > > > this:
> > > > >
> > > > > mpif90 -c -r8 -i4 -f90=ifc -quiet
> > > > >
> > > >
> > >
> >
> -I/usr/local/mpich-1.2.5/ch_p4/include-I/usr/src/hdf5-1.4.3/src/include
> > > > > -DN_DIM=2 -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8
> > > > -DNZB=1
> > > >
> > > > There is no white space separating -I options.
> > The
> > > > line should read
> > > >
> > > > -I/usr/local/mpich-1.2.5/ch_p4/include
> > > > -I/usr/src/hdf5-1.4.3/src/include
> > > >
> > > > Also, you do not need -f90=ifc. If mpif90 uses
> > ifort
> > > > compiler then
> > > > -quiet will not be needed.
> > > >
> > > > What is output of
> > > >
> > > > mpif90 -show
> > > >
> > > > Tomek
> > > > --
> > > >
> >
> > --
> > Thu, 22:59 CDT (03:59 GMT), Aug-12-2004
> >
> _______________________________________________________________________________
> >
> > Tomasz Plewa
> > www: flash.uchicago.edu
> > Computational Physics and Validation Group
> > email: tomek@uchicago.edu
> > The ASC FLASH Center, The University of Chicago
> > phone: 773.834.3227
> > 5640 South Ellis, RI 475, Chicago, IL 60637
> > fax: 773.834.3230
> >
> _______________________________________________________________________________
> >
>

-- 
Anshu Dubey
Astronomy & Astrophysics
University of Chicago
5640 S. Ellis Ave.  Chicago IL 60637
Tel : (773) 834 2999
Fax : (773) 834 3230
Received on Thu Aug 12 23:28:54 2004

This archive was generated by hypermail 2.1.8 : Thu Aug 31 2006 - 21:20:48 CDT