[FLASH-USERS] Fwd: what should I give for linker base in mpif90 script?

From: Victor Shum <vshum12@pacbell.net>
Date: Wed Aug 11 2004 - 20:38:30 CDT

Hi,

Also, I was announcing the successful compilation too
early since I actually got a lot of these no action
performed warnings (excerpted):

mpif90 -c -fast -r8 -i4 -DN_DIM=2 -DMAXBLOCKS=1000
-DNXB=8 -DNYB=8 -DNZB=1 tstep_ioniz.F90
ifort: Command line warning: no action performed for
specified file(s)
mpif90 -c -fast -r8 -i4 -DN_DIM=2 -DMAXBLOCKS=1000
-DNXB=8 -DNYB=8 -DNZB=1 init_src.F90
ifort: Command line warning: no action performed for
specified file(s)
mpif90 -c -fast -r8 -i4 -DN_DIM=2 -DMAXBLOCKS=1000
-DNXB=8 -DNYB=8 -DNZB=1 stir.F90

Could it be that the ifort compiler still can't
recognize the f90 files ?

Thanks for your attention!

I have also attached my mpif90 file and the
Makefile.h under the FLASH2.3/object dir for your
examination.

Bst,
Victor

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

> Date: Wed, 11 Aug 2004 18:32:41 -0700 (PDT)
> From: Victor Shum <vshum12@pacbell.net>
> Subject: Fwd: what should I give for linker base in
> mpif90 script?
> To: sheeler@flash.uchicago.edu,
> flash-users@flash.uchicago.edu
>
>
>
>
> If I specify the linker base to be xild under the
> /opt/intel_fc_80/bin/xild
> I can compile further but it gave a fatal error at
> the
> end:
>
> IPO: using IR for visualization.o
> IPO: using IR for buildstamp.o
> IPO: using IR for flash_release.o
> IPO: using IR for buildstats.o
> IPO: using IR for flashModules.o
> IPO: performing multi-file optimizations
> xild: error: Fatal error in
> /opt/intel_fc_80/bin/fortcom, terminated by
> segmentation violation
> xild: error: problem during multi-file optimization
> compilation (code 1)
> make[1]: *** [flash2] Error 1
> make[1]: Leaving directory
> `/usr/src/FLASH2.3/object'
> make: *** [default] Error 2
>
>
> Any clue as to what that is ?
>
> Many Thanks!
> -Vic
>
> --- Victor Shum <vshum12@pacbell.net> wrote:
>
> > Date: Wed, 11 Aug 2004 17:32:09 -0700 (PDT)
> > From: Victor Shum <vshum12@pacbell.net>
> > Subject: Fwd: what should I give for linker base
> in
> > mpif90 script?
> > To: sheeler@flash.uchicago.edu,
> > flash-users@flash.uchicago.edu
> >
> >
> >
> > Hi,
> >
> >
> > If I specified the base dir in mpif90 as
> > /opt/intel_fc_80/bin/ifc or ifort then the error
> I
> > mentioned was gone but another error msg comes up:
>
> >
> > buildstats.o flashModules.o -L
> > /usr/src/hdf5-1.4.3/src/ -lhdf5
> > /usr/bin/ld:Cosmology.o: file format not
> recognized;
> > treating as linker script
> > /usr/bin/ld:Cosmology.o:1: parse error
> > make[1]: *** [flash2] Error 1
> > make[1]: Leaving directory
> > `/usr/src/FLASH2.3/object'
> > make: *** [default] Error 2
> >
> > Any clue to what I have done wrong?
> >
> > Many Thanks!
> >
> > -Vic
> >
> >
> > --- Victor Shum <vshum12@pacbell.net> wrote:
> >
> > > Date: Wed, 11 Aug 2004 17:21:42 -0700 (PDT)
> > > From: Victor Shum <vshum12@pacbell.net>
> > > Subject: Fwd: what should I give for linker base
> > in
> > > mpif90 script?
> > > To: sheeler@flash.uchicago.edu,
> > > flash-users@flash.uchicago.edu
> > >
> > >
> > > Hi,
> > >
> > > I should have included the first line of the
> error
> > > msg
> > > in my previous msg, here it is:
> > >
> > > buildstamp.o flash_release.o buildstats.o
> > > flashModules.o -L /usr/src/hdf5-1.4.3/src/
> -lhdf5
> > > /usr/src/mpich-1.2.5.2/src/fortran/src/mpif90:
> > line
> > > 1:
> > > /opt/intel_fc_80/lib: is a directory
> > > make[1]: *** [flash2] Error 126
> > > make[1]: Leaving directory
> > > `/usr/src/FLASH2.3/object'
> > > make: *** [default] Error 2
> > >
> > >
> > > --- Victor Shum <vshum12@pacbell.net> wrote:
> > >
> > > > Date: Wed, 11 Aug 2004 17:18:16 -0700 (PDT)
> > > > From: Victor Shum <vshum12@pacbell.net>
> > > > Subject: what should I give for linker base in
> > > > mpif90 script?
> > > > To: sheeler@flash.uchicago.edu,
> > > > flash-users@flash.uchicago.edu
> > > >
> > > >
> > > >
> > > > Hi,
> > > >
> > > > I had successfully done the compiling of
> > flash2.2
> > > > setting the mpif90 compiler base to the
> > > > /opt/<intel>/bin/ifc command.
> > > >
> > > > Now after I've installed the hdf5 libraries
> and
> > > > remake
> > > > flash, at the linking part I got the error:
> > > >
> > > > /usr/src/mpich-1.2.5.2/src/fortran/src/mpif90:
> > > line
> > > > 1:
> > > > /opt/intel_fc_80/lib: is a directory
> > > > make[1]: *** [flash2] Error 126
> > > > make[1]: Leaving directory
> > > > `/usr/src/FLASH2.3/object'
> > > > make: *** [default] Error 2
> > > >
> > > >
> > > > What should I give as the script for the
> linker
> > > base
> > > > (I guess /opt/<fortran>/bin/?? ) ?
> > > >
> > > > Thanks for your help!!
> > > >
> > > > Bst,
> > > > Victor Shum
> > > > SJSU CEST-E
> > > >
> > > >
> > >
> > >
> >
> >
>
>

Received on Wed Aug 11 20:43:25 2004

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