[ncl-talk] Ncl Installation Problem
Raja Sivaranjan
rajasivaranjan92 at gmail.com
Fri Oct 31 22:51:45 MDT 2014
Dear all,
I have built the ncl library using intel compilers.For this i have followed
the steps given in the link (
https://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-ncar-graphics-with-the-intel-compilers).
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.
This is my environment settings
export NCARG_ROOT=/usr/local/ncarg
export PATH=$NCARG_ROOT/bin:$PATH
export MANPATH=$NCARG_ROOT/man:$MANPATH
This the error i'm getting while running the commands
ncargex cpex08
NCAR Graphics Fortran Example <cpex08>
Copying cpex08.f
Copying cpexcc.f
Compiling and linking...
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
/usr/local/ncarg/lib/libncarg_gks.a(gziqwk.o): In function `gziqwk_':
gziqwk.f:(.text+0x18b): undefined reference to `ggkwdr_'
/usr/local/ncarg/lib/libncarg_gks.a(gztowk.o): In function `gztowk_':
gztowk.f:(.text+0x2b0): undefined reference to `ggkwdr_'
gztowk.f:(.text+0x6e7): undefined reference to `ggkwdr_'
gztowk.f:(.text+0xa8f): undefined reference to `ggkwdr_'
collect2: ld returned 1 exit status
The compile and link failed.
I kindly request to sort out this problem.i'm new to ncl.
Thanks in advance
with regards
Rajasivaranjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20141101/b9f14998/attachment.html
More information about the ncl-talk
mailing list