l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 20: Web Application Hacking: How to Make and Break Security on the Web
Next Installfest:
TBD
Latest News:
Oct. 10: LUGOD Installfests coming again soon
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  ---------
> CMACH=PC_LINUX1
> F_COMP=gfortran
> C_COMP=gcc
> LOADER=gfortran
> C_LOADER=gcc
> LIBS=
> MOD_EXT=mod
> #Compiler options
> F_OPTS=-FR -O2 -convert big_endian $(NCDF_LIBS) -g
> C_OPTS=-O2
> LOADER_OPTS=
> C_LOADER_OPTS=-v
> #-----------------------------------------------------------------
> 
> 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
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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:
EDGE Tech Corp.
For donating some give-aways for our meetings.