- 积分
- 313
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-4-22
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
#Makefile include include.mk.opt
############################## 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=/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=/nuist/p/public/app/ncl/6.1.2/intel
#LIBNCARG=-L$(NCARG_DIR) -lncarg-$(UTILS_VERSION) -lncarg_c-$(UTILS_VERSION) \
# -lncarg_gks-$(UTILS_VERSION)
#LIBNCARG=-L$(NCARG_DIR) -lncarg-$(UTILS_VERSION)
LIBNCARG=/nuist/p/public/app/ncl/6.1.2/intel/lib
#---------------------------------------------------------------
# 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=/nuist/p/public/app/netcdf/4.3.0/intel
NETCDF_INC=-I$(NETCDF)/include
NETCDF_LIBS=-L$(NETCDF)/lib -lnetcdff
# HDF libraries
HDF4=/nuist/p/public/app/hdf/4.2.9/intel
HDF5=/nuist/p/public/app/hdf5/1.8.11/intel
HDF5_INC=-I$(HDF5)/include -lhdf5
HDF5_LIB=-L$(HDF5)/lib -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 \
-L/usr/lib64 -ljpeg \
-L/usr/lib64 -lz \
# Machine-dependent options.
#----------------- LINUX Portland Group pgf77/gcc ---------------
CMACH=PC_LINUX1
F_COMP= /nuist/p/public/app/intel/bin/ifort
C_COMP= /nuist/p/public/app/intel/bin/icc
LOADER=/nuist/p/public/app/intel/bin/ifort
C_LOADER=/nuist/p/public/app/intel/bin/icc
LIBS=
MOD_EXT=mod
F_OPTS=$(NETCDF_LIBS) $(HDF5_LIB) -fpp -D$(CHEM) -convert big_endian -O2 -g -traceback -check all
C_OPTS= -fpp -D$(CHEM) -traceback # -checkbounds -O0 #-O2 -DUNDERSCORE -DLITTLE -Mipa=fast,inline,safe -tp amd64e -fastsse
LOADER_OPTS= -fpp -D$(CHEM) # -O2
#-----------------------------------------------------------------
# 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'
以上是我的include.mk.intel.wrf
编译结果是:
/nuist/p/public/app/intel/bin/ifort -fpp -DRADM_WRF_FIM -o ../prep_chem_sources_RADM_WRF_FIM.exe prep_chem_sources.o aer1_list.o chem1_list.o prep_chem_sources_utils.o convert_retro_to_CB07.o convert_AeM_to_CB07.o convert_bioge_to_CB07.o convert_edgar_to_RACM.o convert_retro_to_RACM.o convert_AeM_to_RACM.o convert_bioge_to_RACM.o convert_edgar_to_RACM_REAC.o convert_retro_to_RACM_REAC.o convert_AeM_to_RACM_REAC.o convert_bioge_to_RACM_REAC.o convert_edgar_to_RELACS.o convert_retro_to_RELACS.o convert_AeM_to_RELACS.o convert_bioge_to_RELACS.o convert_edgar_to_RELACS_REAC.o convert_retro_to_RELACS_REAC.o convert_AeM_to_RELACS_REAC.o convert_bioge_to_RELACS_REAC.o convert_megan_to_CB07.o convert_megan_to_RACM.o convert_megan_to_RACM_REAC.o convert_megan_to_RELACS.o convert_megan_to_RELACS_REAC.o convert_edgar_to_aer.o convert_edgar_to_CB07.o convert_edgar_to_RADM_WRF_FIM.o convert_retro_to_RADM_WRF_FIM.o convert_AeM_to_RADM_WRF_FIM.o convert_bioge_to_RADM_WRF_FIM.o convert_edgar_to_RADM_WRF_FIM_REAC.o convert_retro_to_RADM_WRF_FIM_REAC.o convert_AeM_to_RADM_WRF_FIM_REAC.o convert_bioge_to_RADM_WRF_FIM_REAC.o convert_megan_to_RADM_WRF_FIM.o convert_megan_to_RADM_WRF_FIM_REAC.o retro_emissions.o diurnal_cycle.o diurnal_cycle_fwb.o diurnal_cycle_edgar.o fwb_awb_emissions.o fire_properties.o 3bem_emissions.o volc_emissions.o volc_degassing_emissions.o gfedv2_8days_emissions.o biogenic_emissions.o megan_emissions.o gocart_background.o gocart_emissions.o streets_emissions.o seac4rs_emissions.o cetesb_update.o util_geometry.o edgar_emissions.o wb_emissions.o AeM_emission_factors.o 3bem_plumerise.o emission_fields.o grid_dims_output.o wrf_fim_utils.o ramslib.a ramsutils.a -L/nuist/p/public/app/netcdf/4.3.0/intel/lib -lnetcdff -L/nuist/p/public/app/hdf5/1.8.11/intel/lib -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5 -L/usr/lib64 -ljpeg -L/usr/lib64 -lz
/nuist/p/public/app/hdf5/1.8.11/intel/lib/libhdf5_fortran.so: undefined reference to `iso_c_binding_mp_c_loc_'
make: *** [../prep_chem_sources_RADM_WRF_FIM.exe] Error 1
求助啊。。。。。。困扰好久了。。。。。。
|
|