<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">malleswararao maguluri</b> <span dir="ltr"><<a href="mailto:mallesh4science@gmail.com">mallesh4science@gmail.com</a>></span><br>
Date: Tue, Mar 12, 2013 at 1:35 PM<br>Subject: Fwd: reg:wrf installation<br>To: <a href="mailto:support-netcdf@unidata.ucar.edu">support-netcdf@unidata.ucar.edu</a><br><br><br><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">malleswararao maguluri</b> <span dir="ltr"><<a href="mailto:mallesh4science@gmail.com" target="_blank">mallesh4science@gmail.com</a>></span><br>
Date: Tue, Mar 12, 2013 at 1:09 PM<br>Subject: reg:wrf installation<br>To: Amit Kesarkar <<a href="mailto:amit.kesarkar@gmail.com" target="_blank">amit.kesarkar@gmail.com</a>><br><br><br>dear grad users,<div><div class="h5">
<br><br> I need a little help for wrf installation in my office for testing purpose.<br>
<br>The following steps i have done serially:<br><br><u>my system configuration </u><br>Fedora 16<br>
i3 64-bit processor<br>4GB RAM<br>500GB Hard Disk<br><br>1) Configured ZLIB (Success)<br>2) Configured JASPER (Success)<br>3) Configured LIBPNG (Success)<br>4) Installed usiing yum (Success)<br> gcc.i686 4.6.2-1.fc16 @fedorarepo<br>
gcc-c++.i686 4.6.2-1.fc16 @fedorarepo<br> gcc-gfortran.i686 4.6.2-1.fc16 @fedorarepo <br><br>5) installed intel compiler (l_fcompxe_2013.2.146 with trailed licenced key) (Success)<br>
6) netcdf-3.6.2 <br> 6.1 ./configure (Success)<br> 6.2 after entering <b>"make"</b> we are getting the following error.<br><br>[root@apsdps netcdf-3.6.2]# make<br>make all-recursive<br>make[1]: Entering directory `/wrfpkgs/netcdf-3.6.2'<br>
Making all in f90<br>make[2]: Entering directory `/wrfpkgs/netcdf-3.6.2/f90'<br>make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/wrfpkgs/netcdf-3.6.2/f90'<br>Making all in fortran<br>make[2]: Entering directory `/wrfpkgs/netcdf-3.6.2/fortran'<br>
make all-am<br>make[3]: Entering directory `/wrfpkgs/netcdf-3.6.2/fortran'<br>depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-attio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-attio.lo fort-attio.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-attio.lo -MD -MP -MF .deps/fort-attio.Tpo -c fort-attio.c -o fort-attio.o<br>
depbase=`echo fort-control.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-control.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-control.lo fort-control.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-control.lo -MD -MP -MF .deps/fort-control.Tpo -c fort-control.c -o fort-control.o<br>
depbase=`echo fort-dim.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-dim.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-dim.lo fort-dim.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-dim.lo -MD -MP -MF .deps/fort-dim.Tpo -c fort-dim.c -o fort-dim.o<br>
depbase=`echo fort-genatt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-genatt.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-genatt.lo fort-genatt.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-genatt.lo -MD -MP -MF .deps/fort-genatt.Tpo -c fort-genatt.c -o fort-genatt.o<br>
depbase=`echo fort-geninq.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-geninq.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-geninq.lo fort-geninq.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-geninq.lo -MD -MP -MF .deps/fort-geninq.Tpo -c fort-geninq.c -o fort-geninq.o<br>
depbase=`echo fort-genvar.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-genvar.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-genvar.lo fort-genvar.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-genvar.lo -MD -MP -MF .deps/fort-genvar.Tpo -c fort-genvar.c -o fort-genvar.o<br>
depbase=`echo fort-lib.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-lib.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-lib.lo fort-lib.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-lib.lo -MD -MP -MF .deps/fort-lib.Tpo -c fort-lib.c -o fort-lib.o<br>
depbase=`echo fort-misc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-misc.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-misc.lo fort-misc.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-misc.lo -MD -MP -MF .deps/fort-misc.Tpo -c fort-misc.c -o fort-misc.o<br>
depbase=`echo fort-v2compat.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-v2compat.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-v2compat.lo fort-v2compat.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-v2compat.lo -MD -MP -MF .deps/fort-v2compat.Tpo -c fort-v2compat.c -o fort-v2compat.o<br>
depbase=`echo fort-vario.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-vario.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-vario.lo fort-vario.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-vario.lo -MD -MP -MF .deps/fort-vario.Tpo -c fort-vario.c -o fort-vario.o<br>
depbase=`echo fort-var1io.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-var1io.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-var1io.lo fort-var1io.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-var1io.lo -MD -MP -MF .deps/fort-var1io.Tpo -c fort-var1io.c -o fort-var1io.o<br>
depbase=`echo fort-varaio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-varaio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-varaio.lo fort-varaio.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-varaio.lo -MD -MP -MF .deps/fort-varaio.Tpo -c fort-varaio.c -o fort-varaio.o<br>
depbase=`echo fort-varmio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-varmio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-varmio.lo fort-varmio.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-varmio.lo -MD -MP -MF .deps/fort-varmio.Tpo -c fort-varmio.c -o fort-varmio.o<br>
depbase=`echo fort-varsio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-varsio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-varsio.lo fort-varsio.c; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -g -O2 -MT fort-varsio.lo -MD -MP -MF .deps/fort-varsio.Tpo -c fort-varsio.c -o fort-varsio.o<br>
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o <a href="http://libnetcdff.la" target="_blank">libnetcdff.la</a> fort-attio.lo fort-control.lo fort-dim.lo fort-genatt.lo fort-geninq.lo fort-genvar.lo fort-lib.lo fort-misc.lo fort-v2compat.lo fort-vario.lo fort-var1io.lo fort-varaio.lo fort-varmio.lo fort-varsio.lo ../f90/<a href="http://libnetcdff90.la" target="_blank">libnetcdff90.la</a> <br>
libtool: link: rm -fr .libs/libnetcdff.a .libs/<a href="http://libnetcdff.la" target="_blank">libnetcdff.la</a><br>libtool: link: (cd .libs/libnetcdff.lax/libnetcdff90.a && ar x /wrfpkgs/netcdf-3.6.2/fortran/../f90/.libs/libnetcdff90.a)<br>
libtool: link: ar cru .libs/libnetcdff.a fort-attio.o fort-control.o fort-dim.o fort-genatt.o fort-geninq.o fort-genvar.o fort-lib.o fort-misc.o fort-v2compat.o fort-vario.o fort-var1io.o fort-varaio.o fort-varmio.o fort-varsio.o .libs/libnetcdff.lax/libnetcdff90.a/typeSizes.o .libs/libnetcdff.lax/libnetcdff90.a/netcdf.o <br>
libtool: link: ranlib .libs/libnetcdff.a<br>libtool: link: rm -fr .libs/libnetcdff.lax<br>libtool: link: creating <a href="http://libnetcdff.la" target="_blank">libnetcdff.la</a><br>libtool: link: ( cd ".libs" && rm -f "<a href="http://libnetcdff.la" target="_blank">libnetcdff.la</a>" && ln -s "../<a href="http://libnetcdff.la" target="_blank">libnetcdff.la</a>" "<a href="http://libnetcdff.la" target="_blank">libnetcdff.la</a>" )<br>
make[3]: Leaving directory `/wrfpkgs/netcdf-3.6.2/fortran'<br>make[2]: Leaving directory `/wrfpkgs/netcdf-3.6.2/fortran'<br>Making all in libsrc<br>make[2]: Entering directory `/wrfpkgs/netcdf-3.6.2/libsrc'<br>
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o <a href="http://libnetcdf.la" target="_blank">libnetcdf.la</a> -rpath /usr/local/lib -version-info 4:0:0 -no-undefined attr.lo ncx.lo putget.lo dim.lo error.lo libvers.lo nc.lo string.lo v1hpg.lo var.lo posixio.lo <a href="http://libnetcdf2.la" target="_blank">libnetcdf2.la</a> ../fortran/<a href="http://libnetcdff.la" target="_blank">libnetcdff.la</a> <br>
libtool: link: rm -fr .libs/libnetcdf.a .libs/<a href="http://libnetcdf.la" target="_blank">libnetcdf.la</a> .libs/libnetcdf.lai<br>libtool: link: (cd .libs/libnetcdf.lax/libnetcdf2.a && ar x /wrfpkgs/netcdf-3.6.2/libsrc/./.libs/libnetcdf2.a)<br>
libtool: link: (cd .libs/libnetcdf.lax/libnetcdff.a && ar x /wrfpkgs/netcdf-3.6.2/libsrc/../fortran/.libs/libnetcdff.a)<br>libtool: link: ar cru .libs/libnetcdf.a attr.o ncx.o putget.o dim.o error.o libvers.o nc.o string.o v1hpg.o var.o posixio.o .libs/libnetcdf.lax/libnetcdf2.a/v2i.o .libs/libnetcdf.lax/libnetcdff.a/fort-genatt.o .libs/libnetcdf.lax/libnetcdff.a/fort-var1io.o .libs/libnetcdf.lax/libnetcdff.a/fort-misc.o .libs/libnetcdf.lax/libnetcdff.a/fort-varmio.o .libs/libnetcdf.lax/libnetcdff.a/fort-varsio.o .libs/libnetcdf.lax/libnetcdff.a/fort-control.o .libs/libnetcdf.lax/libnetcdff.a/fort-genvar.o .libs/libnetcdf.lax/libnetcdff.a/fort-geninq.o .libs/libnetcdf.lax/libnetcdff.a/fort-v2compat.o .libs/libnetcdf.lax/libnetcdff.a/fort-dim.o .libs/libnetcdf.lax/libnetcdff.a/fort-attio.o .libs/libnetcdf.lax/libnetcdff.a/fort-lib.o .libs/libnetcdf.lax/libnetcdff.a/typeSizes.o .libs/libnetcdf.lax/libnetcdff.a/fort-vario.o .libs/libnetcdf.lax/libnetcdff.a/netcdf.o .libs/libnetcdf.lax/libnetcdff.a/fort-varaio.o <br>
libtool: link: ranlib .libs/libnetcdf.a<br>libtool: link: rm -fr .libs/libnetcdf.lax<br>libtool: link: creating <a href="http://libnetcdf.la" target="_blank">libnetcdf.la</a><br>libtool: link: ( cd ".libs" && rm -f "<a href="http://libnetcdf.la" target="_blank">libnetcdf.la</a>" && ln -s "../<a href="http://libnetcdf.la" target="_blank">libnetcdf.la</a>" "<a href="http://libnetcdf.la" target="_blank">libnetcdf.la</a>" )<br>
make[2]: Leaving directory `/wrfpkgs/netcdf-3.6.2/libsrc'<br>Making all in nctest<br>make[2]: Entering directory `/wrfpkgs/netcdf-3.6.2/nctest'<br>make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/wrfpkgs/netcdf-3.6.2/nctest'<br>
Making all in ncgen<br>make[2]: Entering directory `/wrfpkgs/netcdf-3.6.2/ncgen'<br>/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ncgen main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o ../libsrc/<a href="http://libnetcdf.la" target="_blank">libnetcdf.la</a> <br>
libtool: link: gcc -g -O2 -o ncgen main.o load.o ncgentab.o escapes.o getfill.o init.o genlib.o ../libsrc/.libs/libnetcdf.a<br>make[2]: Leaving directory `/wrfpkgs/netcdf-3.6.2/ncgen'<br>Making all in ncdump<br>make[2]: Entering directory `/wrfpkgs/netcdf-3.6.2/ncdump'<br>
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o ncdump ncdump.o vardata.o dumplib.o -lm ../libsrc/<a href="http://libnetcdf.la" target="_blank">libnetcdf.la</a> <br>libtool: link: gcc -g -O2 -o ncdump ncdump.o vardata.o dumplib.o -lm ../libsrc/.libs/libnetcdf.a<br>
make[2]: Leaving directory `/wrfpkgs/netcdf-3.6.2/ncdump'<br>Making all in nf_test<br>make[2]: Entering directory `/wrfpkgs/netcdf-3.6.2/nf_test'<br>make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/wrfpkgs/netcdf-3.6.2/nf_test'<br>
Making all in cxx<br>make[2]: Entering directory `/wrfpkgs/netcdf-3.6.2/cxx'<br>depbase=`echo ncvalues.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \<br>if /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -DDEBUG -I../libsrc -g -O2 -MT ncvalues.lo -MD -MP -MF "$depbase.Tpo" -c -o ncvalues.lo ncvalues.cpp; \<br>
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi<br>libtool: compile: c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -DDEBUG -I../libsrc -g -O2 -MT ncvalues.lo -MD -MP -MF .deps/ncvalues.Tpo -c ncvalues.cpp -o ncvalues.o<br>
ncvalues.cpp: In member function 'virtual char* NcValues_ncbyte::as_string(long int) const':<br>ncvalues.cpp:238:60: error: 'strncpy' was not declared in this scope<br>ncvalues.cpp: In member function 'virtual char* NcValues_char::as_string(long int) const':<br>
ncvalues.cpp:246:60: error: 'strncpy' was not declared in this scope<br>make[2]: *** [ncvalues.lo] Error 1<br>make[2]: Leaving directory `/wrfpkgs/netcdf-3.6.2/cxx'<br>make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/wrfpkgs/netcdf-3.6.2'<br>
make: *** [all] Error 2<br><br><br>please try to resolve this error.<span><font color="#888888"><br> <br><br><br clear="all"><br>-- <br>M. MALLESWARA RAO<br>M.Tech (Atmospheric Science)<br>
Young Professional in Cyclone Models<br>APSDPS, AP Secreteriat, Hyderabad<br>
</font></span></div></div></div><div class="HOEnZb"><div class="h5"><br><br clear="all"><br>-- <br>M. MALLESWARA RAO<br>M.Tech (Atmospheric Science)<br>Young Professional in Cyclone Models<br>APSDPS, AP Secreteriat, Hyderabad<br>
</div></div></div><br><br clear="all"><br>-- <br>M. MALLESWARA RAO<br>M.Tech (Atmospheric Science)<br>Young Professional in Cyclone Models<br>APSDPS, AP Secreteriat, Hyderabad<br>