[gradsusr] reg: error during set environmenatl variables before configuration of wrf

Malleswararao Maguluri mallesh4science at gmail.com
Fri May 17 06:38:46 EDT 2013


Hi,

[root at localhost bin]# pwd
/opt/intel/composer_xe_2011_sp1.10.319/bin
[root at localhost bin]# source
/opt/intel/composer_xe_2011_sp1.10.319/bin/iccvars.sh ia32
[root at localhost bin]# which icc
/opt/intel/composer_xe_2011_sp1.10.319/bin/ia32/icc
[root at localhost bin]# which ifort
/opt/intel/bin/ifort

[root at localhost CWRF]# ls
WRFV3
[root at localhost CWRF]# cd WRFV3/
[root at localhost WRFV3]# ls
arch       dyn_exp   main       README.io_config    Registry
clean      dyn_nmm   Makefile   README.NMM          run
compile    external  phys       README.rsl_output   share
configure  frame     README     README_test_cases   test
dyn_em     inc       README.DA  README.windturbine  tools
[root at localhost WRFV3]# export JASPERLIB=/opt/jasper-1.701.0
[root at localhost WRFV3]# export JASPERINC=/opt/jasper-1.701.0
[root at localhost WRFV3]# export PATH=/opt/intel/bin:$PATH
[root at localhost WRFV3]# export F77=ifort
[root at localhost WRFV3]# export F90=ifort
[root at localhost WRFV3]# export
PATH=/opt/intel/composer_xe_2011_sp1.10.319/bin/ia32:$PATH
[root at localhost WRFV3]# export FC=icc
[root at localhost WRFV3]# ulimit -s unlimited
[root at localhost WRFV3]# ./configure
checking for perl5... no
checking for perl... found /usr/bin/perl (perl)
** WARNING: No path to NETCDF and environment variable NETCDF not set.
** would you like me to try to fix? [y]
y
Enter full path to NetCDF include directory on your system
/usr/local/include
Enter full path to NetCDF library directory on your system
/usr/local/lib
created new ./netcdf_links directory
total 0
lrwxrwxrwx. 1 root root 18 Jun 17 21:38 include -> /usr/local/include/
lrwxrwxrwx. 1 root root 14 Jun 17 21:38 lib -> /usr/local/lib/
Will use NETCDF in dir: /wrfpkgs/CWRF/WRFV3/netcdf_links
PHDF5 not set in environment. Will configure WRF for use without.
which: no timex in
(/opt/intel/composer_xe_2011_sp1.10.319/bin/ia32:/opt/intel/bin:/opt/intel/composer_xe_2013.3.163/bin/ia32:/opt/intel/composer_xe_2013.3.163/mpirt/bin/ia32:/opt/intel/composer_xe_2013.3.163/bin/intel64:/opt/intel/composer_xe_2013.3.163/mpirt/bin/intel64:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/opt/intel/composer_xe_2013.3.163/bin/ia32:/opt/intel/composer_xe_2013.3.163/debugger/gui/ia32)
Configuring to use jasper library to build Grib2 I/O...
  $JASPERLIB = /opt/jasper-1.701.0
  $JASPERINC = /opt/jasper-1.701.0
------------------------------------------------------------------------
Please select from among the following supported platforms.

   1.  Linux i486 i586 i686, gfortran compiler with gcc  (serial)
   2.  Linux i486 i586 i686, gfortran compiler with gcc  (smpar)
   3.  Linux i486 i586 i686, gfortran compiler with gcc  (dmpar)
   4.  Linux i486 i586 i686, gfortran compiler with gcc  (dm+sm)
   5.  Linux i486 i586 i686, g95 compiler with gcc  (serial)
   6.  Linux i486 i586 i686, g95 compiler with gcc  (dmpar)
   7.  Linux i486 i586 i686, PGI compiler with gcc  (serial)
   8.  Linux i486 i586 i686, PGI compiler with gcc  (smpar)
   9.  Linux i486 i586 i686, PGI compiler with gcc  (dmpar)
  10.  Linux i486 i586 i686, PGI compiler with gcc  (dm+sm)
  11.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (serial)
  12.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (smpar)
  13.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (dmpar)
  14.  Linux x86_64 i486 i586 i686, ifort compiler with icc  (dm+sm)
  15.  Linux i486 i586 i686 x86_64, PathScale compiler with pathcc  (serial)
  16.  Linux i486 i586 i686 x86_64, PathScale compiler with pathcc  (dmpar)

Enter selection [1-16] : 12
------------------------------------------------------------------------
Compile for nesting? (0=no nesting, 1=basic, 2=preset moves, 3=vortex
following) [default 0]: 0

Configuration successful. To build the model type compile .
------------------------------------------------------------------------
testing for fseeko and fseeko64
fseeko64 is supported
------------------------------------------------------------------------

