midhunmachary
New member
:| I was trying to compile RIP for the post processing of WRF output. While compilation I got the following error. Please help me to rectify this error.
/home/curaj-gis/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_':
/home/curaj-gis/Build_WRF/LIBRARIES/netcdf-4.1.3/fortran/fort-varaio.c:160: undefined reference to `nc_put_vara'
/home/curaj-gis/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_':
/home/curaj-gis/Build_WRF/LIBRARIES/netcdf-4.1.3/fortran/fort-varaio.c:163: undefined reference to `nc_get_vara'
collect2: error: ld returned 1 exit status
Makefile:64: recipe for target 'ripdp_wrfnmm' failed
make: [ripdp_wrfnmm] Error 1 (ignored)
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
Thanks & Regards,
Midhun M Achary
Department of Atmospheric Science
Central University of Rajasthan
India
/home/curaj-gis/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_put_vara_':
/home/curaj-gis/Build_WRF/LIBRARIES/netcdf-4.1.3/fortran/fort-varaio.c:160: undefined reference to `nc_put_vara'
/home/curaj-gis/Build_WRF/LIBRARIES/netcdf/lib/libnetcdff.a(fort-varaio.o): In function `nf_get_vara_':
/home/curaj-gis/Build_WRF/LIBRARIES/netcdf-4.1.3/fortran/fort-varaio.c:163: undefined reference to `nc_get_vara'
collect2: error: ld returned 1 exit status
Makefile:64: recipe for target 'ripdp_wrfnmm' failed
make: [ripdp_wrfnmm] Error 1 (ignored)
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
Thanks & Regards,
Midhun M Achary
Department of Atmospheric Science
Central University of Rajasthan
India