¦ ^ Î ` ¡G [Fwd: Re: eofgrads]

Dr. Parthasarathi Mukhopadhyay mpartha at TROPMET.RES.IN
Wed Nov 1 08:59:04 EST 2006


Hello Dr. Dongdong,
It looks that you are using the options for linux. You may have to choose the FFLAGS and
LDFLAGS -O
The Makefile that I have used is as follows:
# defaults
FC=f90
FFLAGS=-O
LDFLAGS=-O

# double precision
#FFLAGS=-O -N113
#LDFLAGS=-O -N113

#Intel f90
#FC=ifc

#AIX
#FC=xlf

#FFLAGS=-O -w -axW # Intel ifc + P4 processor
#LDFLAGS=-O -w -axW # Intel ifc + P4 processor


eofudf: eofudf.o eispacks.o
        $(FC) $(LDFLAGS) -o eofudf eofudf.o eispacks.o
jeofudf: jeofudf.o eispacks.o
        $(FC) $(LDFLAGS) -o jeofudf jeofudf.o eispacks.o

clean:
        rm -f eofudf eofudf.o *.mod eispacks.o *.d
.f.o:
        $(FC) $(FFLAGS) -c $<

Try the above.
Good luck
Parthasarathi
---------------
On Tue, 31 Oct 2006 21:53:14 +0800, dongdong wrote
> Hi Dr.Parthasarathi,
> I download the source code and recompile. there are warnings when i do "make".
> chdd at weather:/weather4/chdd/program.eofgrads/eofgrads_v0155/src> make
> ifort -O -w -axW  -c eofudf.f
> ifort: Command line warning: ignoring unknown option '-axW'
> ifort -O -w -axW  -c eispacks.f
> ifort: Command line warning: ignoring unknown option '-axW'
> ifort -O -w -axW  -o eofudf eofudf.o eispacks.o
> ifort: Command line warning: ignoring unknown option '-axW'
>
> and the executable "eofudf" doesn't work too.
> ga-> eof zprs
>       Writing data to transfer file...
>       Executing eofudf binary ...
> sh: line 1: /climate4/chdd/GrADS/UDF/eofudf: No such file or directory
> Error from eofudf: Error opening transfer file
>   File name: eofudf.out
> Operation Error:  Error from eofudf function
>   Error ocurred at column 1
> DISPLAY error:  Invalid expression
>   Expression = eofudf(zprs,12,12,-1,70,zprs_)
>    eof.gs: First call of eofudf returned Error. STOP
>
> But the eof_in.gad and eofudf.in have been created.
>
> Can you give me some suggestions?  Thanks a lot!
>
> Best Regards,
>
> Dongdong
>
> ----- ԭʼÓʼþ ----
> ·¢¼þÈË£º Dr. Parthasarathi Mukhopadhyay <mpartha at TROPMET.RES.IN>
> ÊÕ¼þÈË£º GRADSUSR at LIST.CINECA.IT
> ÒÑ·¢ËÍ£º 2006/11/1(ÖÜÈý), ÉÏÎç4:44:26
> Ö÷Ì⣺ Re: [Fwd: Re: eofgrads]
>
> Hi Matt,
> I am thankful to you. The EOF has worked in our SGI machine. We have initially
> not succedded by using the eofudf executable that comes with the tar file, we
> downloaded the source code and recompile and use the executable created and
> that runs OK. Thanks for your help. Parthasarathi
> -------------------------
> On Fri, 27 Oct 2006 12:08:15 -0700, Matthias Munnich wrote
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Seems like you did not get this message.
> >
> > ... Matt
> >
> > - -------- Original Message --------
> > From: - Fri Oct 27 11:40:41 2006
> > X-Mozilla-Status: 0001
> > X-Mozilla-Status2: 00000000
> > Message-ID: <453EE35C.6020406 at atmos.ucla.edu>
> > Date: Tue, 24 Oct 2006 21:09:00 -0700
> > From: Matthias Munnich <munnich at atmos.ucla.edu>
> > User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
> > X-Accept-Language: en-us, en
> > MIME-Version: 1.0
> > To: dongdong <happydong365.student at sina.com>
> > Subject: Re: eofgrads
> > References: <000801c6f779$5753a1c0$e1441fd2 at CHDD>
> > In-Reply-To: <000801c6f779$5753a1c0$e1441fd2 at CHDD>
> > X-Enigmail-Version: 0.90.2.0
> > X-Enigmail-Supports: pgp-inline, pgp-mime
> > Content-Type: text/plain; charset=GB2312
> > Content-Transfer-Encoding: 7bit
> >
> > Hi ChenDongDong!
> >
> > Your error message suggests that eofudf is not
> > properly registered as a UDF. Check if
> >
> > ga-> q udft
> >
> > returns something like
> >
> > eofudf Args: 2 6 Exec: /climate4/chdd/GrADS/UDF/eofudf
> >
> > If not, your environment variable GAUDFT is not
> > recognized by GrADS. Maybe you need to use
> > ~/.profile instead of ~/.bash_profile on SGIs and you need to do
> >
> > GAUDFT=/weather4/chdd/GrADS/udft
> > export GAUDFT
> >
> > in your .profile for your local default shell? Sorry I never used
> > SGIs but a local sys admin should be able to help you set the
> > environment variables correctly.
> >
> > I hope this helps!
> >
> > ... Matt
> >
> > dongdong wrote:
> >
> > > Hello Munnich, Thank you very much for your work of eofgrads! I
> > > tried to install this
> > tool to compute eof in GrADS,but it warns me with " 'eofudf' not a
> > variable or function name " I am a fresh man to Grads, Can you give me
> > some suggestion? Thank you!
> > > my steps are: 1. Our machine is SGI,so i download
> > > eofgrads_sgi.tar.gz and unpack it at
> > my home path
> > > 2. follow your suggested insallation chdd at weather:~> pwd
> > > /weather4/chdd/ chdd at weather:~> tar -zxvf eofgrads_sgi.tar.gz
> > > chdd at weather:~> mkdir -p GrADS/GrADSscript chdd at weather:~> cp
> > > eof.gs GrADS/GrADSscript chdd at weather:~> mkdir -p GrADS/UDF
> > > chdd at weather:~> cp eofudf GrADS/UDF chdd at weather:~> cd GrADS
> > > chdd at weather:~> vi udft eofudf 2 6 expr value value value value
> > > char sequential /climate4/chdd/GrADS/UDF/eofudf
> > > /climate4/chdd/GrADS/UDF/eofudf.out
> > > /climate4/chdd/GrADS/UDF/eofudf.in chdd at weather:~> vi .bash_profile
> > > export GASCRP=/weather4/chdd/GrADS/GrADSscript/ export
> > > GAUDFT=/weather4/chdd/GrADS/udft export
> > > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib
> > >
> > > 3. Do eof analysis in GrADS After opening file and setting areas, I
> > > signed "eof qprs". GrADS warns
> > me of not knowing eofudf. My steps are below:
> > > ga-> q file File 1 : data.uvq.ERA/q%y4.grb Descriptor: q.ctl
> > > Binary: data.uvq.ERA/q%y4.grb Type = Gridded Xsize = 144 Ysize = 73
> > > Zsize = 23 Tsize = 540 Number of Variables = 1 qprs 23 133 **
> > > Specific humidity kg kg**-1 ga-> ga-> q dim Default file number is:
> > > 1 X is varying Lon = 70 to 140 X = 29 to 57 Y is varying Lat = 0
> > > to 60 Y = 37 to 61 Z is fixed Lev = 1000 Z = 1 T is varying Time =
> > > 00Z01SEP1957 to 00Z01AUG1958 T = 1 to 12 ga-> ga-> eof qprs Writing
> > > data to transfer file... Executing eof binary ...
> > >
> > > Syntax Error: Invalid Operand 'eofudf' not a variable or function
> > > name Error ocurred at column 1 DISPLAY error: Invalid expression
> > > Expression = eofudf(qprs,12,12,-1,70,qprs_) eof.gs: First call of
> > > eofudf returned Error. STOP ga->
> > >
> > > I am sorry for bothing you. Can you help me ? Thank you in advance.
> > >
> > >
> > >
> > > Best Regards, ChenDongDong
> > >
> >
> > - --
> > - --------------------------------
> > Matthias Munnich
> > Univ. of California, Los Angeles
> > Inst. of Geophysics and Planetary Physics
> > 3845 Slichter Hall
> > Los Angeles, CA 90095-1567
> > Phone: +1-310-794 5899
> > Fax: +1-310-206 3051
> > Email: munnich at atmos.ucla.edu
> > - --------------------------------
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.2.2 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFFQlkfidaDTh/cfhYRAlhWAKD7sk3ksixSjmVF9buvRAvNZ29FzgCgyqR2
> > oPDY/WRsd8WtF8DMgNBvcS0=
> > =bhAT
> > -----END PGP SIGNATURE-----
>
> ------
> DR. PARTHASARATHI MUKHOPADHYAY
> Scientist B
> Forecasting Research Division
> Indian Institute of Tropical Meteorology
> Dr. Homi Bhabha Road
> Pashan
> Pune-411008
> INDIA
>
> Telephone:+91 20 25893600 (Office)
>           +91 20 25899737 (Residence)
> FAX       +91 20 25893825 (Office)
> Email:mpartha at tropmet.res.in
>       mpartha_in at yahoo.com
> -----------------------------
>
> ___________________________________________________________
> Mp3·è¿ñËÑ-иèÈȸè¸ßËÙÏÂ
> http://music.yahoo.com.cn/?source=mail_mailbox_footer


------
DR. PARTHASARATHI MUKHOPADHYAY
Scientist B
Forecasting Research Division
Indian Institute of Tropical Meteorology
Dr. Homi Bhabha Road
Pashan
Pune-411008
INDIA

Telephone:+91 20 25893600 (Office)
          +91 20 25899737 (Residence)
FAX       +91 20 25893825 (Office)
Email:mpartha at tropmet.res.in
      mpartha_in at yahoo.com
-----------------------------



More information about the gradsusr mailing list