- 积分
- 391
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-10-19
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本人是WRF_Chem新手,目前generate emissions上遇到麻烦,求问大家,非常感谢!
首先我想问关于prep_chem_sources的问题:compile过程中你需要设置诸如netCDF等的路径,按参考include.mk.opt.pgi文件来修改,但我用的是老师的服务器,这些library估计都已经装好了,所以我想问问我应该怎么查看其路径,谢谢!
include.mk.opt.pgi文件如下:(我就想知道里面提到的library怎么找到路径)
#Makefile include include.mk.opt.pgi
############################## Change Log ##################################
# 1.0.0.2
#
# 000908 MJB include.mk-mrc ##
# Added MAKE environment varaible.
# Added free format option to F_OPTS for some platforms. ##
# 000907 MJB include.mk-mrc ##
# Changed the defualts to no NCAR Graphics and no parallel.
# Also commented out the machine specifics to force the user to
# select the appropriate machine for them. ##
# 000823 MJB include.mk-mrc ##
# New - defines all make environment varaibles and is included
# in all make files. ##
#
############################################################################
# Define make (gnu make works best).
MAKE=/usr/bin/make
# Activate appropriate parts below, comment out others.
# NCAR Graphics.
#---------------------------------------------------------------
# If you are using a standard installation of NCAR Graphics, set:
# LOADER=ncargf90
# in the machine-dependent sections below
#LIBNCARG=
#---------------------------------------------------------------
# If you are using the NCAR dummy libraries...
NCARG_DIR=$(NCARG_ROOT)
#LIBNCARG=-L$(NCARG_DIR) -lncarg-$(UTILS_VERSION) -lncarg_c-$(UTILS_VERSION) \
# -lncarg_gks-$(UTILS_VERSION)
#LIBNCARG=-L$(NCARG_DIR) -lncarg-$(UTILS_VERSION)
LIBNCARG=$(BASE)/libncarg-$(UTILS_VERSION)-$(OPT).a
#---------------------------------------------------------------
# If you are using a real distribution of NCAR Graphics...
#NCARG_DIR=/usr/local/ncarg-4.3.0/lib
#LIBNCARG=-L$(NCARG_DIR) -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11 -ldl
#---------------------------------------------------------------
# NETCDF libraries
NETCDF=/usr/local/netcdf-4.3.0-pgi
NETCDF_INC=-I$(NETCDF)/include
NETCDF_LIBS=-L$(NETCDF)/lib -lnetcdf -lnetcdff
# HDF libraries
HDF5=/usr/local/hdf5-1.8.11-pgi
HDF5_INC=-I$(HDF5)/include
HDF5_LIB=-L$(HDF5)/lib -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -L/usr/local/zlib/lib -lz
# Machine-dependent options.
#----------------- LINUX Portland Group pgf77/gcc ---------------
CMACH=PC_LINUX1
F_COMP=/usr/local/pgi-13.6/bin/pgf90
C_COMP=/usr/local/pgi-13.6/bin/pgcc
LOADER=/usr/local/pgi-13.6/bin/pgf90
C_LOADER=/usr/local/pgi-13.6/bin/pgcc
LIBS=
MOD_EXT=mod
F_OPTS= $(NETCDF_LIBS) $(HDF_LIBS) -Mpreprocess -D$(CHEM) -O3 -byteswapio
C_OPTS= -O3
LOADER_OPTS=-O3
#-----------------------------------------------------------------
# If compiling for a single-CPU platform only (without MPI):
#-----------------------------------------------------------------
PAR_LIBS=
PAR_DEFS=
#-----------------------------------------------------------------
# For IBM,HP,SGI,ALPHA use these:
ARCHIVE=ar rs
# For NEC SX-6
#ARCHIVE=sxar rs
# For SUN,CONVEX
#ARCHIVE=ar r'
|
|