<div>hi Li,<br></div><div><br></div><div>Here is the procedure which i am following in linux,. Hope it will help you</div><div><br></div><div>if you are using linux 32bit OS<br><br>download PC(i386) Linux (32bit) from<br>
<br><a href="http://www.atmos.ucla.edu/~munnich/Grads/EOF/">http://www.atmos.ucla.edu/~munnich/Grads/EOF/</a><br><br><br><br>open teminal then gedit .bashrc (your bash file)<br><br>your gradspath (where grads is installed) may be (eg: /home/alice/grads )<br>
<br><br>export GRADS="/home/your_home/grads"<br>export GADDIR="/home/your_home/grads/data"<br>export GASCRP="/home/your_home/grads/lib"<br>PATH=${PATH}:$GRADS/bin<br><br>put the following line<br>
<br>export GAUDFT="/home/your_home/grads/udft.txt"<br><br>then it will become<br><br>export GRADS="/home/your_home/grads"<br>export GADDIR="/home/your_home/grads/data"<br>export GASCRP="/home/your_home/grads/lib"<br>
export GAUDFT="/home/your_home/grads/udft.txt"<br>PATH=${PATH}:$GRADS/bin<br><br>before the last line ( that is PATH=${PATH}:$GRADS/bin)<br><br>save and exit bashrc<br><br>then copy the eofudf file from the extracted directory to your grads folder.<br>
<br>then create a blank file called udft.txt inside your grads folder. then add<br>the following lines to it<br><br><br>eofudf 2 6 expr value value value value char<br>sequential<br>/your/path/to/eofudf <-- Your path to the eofudf executable<br>
<a href="http://eofudf.in">eofudf.in</a><br>eofudf.out<br><br>here set the /your/path/to/eofudf as</div><div>/home/your_home/grads/eofudf (where you have copied eofudf)</div><div>then it will become excatly in format (dont change the order)<br>
<br>eofudf 2 6 expr value value value value char<br>sequential<br>/home/your_home/grads/eofudf<br><a href="http://eofudf.in">eofudf.in</a><br>eofudf.out<br><br>then as root copy the library file libcxa.so.3 to /usr/lib<br>
from treminal from the extracted folder (ie: cp libcxa.s0.3 /usr/lib)</div><div><br>go to /usr/lib and change its permission with chmod (ie chmod 777 libcxa.so.3)(this is important)<br><br>now exit from root<br><br>either open a new terminal otherwise in current terminal give command:<br>
source /home/your_home/.bashrc<br><br>now open grads and open your data. then type command: q udft<br>if it is properly installed it will give something like<br><br><br><br>eofudf Args: 2 6 Exec: /home/your_home/grads/eofudf<br>
<br>done...........................<br><br>now set you time (eg: set t 1 20)<br><br>set your lat and lon<br><br>then type eof your_variable<br><br><br>it will display and create some output files as ctl and data files which you can open with grads.<br>
<br>***************************************************<br></div><div><br></div><div><br></div><div>-- <br>Krishnamohan.K.S<br>Junior Research Fellow<br>Department Of Atmospheric Sciences<br>Cochin University of Science and Technology<br>
Cochin,India</div><div><br></div><br><div class="gmail_quote">On Wed, Sep 1, 2010 at 3:47 PM, Mxing LI <span dir="ltr"><<a href="mailto:limxing@gmail.com">limxing@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hi, all<br>I downloaded the EOF package (<a href="http://www.atmos.ucla.edu/~munnich/Grads/EOF/" target="_blank">http://www.atmos.ucla.edu/~munnich/Grads/EOF/</a>), after configured enviroment variables, run eof u in GrADS command line. some errors show as following, who can tell me what is wrong. please!<br>
<br>Writing data to transfer file...<br> Executing eofudf binary ...<br> <br>Syntax Error: Invalid Operand <br> 'eofudf' not a variable or function name<br> Error ocurred at column 1<br>DISPLAY error: Invalid expression <br>
Expression = eofudf(sm,696,12,-1,70,sm_)<br> <a href="http://eof.gs" target="_blank">eof.gs</a>: First call of eofudf returned Error. STOP<br><br style="color:rgb(51, 102, 255)">
<br>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br><br>