[Wrf-users] ask for help on installing and compiling WRF 3.5.1
Wu, Wei
wwu at bnl.gov
Mon Oct 14 10:18:23 MDT 2013
Hello,
We are new WRF users, writing to ask for help on installing and compiling WRF 3.5.1. Thanks very much in advance.
Is there a list of all the PATH variables required to compile WRF on a server not connected to the network?
We are having trouble compiling some of the modules for the Idealized Case listed in Chapter 5: WRF Model. Here are fatal errors we received:
[root at wrf WRF3.5.1]# grep -i Fatal compile.log
Fatal Error: Error count reached limit of 25.
Fatal Error: Can't open module file 'module_big_step_utilities_em.mod' for reading at (1): No such file or directory
Fatal Error: Can't open module file 'module_big_step_utilities_em.mod' for reading at (1): No such file or directory
Fatal Error: Can't open module file 'module_big_step_utilities_em.mod' for reading at (1): No such file or directory
Fatal Error: Can't open module file 'module_wps_io_arw.mod' for reading at (1): No such file or directory
[root at wrf WRF3.5.1]#
*******************************************
Here are more details about what we did and the errors we received:
*******************************************
[root at wrf WRF3.5.1]# ls
arch dyn_em main README.io_config Registry
clean dyn_exp Makefile README.NMM run
compile dyn_nmm phys README.rsl_output share
compile.log external README README.SSIB test
configure frame README.DA README_test_cases tools
configure.wrf inc README.hydro README.windturbine
[root at wrf WRF3.5.1]# ./clean
[root at wrf WRF3.5.1]# source /wrf/setenv
[root at wrf WRF3.5.1]# ./configure
checking for perl5... no
checking for perl... found /usr/bin/perl (perl)
Will use NETCDF in dir: /opt/netcdf
PHDF5 not set in environment. Will configure WRF for use without.
which: no timex in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/opt/IBM_DS/jre/bin:/opt/IBM_DS/jre/bin)
$JASPERLIB or $JASPERINC not found in environment, configuring to build without grib2 I/O...
------------------------------------------------------------------------
Please select from among the following supported platforms.
1. Linux x86_64 i486 i586 i686, PGI compiler with gcc (serial)
2. Linux x86_64 i486 i586 i686, PGI compiler with gcc (smpar)
3. Linux x86_64 i486 i586 i686, PGI compiler with gcc (dmpar)
4. Linux x86_64 i486 i586 i686, PGI compiler with gcc (dm+sm)
5. Linux x86_64 i486 i586 i686 PGI compiler with pgcc YELLOWSTONE (serial)
6. Linux x86_64 i486 i586 i686 PGI compiler with pgcc YELLOWSTONE (smpar)
7. Linux x86_64 i486 i586 i686 PGI compiler with pgcc YELLOWSTONE (dmpar)
8. Linux x86_64 i486 i586 i686 PGI compiler with pgcc YELLOWSTONE (dm+sm)
9. Linux x86_64, PGI compiler with pgcc, SGI MPT (serial)
10. Linux x86_64, PGI compiler with pgcc, SGI MPT (smpar)
11. Linux x86_64, PGI compiler with pgcc, SGI MPT (dmpar)
12. Linux x86_64, PGI compiler with pgcc, SGI MPT (dm+sm)
13. Linux x86_64, PGI accelerator compiler with gcc (serial)
14. Linux x86_64, PGI accelerator compiler with gcc (smpar)
15. Linux x86_64, PGI accelerator compiler with gcc (dmpar)
16. Linux x86_64, PGI accelerator compiler with gcc (dm+sm)
17. Linux x86_64 i486 i586 i686, ifort compiler with icc (serial)
18. Linux x86_64 i486 i586 i686, ifort compiler with icc (smpar)
19. Linux x86_64 i486 i586 i686, ifort compiler with icc (dmpar)
20. Linux x86_64 i486 i586 i686, ifort compiler with icc (dm+sm)
21. Linux x86_64 i486 i586 i686, Xeon Phi (MIC architecture) ifort compiler with icc (dm+sm)
22. Linux x86_64 i486 i586 i686, Xeon (SNB with AVX mods) ifort compiler with icc (serial)
23. Linux x86_64 i486 i586 i686, Xeon (SNB with AVX mods) ifort compiler with icc (smpar)
24. Linux x86_64 i486 i586 i686, Xeon (SNB with AVX mods) ifort compiler with icc (dmpar)
25. Linux x86_64 i486 i586 i686, Xeon (SNB with AVX mods) ifort compiler with icc (dm+sm)
26. Linux x86_64 i486 i586 i686, ifort compiler with icc YELLOWSTONE (serial)
27. Linux x86_64 i486 i586 i686, ifort compiler with icc YELLOWSTONE (smpar)
28. Linux x86_64 i486 i586 i686, ifort compiler with icc YELLOWSTONE (dmpar)
29. Linux x86_64 i486 i586 i686, ifort compiler with icc YELLOWSTONE (dm+sm)
30. Linux x86_64 i486 i586 i686, ifort compiler with icc, SGI MPT (serial)
31. Linux x86_64 i486 i586 i686, ifort compiler with icc, SGI MPT (smpar)
32. Linux x86_64 i486 i586 i686, ifort compiler with icc, SGI MPT (dmpar)
33. Linux x86_64 i486 i586 i686, ifort compiler with icc, SGI MPT (dm+sm)
34. Linux x86_64 i486 i586 i686, ifort compiler with icc, IBM POE (serial)
35. Linux x86_64 i486 i586 i686, ifort compiler with icc, IBM POE (smpar)
36. Linux x86_64 i486 i586 i686, ifort compiler with icc, IBM POE (dmpar)
37. Linux x86_64 i486 i586 i686, ifort compiler with icc, IBM POE (dm+sm)
38. Linux i486 i586 i686 x86_64, PathScale compiler with pathcc (serial)
39. Linux i486 i586 i686 x86_64, PathScale compiler with pathcc (dmpar)
40. x86_64 Linux, gfortran compiler with gcc (serial)
41. x86_64 Linux, gfortran compiler with gcc (smpar)
42. x86_64 Linux, gfortran compiler with gcc (dmpar)
43. x86_64 Linux, gfortran compiler with gcc (dm+sm)
44. Cray XE and XC30 CLE/Linux x86_64, Cray CCE compiler (serial)
45. Cray XE and XC30 CLE/Linux x86_64, Cray CCE compiler (smpar)
46. Cray XE and XC30 CLE/Linux x86_64, Cray CCE compiler (dmpar)
47. Cray XE and XC30 CLE/Linux x86_64, Cray CCE compiler (dm+sm)
48. Cray XC30 CLE/Linux x86_64, Xeon ifort compiler (serial)
49. Cray XC30 CLE/Linux x86_64, Xeon ifort compiler (smpar)
50. Cray XC30 CLE/Linux x86_64, Xeon ifort compiler (dmpar)
51. Cray XC30 CLE/Linux x86_64, Xeon ifort compiler (dm+sm)
52. Linux x86_64, Fujitsu FX10 mpifrtpx and mpifccpx compilers (serial)
53. Linux x86_64, Fujitsu FX10 mpifrtpx and mpifccpx compilers (smpar)
54. Linux x86_64, Fujitsu FX10 mpifrtpx and mpifccpx compilers (dmpar)
55. Linux x86_64, Fujitsu FX10 mpifrtpx and mpifccpx compilers (dm+sm)
Enter selection [1-55] : 40
------------------------------------------------------------------------
Compile for nesting? (0=no nesting, 1=basic, 2=preset moves, 3=vortex following) [default 0]:
Configuration successful. To build the model type compile .
------------------------------------------------------------------------
testing for fseeko and fseeko64
fseeko64 is supported
------------------------------------------------------------------------
# Settings for x86_64 Linux, gfortran compiler with gcc (serial)
#
DMPARALLEL = # 1
OMPCPP = # -D_OPENMP
OMP = # -fopenmp
OMPCC = # -fopenmp
SFC = gfortran
SCC = gcc
CCOMP = gcc
DM_FC = mpif90 -f90=$(SFC)
DM_CC = mpicc -cc=$(SCC)
FC = $(SFC)
CC = $(SCC) -DFSEEKO64_OK
LD = $(FC)
RWORDSIZE = $(NATIVE_RWORDSIZE)
PROMOTION = # -fdefault-real-8 # uncomment manually
ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM
CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB
LDFLAGS_LOCAL =
CPLUSPLUSLIB =
ESMF_LDFLAG = $(CPLUSPLUSLIB)
FCOPTIM = -O2 -ftree-vectorize -funroll-loops
FCREDUCEDOPT = $(FCOPTIM)
FCNOOPT = -O0
FCDEBUG = # -g $(FCNOOPT) # -ggdb -fbacktrace -fbounds-check -ffpe-trap=invalid,zero,overflow
FORMAT_FIXED = -ffixed-form
FORMAT_FREE = -ffree-form -ffree-line-length-none
FCSUFFIX =
BYTESWAPIO = -fconvert=big-endian -frecord-marker=4
FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO)
FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG)
MODULE_SRCH_FLAG =
TRADFLAG = -traditional
CPP = /lib/cpp -C -P
AR = ar
ARFLAGS = ru
M4 = m4 -G
RANLIB = ranlib
CC_TOOLS = $(SCC)
###########################################################
######################
# POSTAMBLE
FGREP = fgrep -iq
ARCHFLAGS = $(COREDEFS) -DIWORDSIZE=$(IWORDSIZE) -DDWORDSIZE=$(DWORDSIZE) -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=$(LWORDSIZE) \
$(ARCH_LOCAL) \
$(DA_ARCHFLAGS) \
\
\
-DNETCDF \
\
\
\
\
\
\
\
\
-DUSE_ALLOCATABLES \
-DGRIB1 \
-DINTIO \
-DLIMIT_ARGS \
-DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \
-DMAX_DOMAINS_F=$(MAX_DOMAINS) \
-DMAX_HISTORY=$(MAX_HISTORY) \
-DNMM_NEST=$(WRF_NMM_NEST)
CFLAGS = $(CFLAGS_LOCAL) \
-DMAX_HISTORY=$(MAX_HISTORY) -DNMM_CORE=$(WRF_NMM_CORE)
FCFLAGS = $(FCOPTIM) $(FCBASEOPTS)
ESMF_LIB_FLAGS =
# ESMF 5 -- these are defined in esmf.mk, included above
ESMF_IO_LIB = -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 -lesmf_time
ESMF_IO_LIB_EXT = -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 -lesmf_time
INCLUDE_MODULES = $(MODULE_SRCH_FLAG) \
$(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \
-I$(WRF_SRC_ROOT_DIR)/main \
-I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \
-I$(WRF_SRC_ROOT_DIR)/external/io_int \
-I$(WRF_SRC_ROOT_DIR)/frame \
-I$(WRF_SRC_ROOT_DIR)/share \
-I$(WRF_SRC_ROOT_DIR)/phys \
-I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \
-I$(NETCDFPATH)/include \
REGISTRY = Registry
CC_TOOLS_CFLAGS = -DNMM_CORE=$(WRF_NMM_CORE)
LIB_BUNDLED = \
$(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5/libfftpack.a \
$(WRF_SRC_ROOT_DIR)/external/io_grib1/libio_grib1.a \
$(WRF_SRC_ROOT_DIR)/external/io_grib_share/libio_grib_share.a \
$(WRF_SRC_ROOT_DIR)/external/io_int/libwrfio_int.a \
$(ESMF_IO_LIB) \
\
$(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \
$(WRF_SRC_ROOT_DIR)/frame/pack_utils.o
LIB_EXTERNAL = \
-L$(WRF_SRC_ROOT_DIR)/external/io_netcdf -lwrfio_nf -L/opt/netcdf/lib -lnetcdff -lnetcdf
LIB = $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL) $(LIB_WRF_HYDRO)
LDFLAGS = $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)
ENVCOMPDEFS =
WRF_CHEM = 0
CPPFLAGS = $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG)
NETCDFPATH = /opt/netcdf
PNETCDFPATH =
bundled: wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int esmf_time fftpack
external: wrfio_nf gen_comms_serial module_dm_serial $(ESMF_TARGET)
######################
------------------------------------------------------------------------
Settings listed above are written to configure.wrf.
If you wish to change settings, please edit that file.
If you wish to change the default options, edit the file:
arch/configure_new.defaults
NetCDF users note:
This installation of NetCDF supports large file support. To enable large file
support in NetCDF, set the environment variable WRFIO_NCD_LARGE_FILE_SUPPORT
to 1 and run configure again. Set to any other value to avoid this message.
Testing for NetCDF, C and Fortran compiler
This installation of NetCDF is 64-bit
C compiler is 64-bit
Fortran compiler is 64-bit
It will build in 64-bit
************************** W A R N I N G ************************************
There are some Fortran 2003 features in WRF that your compiler does not recognize
The IEEE signaling call has been removed. That may not be enough.
*****************************************************************************
[root at wrf WRF3.5.1]# ./compile
Usage:
compile [-d] [-j n] wrf compile wrf in run dir (NOTE: no real.exe, ndown.exe, or ideal.exe generated)
or choose a test case (see README_test_cases for details) :
compile em_b_wave
compile em_esmf_exp
compile em_fire
compile em_grav2d_x
compile em_heldsuarez
compile em_hill2d_x
compile em_les
compile em_quarter_ss
compile em_real
compile em_scm_xy
compile em_seabreeze2d_x
compile em_squall2d_x
compile em_squall2d_y
compile em_tropical_cyclone
compile exp_real
compile nmm_real
compile nmm_tropical_cyclone
compile -d compile without optimization and with debugging
compile -j n parallel make using n tasks if supported (default 2)
compile -h help message
[root at wrf WRF3.5.1]# ./compile em_squall2d_x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20131014/6b100ef2/attachment-0001.html
More information about the Wrf-users
mailing list