# Settings for Linux x86_64 i486 i586 i686, ifort compiler with icc  (smpar)
#
#        By default, some files are compiled without optimizations to speed
up compilation. Removing
#        respective makefile rules in the end of this file will result in
longer compilation time, and, possibly
#        Out Of Memory messages, but might produce binaries which are
substantially faster.
#
#        Please visit
http://www.intel.com/support/performancetools/sb/cs-028607.htm
#        for latest info on how to build WRF with Intel compilers.
#
#        If you got Out Of Memory message, there are several options:
#          1. Check your memory limits (ulimit -a), possibly increasing
swap partitions size.
#          2. Remove any debugging flags (-g, -check, -traceback).
#          3. Force the problematic file to be compiled with less
optimizations (see examples at the
#             end of this file), try -no-ip compiler flag.
#
#        This configuration is aimed at accuracy. To improve performance
(at the expence of accuracy) you might
#        consider removing '-fp-model precise' flag from FCBASEOPTS. This
enables non value-safe optimizations.
#        Another option is to add '-ftz' flag, which flushes denormal
results to zero when the application is in
#        the gradual underflow mode. It may improve performance if the
denormal values are not critical to the
#        behavior of your workload. To further improve performance, add
suitable vectorization options for your
#        processor to FCOPTIM (see ifort manpage).
#
#        If you have Intel MPI installed and wish to use instead, make the
#        following changes to settings below:
#        DM_FC  = mpiifort
#        DM_CC  = mpiicc
#        and source bin64/mpivars.sh file from your Intel MPI installation
#        before the build.

DMPARALLEL      =       # 1
OMPCPP          =        -D_OPENMP
OMP             =        -openmp -fpp -auto
OMPCC           =        -openmp -fpp -auto
SFC             =       ifort
SCC             =       icc
CCOMP           =       icc
DM_FC           =       mpif90 -f90=$(SFC)
DM_CC           =       mpicc -cc=$(SCC)
FC              =        $(SFC)
CC              =       $(SCC) -DFSEEKO64_OK
LD              =       $(FC)
RWORDSIZE       =       $(NATIVE_RWORDSIZE)
PROMOTION       =       -i4
ARCH_LOCAL      =       -DNONSTANDARD_SYSTEM_FUNC
CFLAGS_LOCAL    =       -w -O3 -ip
LDFLAGS_LOCAL   =       -ip
CPLUSPLUSLIB    =
ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
FCOPTIM         =       -O3
FCREDUCEDOPT    =       $(FCOPTIM)
FCNOOPT        =       -O0 -fno-inline -fno-ip
FCDEBUG         =       # -g $(FCNOOPT) -traceback
FORMAT_FIXED    =       -FI
FORMAT_FREE     =       -FR
FCSUFFIX        =
BYTESWAPIO      =       -convert big_endian
FCBASEOPTS_NO_G =       -w -ftz -align all -fno-alias -fp-model precise
$(FORMAT_FREE) $(BYTESWAPIO)
FCBASEOPTS      =       $(FCBASEOPTS_NO_G) $(FCDEBUG)
MODULE_SRCH_FLAG =
TRADFLAG        =      -traditional
CPP             =      /lib/cpp -C -P
AR              =      ar
ARFLAGS         =      ru
M4              =      m4
RANLIB          =      ranlib
CC_TOOLS        =      $(SCC)

###########################################################
######################
# POSTAMBLE

FGREP = fgrep -iq

ARCHFLAGS       =    $(COREDEFS) -DIWORDSIZE=$(IWORDSIZE)
-DDWORDSIZE=$(DWORDSIZE) -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=$(LWORDSIZE) \
                     $(ARCH_LOCAL) \
                     $(DA_ARCHFLAGS) \
                       \
                       \
                      -DNETCDF \
                       \
                       \
                      -DGRIB2 \
                       \
                       \
                       \
                       \
                       \
                      -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)
FCFLAGS         =    $(FCOPTIM) $(FCBASEOPTS)
ESMF_LIB_FLAGS  =
 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

 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/wrfpkgs/CWRF/WRFV3/netcdf_links/lib  -lnetcdf
-L$(WRF_SRC_ROOT_DIR)/external/io_grib2 -lio_grib2 -L/opt/jasper-1.701.0
-ljasper

LIB             =    $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL)
LDFLAGS         =    $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)
ENVCOMPDEFS     =
WRF_CHEM    =    0
CPPFLAGS        =    $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE)
$(TRADFLAG)
NETCDFPATH      =    /wrfpkgs/CWRF/WRFV3/netcdf_links
PNETCDFPATH     =

bundled:  wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int
esmf_time fftpack
external:  wrfio_nf  wrfio_grib2 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.

mktemp: too few X's in template `foo_2383'

Testing for NetCDF, C and Fortran compiler

Usage: file [-bchikLlNnprsvz0] [--apple] [--mime-encoding] [--mime-type]
            [-e testname] [-F separator] [-f namefile] [-m magicfiles] file
...
       file -C [-m magicfiles]
       file [--help]
Usage: file [-bchikLlNnprsvz0] [--apple] [--mime-encoding] [--mime-type]
            [-e testname] [-F separator] [-f namefile] [-m magicfiles] file
...
       file -C [-m magicfiles]
       file [--help]
  One of compilers testing failed!
  Please check your compiler

Pls try to resolve this error anybody
-- 
M. MALLESWARA RAO
M.Tech (Atmospheric Science)
Young Professional in Cyclone Models
APSDPS, AP Secreteriat, Hyderabad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130517/a4143d66/attachment-0003.html 


More information about the gradsusr mailing list