[FLASH-USERS] if I use the compiler with the -fast flag, the mpi_xx undefined .. go away but with the /usr/bin/ld : buildstamp.o file format not recognized error as attached

From: Victor Shum <vshum12@pacbell.net>
Date: Fri Aug 13 2004 - 17:33:33 CDT

As noted in the make_with_fast.log ,

There are no more mpi_xx undefined errors but just the
error:

/usr/bin/ld:buildstamp.o: file format not recognized;
treating as linker script
/usr/bin/ld:buildstamp.o:1: parse error
make[1]: *** [flash2] Error 1
make[1]: Leaving directory
`/usr/local/FLASH2.3/object'
make: *** [default] Error 2

Can I ask it to skip buildstamp.c compilation?

Bst,
Victor

--- Victor Shum <vshum12@pacbell.net> wrote:

> Date: Fri, 13 Aug 2004 13:47:37 -0700 (PDT)
> From: Victor Shum <vshum12@pacbell.net>
> Subject: Re: [FLASH-USERS] version of flash 2.3
> compatible with mpich-1.2.5.2 ??
> To: Tomasz Plewa <tomek@flash.uchicago.edu>
> CC: Anshu Dubey <dubey@tagore.uchicago.edu>
>
>
> Tomasz,
>
> I have attached all the files for your diagnostic.
>
> Thanks for taking the time!
>
> Also I have used this time a new mpich-1.2.6
> package
> as suggested by Rusty and result was the same as you
> can see in the make.log
> You can see the undefined reference errors at the
> end
> of the make.log file.
>
> listing.log is the listing for the
> /usr/local/mpich-1.2.6/lib
>
>
> Many thanks again!
>
> Bst,
> Victor
>
> --- Tomasz Plewa <tomek@flash.uchicago.edu> wrote:
>
> > On Thu, Aug 12, 2004 at 09:38:21PM -0700, Victor
> > Shum wrote:
> > >
> > >
> > > I did that and still I got the mpi_xx not
> defined
> > > errors.
> > > So I guess there has been no interference from
> the
> > > hdf5 library.
> >
> > OK. We eliminated one possible source of problems.
> >
> > Please send me
> >
> > object/Makefile.h
> > object/setup_call
> > Modules
> >
> > listing of
> >
> > /usr/local/mpich-1.2.5/ch_p4/lib
> >
> > and full output from compilation process (screen
> > output).
> >
> > Tomek
> > --
> > > --- Anshu Dubey <dubey@tagore.uchicago.edu>
> wrote:
> > >
> > > >
> > > > 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
> > > > > >
> > > > >
> > > >
> > >
> >
>
_______________________________________________________________________________
> >
> === message truncated ===

> ATTACHMENT part 2 application/octet-stream
name=make.log

> ATTACHMENT part 3 application/octet-stream
name=Makefile.h

> ATTACHMENT part 4 application/octet-stream
name=setup_call

> ATTACHMENT part 5 application/octet-stream
name=Modules

> ATTACHMENT part 6 application/octet-stream name=listing.log

Received on Fri Aug 13 17:38:34 2004

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