<div dir="ltr">Hai,<div>I appreciate all for giving me valuable suggestions to meet my requirement. In particular, I am much thankful to Mr. <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:nowrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Muhammad Yunus Ahmad Mazuki for your detailed explanation.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:nowrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:nowrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thanks again</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:nowrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Sreejith</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 16, 2018 at 10:02 AM, Muhammad Yunus Ahmad Mazuki <span dir="ltr"><<a href="mailto:ukm.yunus@gmail.com" target="_blank">ukm.yunus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">These are the steps I made for GrADS 2.2.1 in Ubuntu WSL. I skip some step<br>
like enabling WSL or installing VcXsrv.<br>
Download the GrADS 2.2.1 binary, CentOS-7.4 version. Download<br>
supplibs-centos7.4-x86_64.tar.<wbr>gz. Download data2.tar.gz. Unpack everything<br>
first.<br>
tar xvzf grads-2.2.1-bin-centos7.4-x86_<wbr>64.tar.gz<br>
tar xzvf supplibs-centos7.4-x86_64.tar.<wbr>gz<br>
mkdir data2<br>
tar xvfz data2.tar.gz -C data2<br>
<br>
Then copy some files into the system.<br>
sudo mkdir /usr/local/bin/grads<br>
cd<br>
cd Downloads/<br>
cd grads-2.2.1/<br>
cd bin/<br>
sudo cp * /usr/local/bin/grads/<br>
sudo mkdir /usr/local/lib/grads<br>
cd<br>
cd Downloads<br>
cd grads-2.2.1/<br>
cd lib<br>
sudo cp * /usr/local/lib/grads<br>
<br>
Now we copy the supplibs into system (I think its not proper Linux to do<br>
this, but we need to link some of the library here and user wont<br>
accidentally delete it compared to in Downloads)<br>
cd<br>
cd Downloads/<br>
cd supplibs/<br>
cd lib/<br>
sudo mkdir /usr/local/lib/grads/supplibs<br>
sudo cp -R * /usr/local/lib/grads/supplibs/<br>
<br>
Next make a file called udpt. This is the same as the example of the file<br>
in UDPT page.<br>
sudo pluma /usr/local/lib/grads/udpt<br>
In the new open window type the following:<br>
# Type     Name     Full path to shared object file<br>
# ----     ----     ------------------------------<wbr>-<br>
gxdisplay  Cairo    /usr/local/lib/grads/<wbr>libgxdCairo.so<br>
gxdisplay  X11      /usr/local/lib/grads/<wbr>libgxdX11.so<br>
gxdisplay  gxdummy  /usr/local/lib/grads/<wbr>libgxdummy.so<br>
*<br>
gxprint    Cairo    /usr/local/lib/grads/<wbr>libgxpCairo.so<br>
gxprint    GD       /usr/local/lib/grads/libgxpGD.<wbr>so<br>
gxprint    gxdummy  /usr/local/lib/grads/<wbr>libgxdummy.so<br>
save then exit<br>
<br>
Next is installing some libraries using apt-get<br>
sudo apt-get install libcurl4-openssl-dev libssl1.0.0 libssl-dev<br>
libjpeg62-dev libgeotiff-dev make build-essential libhdf5-dev libnetcdf-dev<br>
#there is also pluma nautilus and chromium-browser, but that's because the<br>
Ubuntu WSL is a server install (barebone)<br>
#There might be other library needed, but since they might be installed due<br>
to installing pluma, nautilus, and chromium-browser. It should not be a<br>
problem. Just install them through apt-get.<br>
sudo ln -s /lib/x86_64-linux-gnu/libssl.<wbr>so.1.0.0 /usr/lib/libssl.so.10<br>
sudo ln -s /lib/x86_64-linux-gnu/<wbr>libcrypto.so.1.0.0 /usr/lib/libcrypto.so.10<br>
<br>
Now we link library built from GrADS website (some of the supplibs file)<br>
sudo ln -s /usr/local/lib/grads/supplibs/<wbr>libpng15.so.15 /usr/lib/<br>
sudo ln -s /usr/local/lib/grads/supplibs/<wbr>libnetcdf.so.7 /usr/lib/<br>
<br>
Remember to edit .bashrc or Ubuntu will keep asking to install grads<br>
through apt-get.<br>
cd<br>
pluma .bashrc<br>
Add these line to the bottom of .bashrc<br>
export<br>
PATH=”usr/local/bin/grads:/<wbr>usr/local/sbin:/usr/local/bin:<wbr>/usr/sbin:/usr/bin:/sbin:/bin:<wbr>/usr/games:/usr/local/games”<br>
<br>
Then source .bashrc<br>
cd<br>
source .bashrc<br>
<span class="HOEnZb"><font color="#888888"><br>
Yunus<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, May 15, 2018 at 11:10 PM Jennifer M Adams <<a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>> wrote:<br>
<br>
> For version 2.2, I created an updated supplibs page:<br>
<a href="http://cola.gmu.edu/grads/gadoc/supplibs2.html" rel="noreferrer" target="_blank">http://cola.gmu.edu/grads/<wbr>gadoc/supplibs2.html</a><br>
<br>
> The 2.2.1 build is dynamically linked, which affects portability. If you<br>
need to install the supplibs locally, you may find what you’re looking for<br>
here: <a href="ftp://cola.gmu.edu/grads/Supplibs/2.2/builds/" rel="noreferrer" target="_blank">ftp://cola.gmu.edu/grads/<wbr>Supplibs/2.2/builds/</a>.<br>
<br>
> You might also have better success using the 2.2.0 build executables,<br>
which are (mostly) statically linked.<br>
<br>
> —Jennifer<br>
<br>
<br>
> > On May 15, 2018, at 9:29 AM, Krishnakumar AP <<a href="mailto:krishnaap7@gmail.com">krishnaap7@gmail.com</a>><br>
wrote:<br>
> ><br>
> > I don't know whether this is helpful or not. But still if you face<br>
particular issue like changing environmental variables or something you can<br>
refer this ( <a href="http://cola.gmu.edu/grads/gadoc/supplibs.html" rel="noreferrer" target="_blank">http://cola.gmu.edu/grads/<wbr>gadoc/supplibs.html</a> ). I am also<br>
trying to do the same thing in my ubuntu 15.04. Let's see, all the best.<br>
> ><br>
> > On Tue, May 15, 2018 at 5:00 PM, Brian Doty <<a href="mailto:grads@gradsdev.com">grads@gradsdev.com</a>> wrote:<br>
> > I am setting up an ubuntu system for working on grads at home, so I am<br>
also looking for any advice the forum can offer. I have a general idea of<br>
how to proceed (install or build the supplibs, then use the configure<br>
script to build grads from source), but I cannot offer any specific<br>
suggestions right now.  I'll keep you updated as I attempt my ubuntu build,<br>
but it likely will be a month or two before I get to it... Brian<br>
> ><br>
> > > On May 11, 2018 at 5:13 AM "Sreejith k.s" <<a href="mailto:jithu9907@gmail.com">jithu9907@gmail.com</a>> wrote:<br>
> > ><br>
> > ><br>
> > > Hai,<br>
> > ><br>
> > > I am using GrADS version 2.0.1 in linux (ubuntu 16.04) environment.<br>
> > > Recently i found that latest version of GrADS (2.1+) has more inbuilt<br>
> > > functions. But when I tried to install GrADS 2.2, I am facing lot of<br>
> > > difficulties.<br>
> > ><br>
> > > Can anyone help me with a systematic flowchart to install GrADS 2.2 in<br>
> > > ubuntu 16.04.<br>
> > ><br>
> > > Any suggestion in this regard will of great help for me.<br>
> > ><br>
> > > Thanks<br>
> > > Sreejith<br>
> > > ______________________________<wbr>_________________<br>
> > > gradsusr mailing list<br>
> > > <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> > > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
> > ______________________________<wbr>_________________<br>
> > gradsusr mailing list<br>
> > <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> ><br>
> > Best regards<br>
> > Krishnakumar.AP<br>
> ><br>
> > ______________________________<wbr>_________________<br>
> > gradsusr mailing list<br>
> > <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> ><br>
<a href="http://secure-web.cisco.com/1NPYARLH4htSEmaOOXPtNDZb2NUxE9VTw2vncC8u7sanSOTCqCldM73tCRjy4vkf5VOf-B51o3HKtt2HZIHe5UKu0XTND6ADfd4o7Ch5RW0BQmIDn67YlUYy7Z67KTU2ORs5Y3h1LY2bPBk81hTOEWbddNqGS82-kWCgUe6e_xvtDp65xB3BO5eEspsFEG3i484yuN1y6o3Q7WvCnH-tpjAIuE6RhcUPNB6dbYSX7jlYVD7CtzK1QvSxdpkkPYze2uLCasJVx6kaQtKDa4V2rY-JMAn32GOzo2cOLwPeGzqhbgZOgzrKLMvB1Ei2lZ04dFnzOEJiMYUtYH-SsB9XmoNizwyYpzamVhDkrJA0oZdMQc1ETSuAwf17PWe2oFICGzT9zKvYbFl3agJ159zv1p-HIFwDWuNeI7ZfZ4PF5BZ74VKYMOAX5glAqXreTqACu/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr" rel="noreferrer" target="_blank">http://secure-web.cisco.com/<wbr>1NPYARLH4htSEmaOOXPtNDZb2NUxE9<wbr>VTw2vncC8u7sanSOTCqCldM73tCRjy<wbr>4vkf5VOf-<wbr>B51o3HKtt2HZIHe5UKu0XTND6ADfd4<wbr>o7Ch5RW0BQmIDn67YlUYy7Z67KTU2O<wbr>Rs5Y3h1LY2bPBk81hTOEWbddNqGS82<wbr>-kWCgUe6e_<wbr>xvtDp65xB3BO5eEspsFEG3i484yuN1<wbr>y6o3Q7WvCnH-<wbr>tpjAIuE6RhcUPNB6dbYSX7jlYVD7Ct<wbr>zK1QvSxdpkkPYze2uLCasJVx6kaQtK<wbr>Da4V2rY-<wbr>JMAn32GOzo2cOLwPeGzqhbgZOgzrKL<wbr>MvB1Ei2lZ04dFnzOEJiMYUtYH-<wbr>SsB9XmoNizwyYpzamVhDkrJA0oZdMQ<wbr>c1ETSuAwf17PWe2oFICGzT9zKvYbFl<wbr>3agJ159zv1p-<wbr>HIFwDWuNeI7ZfZ4PF5BZ74VKYMOAX5<wbr>glAqXreTqACu/http%3A%2F%<wbr>2Fgradsusr.org%2Fmailman%<wbr>2Flistinfo%2Fgradsusr</a><br>
<br>
> --<br>
> Jennifer Miletta Adams<br>
> Center for Ocean-Land-Atmosphere Studies (COLA)<br>
> George Mason University<br>
<br>
<br>
<br>
<br>
> ______________________________<wbr>_________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">K. S. SREEJITH  <br>CSIR-JRF, Ph.d Scholar<br>Centre for Ocean, River, Atmosphere and Land Sciences <br>Indian Institute of Technology, Kharagpur<br>West Bengal<br></div>
</div>