<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>