l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2010 Nov 19 14:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Program Compilation WRF_prep_chem_sources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Program Compilation WRF_prep_chem_sources

On Fri, 2010-11-19 at 08:11 -0800, Jason Snyder wrote:
> I found this program this bit of code that I need to use when running
> a part of the WRF model:
>  #-----------------  LINUX INTEL FORTRAN-95 Compiler/GCC  ---------
> F_COMP=gfortran
> C_COMP=gcc
> LOADER=gfortran
> C_LOADER=gcc
> MOD_EXT=mod
> #Compiler options
> F_OPTS=-FR -O2 -convert big_endian $(NCDF_LIBS) -g
> C_OPTS=-O2
> #-----------------------------------------------------------------
> I have both the gfortran and gcc compilers on my computer but when I
> run this code I get the following error message:
> cp -f ..//lib/modules/an_header.f90 an_header.f90
> gfortran -c -FR -O2 -convert big_endian  -g -I..//include
> an_header.f90
> gfortran: big_endian: No such file or directory
> gfortran: unrecognized option '-convert'
> make: *** [an_header.o] Error 1
> 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?).
> Anyway, let me know how to resolve this issue.

Replace "-convert big_endian" with "-fconvert=big-endian"
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.