[vox-tech] Program Compilation WRF_prep_chem_sources

Chanoch (Ken) Bloom kbloom at gmail.com
Sat Nov 20 17:35:54 PST 2010


On Fri, 2010-11-19 at 14:57 -0800, Jason Snyder wrote:
> I now get the following warning messages:
> 
> cp -f ..//lib/modules/an_header.f90 an_header.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> an_header.f90
> rm -f an_header.f90
> cp -f ..//lib/charutils.f90 charutils.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> charutils.f90
> rm -f charutils.f90
> cp -f ..//lib/dateutils.f90 dateutils.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> dateutils.f90
> rm -f dateutils.f90
> gcc -c -O2  -DPC_LINUX1 -I..//include   ..//lib/dted.c
> ..//lib/dted.c: In function ‘readdted1_’:
> ..//lib/dted.c:230: warning: ignoring return value of ‘fscanf’,
> declared with attribute warn_unused_result
> ..//lib/dted.c:249: warning: ignoring return value of ‘fread’,
> declared with attribute warn_unused_result
> gcc -c -O2  -DPC_LINUX1 -I..//include   ..//eff/eenviron.c
> ..//eff/eenviron.c: In function ‘fegetenv_’:
> ..//eff/eenviron.c:144: warning: incompatible implicit declaration of
> built-in function ‘exit’
> cp -f ..//lib/error_mess.f90 error_mess.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> error_mess.f90
> rm -f error_mess.f90
> cp -f ..//lib/filelist.F90 filelist.F90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> -DPC_LINUX1 filelist.F90
> f951: warning: command line option "-FR" is valid for C/C++/ObjC/ObjC
> ++ but not for Fortran
> rm -f filelist.F90
> cp -f ..//lib/getvar.f90 getvar.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include  getvar.f90
> rm -f getvar.f90
> cp -f ..//lib/htint-opt.f90 htint-opt.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> htint-opt.f90
> rm -f htint-opt.f90
> cp -f ..//lib/interp_lib.f90 interp_lib.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> interp_lib.f90
> rm -f interp_lib.f90
> cp -f ..//lib/map_proj.f90 map_proj.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> map_proj.f90
> rm -f map_proj.f90
> cp -f ..//lib/numutils.f90 numutils.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> numutils.f90
> rm -f numutils.f90
> gcc -c -O2  -DPC_LINUX1 -I..//include   ..//lib/parlib.c
> cp -f ..//lib/polarst.f90 polarst.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> polarst.f90
> rm -f polarst.f90
> cp -f ..//lib/rsys.F90 rsys.F90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> -DPC_LINUX1 rsys.F90
> f951: warning: command line option "-FR" is valid for C/C++/ObjC/ObjC
> ++ but not for Fortran
> rm -f rsys.F90
> cp -f ..//lib/therm_lib.f90 therm_lib.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> therm_lib.f90
> rm -f therm_lib.f90
> gcc -c -O2  -DPC_LINUX1 -I..//include   ..//lib/tmpname.c
> ..//lib/tmpname.c: In function ‘form_tmpname_’:
> ..//lib/tmpname.c:29: warning: incompatible implicit declaration of
> built-in function ‘strlen’
> gcc -c -O2  -DPC_LINUX1 -I..//include   ..//lib/utils_c.c
> ..//lib/utils_c.c: In function ‘rams_c_read_’:
> ..//lib/utils_c.c:169: warning: ignoring return value of ‘fread’,
> declared with attribute warn_unused_result
> ..//lib/utils_c.c: In function ‘rams_c_read_char_’:
> ..//lib/utils_c.c:181: warning: ignoring return value of ‘fread’,
> declared with attribute warn_unused_result
> ..//lib/utils_c.c: In function ‘vfirecr_’:
> ..//lib/utils_c.c:213: warning: ignoring return value of ‘fread’,
> declared with attribute warn_unused_result
> ..//lib/utils_c.c:217: warning: ignoring return value of ‘fread’,
> declared with attribute warn_unused_result
> cp -f ..//lib/utils_f.f90 utils_f.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> utils_f.f90
> rm -f utils_f.f90
> cp -f ..//lib/vformat.f90 vformat.f90
> gfortran -c -FR -O2 -fconvert=big-endian  -g -I..//include
> vformat.f90
> rm -f vformat.f90
> ar
> rs /media/WRFDisk/WRF3.2/WRFV3/Prep_sources_chem_cptec_wrf/utils/bin//libutils-2.0-opt.a an_header.o charutils.o dateutils.o dted.o eenviron.o error_mess.o filelist.o getvar.o htint-opt.o interp_lib.o map_proj.o numutils.o parlib.o polarst.o rsys.o therm_lib.o tmpname.o utils_c.o utils_f.o vformat.o  
> ar:
> creating /media/WRFDisk/WRF3.2/WRFV3/Prep_sources_chem_cptec_wrf/utils/bin//libutils-2.0-opt.a
> 
> Finished building
> === /media/WRFDisk/WRF3.2/WRFV3/Prep_sources_chem_cptec_wrf/utils/bin//libutils-2.0-opt.a
> 
> How should I go about fixing these error/warming messages?

Your compilation completed successfully. There are no error messages --
only warnings.

Warning messages ususally mean that the programmer did something that's
technically allowed in the language, but usually isn't a good idea. If
you were writing this software yourself, I'd tell you to go fix them,
but since you're running software that someone else wrote, and it's been
tested an awful lot, you don't need to do anything. Just run the
software.


More information about the vox-tech mailing list