I found this program this bit of code that I need to use when running a part of the WRF model:<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>I have both the gfortran and gcc compilers on my computer but when I run this code I get the following error message:<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: big_endian: No such file or directory<br>gfortran: unrecognized option '-convert'<br>make: *** [an_header.o] Error 1<br><br>I evidently need the command F_OPTS=-FR -O2 -convert big_endian $(NCDF_LIBS) -g to make the rest of the programs for this model including the prep_chem_sources to run properly so I am not sure how to resolve this program. Is it something having to do with the netcdf libraries that i have to add? (ncdf_libs is netcdf?).<br>
<br>Anyway, let me know how to resolve this issue.<br><br>Thanks,<br><br>Jason<br>