Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

error in configuring RIP

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

pegahfar

New member
I need RIP to postprocess WRF-NMM outputs.
when I use "./configure", the result is as below
=====================


-----------------------------------------------------------------------
Configuration successful. To build RIP4, type: compile
------------------------------------------------------------------------

Testing compatability of compiler and libraries
COMPILER is gfortran
LOCAL_LIBS are -L/usr/lib64 -lX11 # -L/usr/X11R6/lib64 -lX11
NCARGLIBS are -L${NCARG_ROOT}/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc

The Fortran compiler, gfortran is not consistent with the version of NCAR Graphics.
=======================================
I used "yum install gcc-gfortran"
"yum install netcdf"
"yum install netcdf-devel"
"yum install ncl"
I also modified "configure.default" file (local_libs : -L/usr/lib64 -lx11)

I intensively appreciate if any one help me.
I am not expert in linux.

please help me to solve this problem.
 
Hi,
It could be possible that you either have a version of NCAR Graphics previously built on your system, that was built with a different version of gfortran, or perhaps that you have not set your NCAR Graphics path. If you issue:
Code:
echo $NCARG_ROOT
does it provide a path?

1) If so, is this the path to the currently-built version of NCL (which should include an NCAR Graphics package)?
2) If not, you will need to set that path (see https://www2.mmm.ucar.edu/wrf/users/docs/user_guide_v4/v4.0/users_guide_chap9.html#RIP
 
Hi,
Thank you for your kindly attention.
In fact I installed NCAR using NCL pack, vi "yum install ncl".
I used your suggestion and resrtarted the compilation atep by step.
1. export NCARG_ROOT=/usr/lib64/ncarg
2. ./clean
3. change file of configure.default
LOCAL_LIBS = -L/usr/X11R6/lib64 -lx11 /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lgcc -lg2c
4. ./configure
resulted in
================================================
Using NCAR Graphics in /usr/lib64/ncarg
Will use NETCDF in dir: /home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf
sw_ncarg_version = 6
library = -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc
------------------------------------------------------------------------
Please select from among the following supported platforms.

1. PC Linux i486 i586 i686 x86_64, PGI compiler
2. PC Linux i486 i586 i686 x86_64, g95 compiler
3. PC Linux i486 i586 i686 x86_64, gfortran compiler
4. PC Linux i486 i586 i686 x86_64, Intel compiler

Enter selection [1-4] : 3
------------------------------------------------------------------------
Configuration successful. To build RIP4, type: compile
------------------------------------------------------------------------

Testing compatability of compiler and libraries
COMPILER is gfortran
LOCAL_LIBS are -L/usr/X11R6/lib64 -lX11 /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lgcc -lg2c
NCARGLIBS are -L${NCARG_ROOT}/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc

The Fortran compiler, gfortran is not consistent with the version of NCAR Graphics.
================================================
5. change configure.rip file
NETCDFLIB = -L${NETCDF}/lib -lnetcdff -lnetcdf
6. ./compile 2>&1 | tee peg_compile.log
these resulted to:
====================================================

**** Compiling rip ****

gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c addorfill.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c adjellip.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c angle.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c barb.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c bes.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c bogs.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c brnshr.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c bshear.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c bvfricalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c capecalc3d.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c ceilingcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c colram.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c colrln.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c condheat.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c contrive2.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c cpchhl.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c cpchll.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c cpcolr.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c cpmpxy.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c createdtg.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c cttcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c dbzcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include refmos2calc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include refmos3calc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c ddpcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c ddx.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c ddy.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c derivc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c drawcl.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getpt.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c driver.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c egridfill.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c eqthecalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c extingcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c fields.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c fillarray.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c finterp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c finterp2d.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c fregcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c frtitle.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c fx.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c fy.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getbasicvars.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getbasicvars_newdom.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getchar.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getconvals.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getdash.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getdims.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getheadinfo.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getheadinfo_newdom.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getinum.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getminfo.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getrnum.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c gettimes.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getvar.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c getvarinfo.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hboxdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hbulldraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hchadraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hcondraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hiresmap.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hlinedraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hmapdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hodograph.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hsidsdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hstrdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hticdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c htrajdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c hvecdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c igetcoind.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c lennonblank.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c liftparcel.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c locinterp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c maptform.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c maptick.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c mconvert.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c mktrjpts.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c mlen.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c monotonic.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c netasc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c numeric.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c omgcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c pfcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c pltitle.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c prcver.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c precprob.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c premaptform.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c profil.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c profvelcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c pvocalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c qgomg.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c rdcolt.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c readspec.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c relhl.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c rhucalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c ricalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c rip.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c rotipslab.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c rotpslab.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c sateqthecalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c saweli.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c scondraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c seaprs.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c setripheader.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c smooth.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c smoothcp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c smoothcz.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c smoothrain.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c srflow.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c srflow2.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c sstats.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c sticdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c sticdraw_polar.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c svecdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c tdpcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c trop.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c refalt.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c lifted_index.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c tfpcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c thecalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c tonpsadiabat.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c tserprep.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c turb.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c typhoon.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c unblank.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vbardraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vc2dcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vcondraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c velbrb.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c velvctmts.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vgp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vinterp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c virtual.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c virtualhyd.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c viscalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vticdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vtrajdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vvecdraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c vwinddraw.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c wdircalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c wetbulbcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c writefile.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c wspcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c xmapcalc.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c xtodot.f
/bin/rm -f binio.o
gcc -I. -DLITTLE -DUNDERSCORE -c -c binio.c
/bin/rm -f v5d.o
gcc -I. -DLITTLE -DUNDERSCORE -c -c v5d.c
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c rotate_earth2comp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o rip addorfill.o adjellip.o angle.o barb.o bes.o bogs.o brnshr.o bshear.o bvfricalc.o capecalc3d.o ceilingcalc.o colram.o colrln.o condheat.o contrive2.o cpchhl.o cpchll.o cpcolr.o cpmpxy.o createdtg.o cttcalc.o dbzcalc.o refmos2calc.o refmos3calc.o ddpcalc.o ddx.o ddy.o derivc.o drawcl.o driver.o egridfill.o eqthecalc.o extingcalc.o fields.o fillarray.o finterp.o finterp2d.o fregcalc.o frtitle.o fx.o fy.o getbasicvars.o getbasicvars_newdom.o getchar.o getconvals.o getdash.o getdims.o getheadinfo.o getheadinfo_newdom.o getinum.o getminfo.o getpt.o getrnum.o gettimes.o getvar.o getvarinfo.o hboxdraw.o hbulldraw.o hchadraw.o hcondraw.o hiresmap.o hlinedraw.o hmapdraw.o hodograph.o hsidsdraw.o hstrdraw.o hticdraw.o htrajdraw.o hvecdraw.o igetcoind.o lennonblank.o liftparcel.o locinterp.o maptform.o maptick.o mconvert.o mktrjpts.o mlen.o monotonic.o netasc.o numeric.o omgcalc.o pfcalc.o pltitle.o prcver.o precprob.o premaptform.o profil.o profvelcalc.o pvocalc.o qgomg.o rdcolt.o readspec.o relhl.o rhucalc.o ricalc.o rip.o rotipslab.o rotpslab.o sateqthecalc.o saweli.o scondraw.o seaprs.o setripheader.o smooth.o smoothcp.o smoothcz.o smoothrain.o srflow.o srflow2.o sstats.o sticdraw.o sticdraw_polar.o svecdraw.o tdpcalc.o trop.o refalt.o lifted_index.o tfpcalc.o thecalc.o tonpsadiabat.o tserprep.o turb.o typhoon.o unblank.o vbardraw.o vc2dcalc.o vcondraw.o velbrb.o velvctmts.o vgp.o vinterp.o virtual.o virtualhyd.o viscalc.o vticdraw.o vtrajdraw.o vvecdraw.o vwinddraw.o wdircalc.o wetbulbcalc.o writefile.o wspcalc.o xmapcalc.o xtodot.o binio.o v5d.o rotate_earth2comp.o -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include -L/usr/lib64/ncarg/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc -L/usr/X11R6/lib64 -lX11 /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lgcc -lg2c
/usr/bin/ld: cannot find -lncarg
/usr/bin/ld: cannot find -lncarg_gks
/usr/bin/ld: cannot find -lncarg_c
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -lfontconfig
/usr/bin/ld: cannot find -lpixman-1
/usr/bin/ld: cannot find -lfreetype
/usr/bin/ld: cannot find -lexpat
collect2: error: ld returned 1 exit status
make: [rip] Error 1 (ignored)
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripcomp ripcomp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c writefile_rdp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripdp_mm5 ripdp_mm5.f fillarray.o mconvert.o writefile_rdp.o \
virtual.o
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripdp_wrfarw ripdp_wrfarw.f -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include \
premaptform.o maptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xtodot.o
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripdp_mpas ripdp_mpas.f -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include \
premaptform.o maptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xtodot.o rotate_earth2comp.o
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripdp_wrfnmm ripdp_wrfnmm.f -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include \
maptform.o premaptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xmapcalc.o egridfill.o xtodot.o
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripcut ripcut.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripinterp ripinterp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripshow ripshow.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o showtraj showtraj.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o tabdiag tabdiag.f lennonblank.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o upscale upscale.f

====================================================
However, while ripdp_wrfnmm are build, but I dont know why the errors of
"/usr/bin/ld: cannot find -lncarg
/usr/bin/ld: cannot find -lncarg_gks
/usr/bin/ld: cannot find -lncarg_c
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -lfontconfig
/usr/bin/ld: cannot find -lpixman-1
/usr/bin/ld: cannot find -lfreetype
/usr/bin/ld: cannot find -lexpat
collect2: error: ld returned 1 exit status"
occurred and no rip.exe is build.

I do really appreciate if you help me in this regard.
 
Hi,
Thank you for your kindly attention.
In fact I installed NCAR using NCL pack, vi "yum install ncl".
I used your suggestion and restarted the compilation step by step.
** yum install cairo**** yum install freetype**
1. export NCARG_ROOT=/usr
2. ./clean
3. change file of configure.default
LOCAL_LIBS = -L/usr/X11R6/lib64 -lx11 /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lgcc -lg2c
4. ./configure
resulted in
================================================
Using NCAR Graphics in /usr/lib64/ncarg
Will use NETCDF in dir: /home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf
sw_ncarg_version = 6
library = -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc
------------------------------------------------------------------------
Please select from among the following supported platforms.

1. PC Linux i486 i586 i686 x86_64, PGI compiler
2. PC Linux i486 i586 i686 x86_64, g95 compiler
3. PC Linux i486 i586 i686 x86_64, gfortran compiler
4. PC Linux i486 i586 i686 x86_64, Intel compiler

Enter selection [1-4] : 3
------------------------------------------------------------------------
Configuration successful. To build RIP4, type: compile
------------------------------------------------------------------------

Testing compatability of compiler and libraries
COMPILER is gfortran
LOCAL_LIBS are -L/usr/X11R6/lib64 -lX11 /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lgcc -lg2c
NCARGLIBS are -L${NCARG_ROOT}/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc

The Fortran compiler, gfortran is not consistent with the version of NCAR Graphics.
================================================
5. change configure.rip file
NETCDFLIB = -L${NETCDF}/lib -lnetcdff -lnetcdf
6. ./compile 2>&1 | tee peg_compile.log
these resulted to:
====================================================
.
.
.
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c rotate_earth2comp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o rip addorfill.o adjellip.o angle.o barb.o bes.o bogs.o brnshr.o bshear.o bvfricalc.o capecalc3d.o ceilingcalc.o colram.o colrln.o condheat.o contrive2.o cpchhl.o cpchll.o cpcolr.o cpmpxy.o createdtg.o cttcalc.o dbzcalc.o refmos2calc.o refmos3calc.o ddpcalc.o ddx.o ddy.o derivc.o drawcl.o driver.o egridfill.o eqthecalc.o extingcalc.o fields.o fillarray.o finterp.o finterp2d.o fregcalc.o frtitle.o fx.o fy.o getbasicvars.o getbasicvars_newdom.o getchar.o getconvals.o getdash.o getdims.o getheadinfo.o getheadinfo_newdom.o getinum.o getminfo.o getpt.o getrnum.o gettimes.o getvar.o getvarinfo.o hboxdraw.o hbulldraw.o hchadraw.o hcondraw.o hiresmap.o hlinedraw.o hmapdraw.o hodograph.o hsidsdraw.o hstrdraw.o hticdraw.o htrajdraw.o hvecdraw.o igetcoind.o lennonblank.o liftparcel.o locinterp.o maptform.o maptick.o mconvert.o mktrjpts.o mlen.o monotonic.o netasc.o numeric.o omgcalc.o pfcalc.o pltitle.o prcver.o precprob.o premaptform.o profil.o profvelcalc.o pvocalc.o qgomg.o rdcolt.o readspec.o relhl.o rhucalc.o ricalc.o rip.o rotipslab.o rotpslab.o sateqthecalc.o saweli.o scondraw.o seaprs.o setripheader.o smooth.o smoothcp.o smoothcz.o smoothrain.o srflow.o srflow2.o sstats.o sticdraw.o sticdraw_polar.o svecdraw.o tdpcalc.o trop.o refalt.o lifted_index.o tfpcalc.o thecalc.o tonpsadiabat.o tserprep.o turb.o typhoon.o unblank.o vbardraw.o vc2dcalc.o vcondraw.o velbrb.o velvctmts.o vgp.o vinterp.o virtual.o virtualhyd.o viscalc.o vticdraw.o vtrajdraw.o vvecdraw.o vwinddraw.o wdircalc.o wetbulbcalc.o writefile.o wspcalc.o xmapcalc.o xtodot.o binio.o v5d.o rotate_earth2comp.o -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include -L/usr/lib64/ncarg/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpthread -lbz2 -lXrender -lgfortran -lgcc -L/usr/X11R6/lib64 -lX11 /usr/lib/gcc/x86_64-redhat-linux/4.8.5 -lgcc -lg2c
/usr/bin/ld: cannot find -lncarg
/usr/bin/ld: cannot find -lncarg_gks
/usr/bin/ld: cannot find -lncarg_c
collect2: error: ld returned 1 exit status
make: [rip] Error 1 (ignored)
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripcomp ripcomp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -c writefile_rdp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripdp_mm5 ripdp_mm5.f fillarray.o mconvert.o writefile_rdp.o \
virtual.o
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripdp_wrfarw ripdp_wrfarw.f -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include \
premaptform.o maptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xtodot.o
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripdp_mpas ripdp_mpas.f -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include \
premaptform.o maptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xtodot.o rotate_earth2comp.o
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripdp_wrfnmm ripdp_wrfnmm.f -L/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/lib -lnetcdff -lnetcdf -I/home/pegahfar/AWRF/Build_WRF/LIBRARIES/netcdf/include \
maptform.o premaptform.o fillarray.o mconvert.o writefile_rdp.o \
virtual.o xmapcalc.o egridfill.o xtodot.o
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripcut ripcut.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripinterp ripinterp.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o ripshow ripshow.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o showtraj showtraj.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o tabdiag tabdiag.f lennonblank.f
gfortran -I. -fcray-pointer -fconvert=big-endian -frecord-marker=4 -fPIC -fno-second-underscore -fno-range-check -O -o upscale upscale.f

====================================================
However, while ripdp_wrfnmm are build, but I dont know why the errors of
"/usr/bin/ld: cannot find -lncarg
/usr/bin/ld: cannot find -lncarg_gks
/usr/bin/ld: cannot find -lncarg_c
collect2: error: ld returned 1 exit status"
occurred and no rip.exe is build.

I do really appreciate if you help me in this regard.
 
Can you issue the following:
Code:
echo $NCARG_ROOT >& log.ncarg
and please attach the log.ncarg file. Then please go to the location of the NCARG_ROOT and do an
Code:
ls -ls
inside each of the directories listed and put those in a file. For example, go into the 'bin' directory and issue:
Code:
ls -ls >& log.bin
Do that for each directory you encounter, including inside the include/ncarg/ directory. Then please attach all of the log files. Please also attach your configure.rip file, and your RIP compile log. Thanks!
 
Thank you for your kindly attention.
Infact, I installed all libraries recommended in the NCL site.
and change the NCARG_ROOT to "/usr/lib64/ncarg"
It was solved.
 
Top