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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<br>f951: warning: command line option &quot;-FR&quot; 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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<br>f951: warning: command line option &quot;-FR&quot; 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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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 &#39;-convert=big_endian&#39;<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">&lt;<a href="mailto:ambroff@lindenlab.com">ambroff@lindenlab.com</a>&gt;</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=&lt;representation&gt;, 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 &quot;-convert big_endian&quot; to your fortran<br>
compiler, you should switch to &quot;-fconvert=big-endian&quot; for gfortran.<br>
<br>
I&#39;d be surprised if that&#39;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 &lt;<a href="mailto:jmssnyder@ucdavis.edu">jmssnyder@ucdavis.edu</a>&gt; wrote:<br>
&gt;<br>
&gt; would fixing the error mentioned by the statement:<br>
&gt;<br>
&gt; gfortran: unrecognized option &#39;-convert&#39;<br>
&gt;<br>
&gt; help with this issue.<br>
&gt;<br>
&gt; I have ubuntu linux which operates with a gfortran fortran compiler and gcc c compiler.<br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; I am currently using the one for linux intel.  What do I use for ubuntu?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Jason<br>
&gt;<br>
&gt; On Tue, Aug 10, 2010 at 7:39 AM, Steven Peckham &lt;<a href="mailto:Steven.Peckham@noaa.gov">Steven.Peckham@noaa.gov</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Jason,<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt; gfortran: unrecognized option &#39;-convert&#39;<br>
&gt;&gt;<br>
&gt;&gt; This is why you are getting an error when compiling the code.<br>
&gt;&gt; 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>
&gt;&gt; Steven<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Aug 9, 2010, at 6:57 PM, Jason Snyder wrote:<br>
&gt;&gt;<br>
&gt;&gt; I configuring the prep-chem-sources and got the following error message:<br>
&gt;&gt;<br>
&gt;&gt; /utils/bin$ make -f Make_utils<br>
&gt;&gt; cp -f ..//lib/modules/an_header.f90 an_header.f90<br>
&gt;&gt; gfortra! n -c -FR bsp; -g -I..//include  an_header.f90<br>
&gt;&gt; gfortran: big_endian: No such file or directory<br>
&gt;&gt; gfortran: unrecognized option &#39;-convert&#39;<br>
&gt;&gt; make: *** [an_header.o] Error 1<br>
&gt;&gt;<br>
&gt;&gt; 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>

&gt;&gt;<br>
&gt;&gt; Anyway, let me know how to approach this situation.<br>
&gt;&gt;<br>
&gt;&gt; thanks,<br>
&gt;&gt;<br>
&gt;&gt; Jason<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Aug 8, 2010 at 12:57 AM, Jason Snyder &lt;<a href="mailto:jmssnyder@ucdavis.edu">jmssnyder@ucdavis.edu</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; To Whom It May Concern,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 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>

&gt;&gt;&gt;<br>
&gt;&gt;&gt;  ------ ERROR while reading namelist chem ------<br>
&gt;&gt;&gt;    chem is not a valid namelist name<br>
&gt;&gt;&gt;  Namelist dfi_control not found in namelist.input. Using registry defaults for variables in dfi_control<br>
&gt;&gt;&gt;  Namelist tc not found in namelist.input. Using registry defaults for variables in tc<br>
&gt;&gt;&gt;  Namelist scm not found in namelist.input. Using registry defaults for variables in scm<br>
&gt;&gt;&gt;  Namelist fire not found in namelist.input. Using registry defaults for variables in fire<br>
&gt;&gt;&gt;  -------------- FATAL CALLED ---------------<br>
&gt;&gt;&gt;  FATAL CALLED FROM FILE:  &lt;stdin&gt;  LINE:    9104<br>
&gt;&gt;&gt;  ERRORS while reading one or more namelists from namelist.input.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 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>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Overview of the WRF/Chem<br>
&gt;&gt;&gt;      modeling system<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 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>

&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Jason<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; vox-tech mailing list<br>
&gt; <a href="mailto:vox-tech@lists.lugod.org">vox-tech@lists.lugod.org</a><br>
&gt; <a href="http://lists.lugod.org/mailman/listinfo/vox-tech" target="_blank">http://lists.lugod.org/mailman/listinfo/vox-tech</a><br>
&gt;<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>