<div dir="ltr"><div class="gmail_default" style="font-size:small">Raja,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As Kyle stated, it is better to post installation questions to ncl-install, which you need to subscribe to just like you did ncl-talk.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br></div><div class="gmail_default" style><br></div><div class="gmail_default" style>It looks like your GKS library did not get completely built. This would cause "ncl" to not get built, and the "ncargex cpex08" example to fail.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>The GKS library can fail to build for several reasons. The most likely reason is that it has some cairo dependencies, and if you don't have the cairo libraries installed on your system or if the NCL build couldn't find them, then the GKS library will fail to build.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>To search for the root of the problem, you can open the "make-output" file from your build using a UNIX editor, and search for the word "error". Or, even better, you can search for "No such file or directory" as this will help you find any compilation errors where it couldn't find some required header file.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>--Mary</div><div class="gmail_default" style><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 31, 2014 at 10:51 PM, Raja Sivaranjan <span dir="ltr"><<a href="mailto:rajasivaranjan92@gmail.com" target="_blank">rajasivaranjan92@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Dear all,<br><br>I have built the ncl library using intel compilers.For this i have followed the steps given in the link (<a href="https://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-ncar-graphics-with-the-intel-compilers" target="_blank">https://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-ncar-graphics-with-the-intel-compilers</a>).
The build has completed successfully and i try to run the example
program mentioned in the link. It is not working and also when i try to
run the ncl command it's showing that bash:ncl command not found.<br><br></div>This is my environment settings<br><br><span style="color:rgb(255,255,0)"><span style="background-color:rgb(255,0,0)"><span style="color:rgb(0,0,0)"><span style="background-color:rgb(255,255,0)">export NCARG_ROOT=/usr/local/ncarg<br>export PATH=$NCARG_ROOT/bin:$PATH<br>export MANPATH=$NCARG_ROOT/man:$MANPATH<span></span></span></span><br></span></span><br></div>This the error i'm getting while running the commands<br><br>ncargex cpex08<br><br>NCAR Graphics Fortran Example <cpex08><br><br> Copying cpex08.f<br><br> Copying cpexcc.f<br><br><span style="background-color:rgb(255,255,0)">Compiling and linking...<br>gfortran
-fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o cpex08
cpexcc.f cpex08.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg
-lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1
-lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2<br>/usr/local/ncarg/lib/libncarg_gks.a(gziqwk.o): In function `gziqwk_':<br>gziqwk.f:(.text+0x18b): undefined reference to `ggkwdr_'<br>/usr/local/ncarg/lib/libncarg_gks.a(gztowk.o): In function `gztowk_':<br>gztowk.f:(.text+0x2b0): undefined reference to `ggkwdr_'<br>gztowk.f:(.text+0x6e7): undefined reference to `ggkwdr_'<br>gztowk.f:(.text+0xa8f): undefined reference to `ggkwdr_'<br>collect2: ld returned 1 exit status<br><br>The compile and link failed.</span><br><br></div> I kindly request to sort out this problem.i'm new to ncl.<br><br></div>Thanks in advance<br></div>with regards<br></div><div>Rajasivaranjan<br></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>