I get the following error message when running the program:<br><br>cp -f ..//lib/modules/an_header.f90 an_header.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include an_header.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>
rm -f an_header.f90<br>cp -f ..//lib/charutils.f90 charutils.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include charutils.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f charutils.f90<br>
cp -f ..//lib/dateutils.f90 dateutils.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include dateutils.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f dateutils.f90<br>gcc -c -O2 -DPC_LINUX1 -I..//include ..//lib/dted.c<br>
..//lib/dted.c: In function ‘readdted1_’:<br>..//lib/dted.c:230: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result<br>..//lib/dted.c:249: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result<br>
gcc -c -O2 -DPC_LINUX1 -I..//include ..//eff/eenviron.c<br>..//eff/eenviron.c: In function ‘fegetenv_’:<br>..//eff/eenviron.c:144: warning: incompatible implicit declaration of built-in function ‘exit’<br>cp -f ..//lib/error_mess.f90 error_mess.f90<br>
gfortran -c -FR -O2 -convert=big_endian -g -I..//include error_mess.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f error_mess.f90<br>cp -f ..//lib/filelist.F90 filelist.F90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include -DPC_LINUX1 filelist.F90<br>
gfortran: unrecognized option '-convert=big_endian'<br>f951: warning: command line option "-FR" is valid for C/C++/ObjC/ObjC++ but not for Fortran<br>rm -f filelist.F90<br>cp -f ..//lib/getvar.f90 getvar.f90<br>
gfortran -c -FR -O2 -convert=big_endian -g -I..//include getvar.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f getvar.f90<br>cp -f ..//lib/htint-opt.f90 htint-opt.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include htint-opt.f90<br>
gfortran: unrecognized option '-convert=big_endian'<br>rm -f htint-opt.f90<br>cp -f ..//lib/interp_lib.f90 interp_lib.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include interp_lib.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>
rm -f interp_lib.f90<br>cp -f ..//lib/map_proj.f90 map_proj.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include map_proj.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f map_proj.f90<br>
cp -f ..//lib/numutils.f90 numutils.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include numutils.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f numutils.f90<br>gcc -c -O2 -DPC_LINUX1 -I..//include ..//lib/parlib.c<br>
cp -f ..//lib/polarst.f90 polarst.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include polarst.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f polarst.f90<br>cp -f ..//lib/rsys.F90 rsys.F90<br>
gfortran -c -FR -O2 -convert=big_endian -g -I..//include -DPC_LINUX1 rsys.F90<br>gfortran: unrecognized option '-convert=big_endian'<br>f951: warning: command line option "-FR" is valid for C/C++/ObjC/ObjC++ but not for Fortran<br>
rm -f rsys.F90<br>cp -f ..//lib/therm_lib.f90 therm_lib.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include therm_lib.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f therm_lib.f90<br>
gcc -c -O2 -DPC_LINUX1 -I..//include ..//lib/tmpname.c<br>..//lib/tmpname.c: In function ‘form_tmpname_’:<br>..//lib/tmpname.c:29: warning: incompatible implicit declaration of built-in function ‘strlen’<br>gcc -c -O2 -DPC_LINUX1 -I..//include ..//lib/utils_c.c<br>
..//lib/utils_c.c: In function ‘rams_c_read_’:<br>..//lib/utils_c.c:169: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result<br>..//lib/utils_c.c: In function ‘rams_c_read_char_’:<br>..//lib/utils_c.c:181: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result<br>
..//lib/utils_c.c: In function ‘vfirecr_’:<br>..//lib/utils_c.c:213: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result<br>..//lib/utils_c.c:217: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result<br>
cp -f ..//lib/utils_f.f90 utils_f.f90<br>gfortran -c -FR -O2 -convert=big_endian -g -I..//include utils_f.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f utils_f.f90<br>cp -f ..//lib/vformat.f90 vformat.f90<br>
gfortran -c -FR -O2 -convert=big_endian -g -I..//include vformat.f90<br>gfortran: unrecognized option '-convert=big_endian'<br>rm -f vformat.f90<br>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 <br>
ar: creating /media/WRFDisk/WRF3.2/WRFV3/Prep_sources_chem_cptec_wrf/utils/bin//libutils-2.0-opt.a<br><br>Finished building === /media/WRFDisk/WRF3.2/WRFV3/Prep_sources_chem_cptec_wrf/utils/bin//libutils-2.0-opt.a<br><br>
Here is the makefile that I am using:<br><br>#----------------- LINUX INTEL FORTRAN-95 Compiler/GCC ---------<br>CMACH=PC_LINUX1<br>F_COMP=gfortran<br>C_COMP=gcc<br>LOADER=gfortran<br>C_LOADER=gcc<br>LIBS=<br>MOD_EXT=mod<br>
# Compiler options<br>F_OPTS=-FR -O2 -convert=big_endian $(NCDF_LIBS) -g<br>C_OPTS=-O2<br>LOADER_OPTS=<br>C_LOADER_OPTS=-v<br>#-----------------------------------------------------------------<br><br><br>Should I use this one instead?<br>
<br>#----------------- LINUX Portland Group pgf77/gcc ---------------<br>#CMACH=PC_LINUX1<br>#F_COMP=gfortran<br>#C_COMP=gcc<br>#LOADER=gfortran<br>#C_LOADER=gcc<br>#LIBS=<br>#MOD_EXT=mod<br>#<br>#F_OPTS= -O3 -fastsse<br>
#C_OPTS= -O3 -DUNDERSCORE -DLITTLE<br>#LOADER_OPTS= -v -Mstatic -O3 -fastsse<br>#-----------------------------------------------------------------<br><br><br>Thanks,<br><br>Jason<br><br><br><br><br><div class="gmail_quote">
On Tue, Aug 10, 2010 at 2:25 PM, Ambroff Linden <span dir="ltr"><<a href="mailto:ambroff@lindenlab.com">ambroff@lindenlab.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
For that particular option, see -fconvert in the gfortran man page.<br>
You can specify the representation of data files with<br>
-fconvert=<representation>, where representation is one of:<br>
<br>
* native (little-endian on your little-endian PC)<br>
* swap (opposite of your systems binary representation)<br>
* little-endian<br>
* big-endian<br>
<br>
For example, if you were passing "-convert big_endian" to your fortran<br>
compiler, you should switch to "-fconvert=big-endian" for gfortran.<br>
<br>
I'd be surprised if that's your only problem though. You might want to<br>
look up the documentation for all of the options you are using with<br>
the original target FORTRAN implementation. You can compare that with<br>
the gfortran man page to find equivalent settings for gfortran.<br>
<br>
-Kyle<br>
<div><div></div><div class="h5"><br>
On Tue, Aug 10, 2010 at 10:21 AM, Jason Snyder <<a href="mailto:jmssnyder@ucdavis.edu">jmssnyder@ucdavis.edu</a>> wrote:<br>
><br>
> would fixing the error mentioned by the statement:<br>
><br>
> gfortran: unrecognized option '-convert'<br>
><br>
> help with this issue.<br>
><br>
> I have ubuntu linux which operates with a gfortran fortran compiler and gcc c compiler.<br>
><br>
> I am not sure how to approach handling the issue with the above error statement. Do I have to install something on my computer or do I have to use another setting for compiling in the make file?<br>
><br>
> I am currently using the one for linux intel. What do I use for ubuntu?<br>
><br>
> Thanks,<br>
><br>
> Jason<br>
><br>
> On Tue, Aug 10, 2010 at 7:39 AM, Steven Peckham <<a href="mailto:Steven.Peckham@noaa.gov">Steven.Peckham@noaa.gov</a>> wrote:<br>
>><br>
>> Jason,<br>
>> It would appear that you made some changes to the prep_chem_sources <a href="http://include.mk" target="_blank">include.mk</a> file that do not work for your compiler.<br>
>><br>
>> gfortran: unrecognized option '-convert'<br>
>><br>
>> This is why you are getting an error when compiling the code.<br>
>> The solution is that you should edit the make include file and set the options that work for your compiler on your compute platform.<br>
>> Steven<br>
>><br>
>><br>
>> On Aug 9, 2010, at 6:57 PM, Jason Snyder wrote:<br>
>><br>
>> I configuring the prep-chem-sources and got the following error message:<br>
>><br>
>> /utils/bin$ make -f Make_utils<br>
>> cp -f ..//lib/modules/an_header.f90 an_header.f90<br>
>> gfortra! n -c -FR bsp; -g -I..//include an_header.f90<br>
>> gfortran: big_endian: No such file or directory<br>
>> gfortran: unrecognized option '-convert'<br>
>> make: *** [an_header.o] Error 1<br>
>><br>
>> What does this mean and how do I resolve this issue? I did format the <a href="http://include.mk" target="_blank">include.mk</a> so that it would run with the gfortran and gcc compilers that I have with ubuntu linux.<br>
>><br>
>> Anyway, let me know how to approach this situation.<br>
>><br>
>> thanks,<br>
>><br>
>> Jason<br>
>><br>
>> On Sun, Aug 8, 2010 at 12:57 AM, Jason Snyder <<a href="mailto:jmssnyder@ucdavis.edu">jmssnyder@ucdavis.edu</a>> wrote:<br>
>>><br>
>>> To Whom It May Concern,<br>
>>><br>
>>> I am not sure how to handle the namelist.input when running wrf chem as it does not specify anything in the WRF chem users guide. I noticed I have several namelist! files in em, namelist.input and namelist.input.fire. I tried merging the namelist.input.chem with namelist.input by copying all the chem components of namelist.input.chem into namelist.input and got the following error message:<br>
>>><br>
>>> ------ ERROR while reading namelist chem ------<br>
>>> chem is not a valid namelist name<br>
>>> Namelist dfi_control not found in namelist.input. Using registry defaults for variables in dfi_control<br>
>>> Namelist tc not found in namelist.input. Using registry defaults for variables in tc<br>
>>> Namelist scm not found in namelist.input. Using registry defaults for variables in scm<br>
>>> Namelist fire not found in namelist.input. Using registry defaults for variables in fire<br>
>>> -------------- FATAL CALLED ---------------<br>
>>> FATAL CALLED FROM FILE: <stdin> LINE: 9104<br>
>>> ERRORS while reading one or more namelists from namelist.input.<br>
>>><br>
>>> What does this me! an. amelist.input file(s) so that I can model dust lofting and transport via the WRF model. I looked at a presentation from George Grell<br>
>>><br>
>>> Overview of the WRF/Chem<br>
>>> modeling system<br>
>>><br>
>>> and he discussed how the GOCART module calculates dust as a function of the erodible soil area, porosity of soil and also a function of wind speed. Where do I get erodible soil data? Also do I have to use wrf_prep_chem program after downloading such data so that it can be used by the WRF model? I read one article that discussed using TOMS data aerosol indices for such data. Is that how I should approach things? Could you please clarify how to handle the namelist. input files in WRF chem and what types of data I need and how to incorporate this data into the WRF model when modeling dust lofting and deposition in the WRF model, whether through using the GOCART m! odule or nbsp;<br>
>>><br>
>>><br>
>>> Thanks,<br>
>>><br>
>>> Jason<br>
>><br>
>><br>
><br>
><br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> vox-tech mailing list<br>
> <a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
> <a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
><br>
_______________________________________________<br>
vox-tech mailing list<br>
<a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
<a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
</div></div></blockquote></div><br>