[Wrf-users] WPS compilation errors
Jyothi N
millyjy77 at yahoo.com
Mon Jul 16 11:59:06 MDT 2007
Thanks for the replies.
Some specifics:
WRFV2 is present in the same dir level as WPS and there were no issues while compiling it.
In the previous compile.log, I used FC=pgf90; CC=pgcc. In this one, I've given, FC="mpif90 -f90=pgf90" CC="mpicc -cc=pgcc"
Some portions of configure.wrf, configure.wps and compile.log (for WPS) are given below.
Thanks for any help.
Jyothi
----------------------------------------------
configure.wrf:
#### Architecture specific settings ####
# Settings for PC Linux x86_64 (IA64 and Opteron), PGI 5.2 or higher DM-Parallel (RSL_LITE, MPICH, Allows nesting, No periodic LBCs)
# Note that for 5.1.x comment out -Mpia=fast
#
# Notes: for experimental implementation of moving nests, add -DMOVE_NESTS to ARCHFLAGS
# for experimental implementation of vortex tracking nests, add -DMOVE_NESTS -DVORTEX_CENTER to ARCHFLAGS
#
DMPARALLEL = 1
MAX_PROC = 1024
FC = mpif90
LD = mpif90
CC = mpicc -DMPI2_SUPPORT -DFSEEKO64_OK
SCC = pgcc
SFC = pgf90
RWORDSIZE = $(NATIVE_RWORDSIZE)
PROMOTION = -r$(RWORDSIZE) -i4
CFLAGS = -DDM_PARALLEL \
-DMAXDOM_MAKE=$(MAX_DOMAINS) -DMAXPROC_MAKE=$(MAX_PROC) -I../external/RSL_LITE \
-DLANDREAD_STUB
FCOPTIM = -fastsse #-Mipa=fast
FCDEBUG = #-g
#FCBASEOPTS = -w -byteswapio -Ktrap=fp -Mfree $(FCDEBUG)
FCBASEOPTS = -w -byteswapio -Mfree $(FCDEBUG)
FCFLAGS = $(FCOPTIM) $(FCBASEOPTS)
ARCHFLAGS = -DGRIB1 -DINTIO -DDM_PARALLEL \
-DIWORDSIZE=4 -DDWORDSIZE=8 -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=4 -DNETCDF \
-DLIMIT_ARGS -DLANDREAD_STUB
# machine-specific flags needed to link in ESMF library (C++ run-time-library, etc.)
ESMF_LIB_FLAGS =
ESMF_IO_LIB = -L../external/esmf_time_f90 -lesmf_time
ESMF_IO_LIB_EXT = -L../../external/esmf_time_f90 -lesmf_time
INCLUDE_MODULES = -module ../main -I../external/io_netcdf -I../external/io_int -I../external/esmf_time_f90 \
-I../external -I../frame -I../share -I../phys -I../inc -I../chem
PERL = perl
REGISTRY = Registry
LIB = -L../external/io_netcdf -lwrfio_nf -L/homes/jy/netcdf/lib -lnetcdf -L../external/RSL_LITE -lrsl_lite \
-L../external/io_grib1 -lio_grib1 \
\
-L../external/io_grib_share -lio_grib_share \
-L../external/io_int -lwrfio_int \
../frame/module_internal_header_util.o ../frame/pack_utils.o -L../external/esmf_time_f90 -lesmf_time
LDFLAGS = -byteswapio
ENVCOMPDEFS =
WRF_CHEM = 0
CPP = /lib/cpp -C -P -traditional
POUND_DEF = -DNO_RRTM_PHYSICS -traditional $(COREDEFS) -DNONSTANDARD_SYSTEM -DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) -DMAX_DOMAINS_F=$(MAX_DOMAINS)
CPPFLAGS = -I$(LIBINCLUDE) -C -P $(ARCHFLAGS) -I../external/RSL_LITE -C -P `cat ../inc/dm_comm_cpp_flags` $(ENVCOMPDEFS) $(POUND_DEF)
AR = ar ru
M4 = m4 -B 14000
RANLIB = ranlib
NETCDFPATH = /homes/jy/netcdf
CC_TOOLS = cc
-------------------------------------------------------
configure.wps:
# Settings for PC Linux x86_64 (IA64 and Opteron), PGI compiler 5.2 or higher, DM parallel
#
COMPRESSION_LIBS = -L/homes/jy/jasper/lib \
-ljasper -L/usr/lib -lz \
-L/homes/jy/PNG/lib \
-lpng12 -lpng
COMPRESSION_INC = -I/usr/include \
-I/homes/jy/jasper/include \
-I/homes/jy/PNG/include
FC = mpif90 -f90=pgf90
SFC = pgf90
FFLAGS = -Mfree -byteswapio -O -I/opt/hpmpi/include/64
F77FLAGS = -byteswapio -O -I/opt/hpmpi/include/64
FNGFLAGS = $(FFLAGS) -I/opt/hpmpi/include/64
LDFLAGS = -I/opt/hpmpi/include/64
CC = mpicc -cc=pgcc
SCC = pgcc
CFLAGS = -O -I/opt/hpmpi/include/64
CPP = /lib/cpp -C -P -traditional
CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -D_MPI -DBIT32 -I/opt/hpmpi/include/64
NCARG_LIBS2 = -L${PGI}/linux86-64/5.2/lib -lpgftnrtl -lpgc \
-L/usr/lib64 -lg2c
###########################################################
compile.log:
**** Compiling WPS and all utilities ****
( cd src ; \
make -i -r geogrid.exe \
WRF_DIR="/homes/jy/WPS/../WRFV2" \
FC="mpif90 -f90=pgf90" \
CC="mpicc -cc=pgcc" \
CPP="/lib/cpp -C -P -traditional" \
FFLAGS="-Mfree -byteswapio -O -I/opt/hpmpi/include/64" \
CFLAGS="-O -I/opt/hpmpi/include/64" \
LDFLAGS="-I/opt/hpmpi/include/64" \
CPPFLAGS="-D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -D_MPI -DBIT32 -I/opt/hpmpi/include/64 -D_GEOGRID" )
make[1]: Entering directory `/homes/jy/WPS/geogrid/src'
/bin/rm -f cio.o
mpicc -cc=pgcc -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -D_MPI -DBIT32 -I/opt/hpmpi/include/64 -D_GEOGRID -O -I/opt/hpmpi/include/64 -c cio.c
pgcc-Warning-Unknown switch: -cc=pgcc
/bin/rm -f wrf_debug.o wrf_debug.mod
/bin/cp wrf_debug.f90 wrf_debug.f
mpif90 -f90=pgf90 -Mfree -byteswapio -O -I/opt/hpmpi/include/64 -c wrf_debug.f -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc
pgf90-Warning-Unknown switch: -f90=pgf90
/bin/rm -f wrf_debug.f
/bin/rm -f parallel_module.o parallel_module.mod
/lib/cpp -C -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -D_MPI -DBIT32 -I/opt/hpmpi/include/64 -D_GEOGRID -DUSE_JPEG2000 -DUSE_PNG -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc parallel_module.F90 > parallel_module.f
mpif90 -f90=pgf90 -Mfree -byteswapio -O -I/opt/hpmpi/include/64 -c parallel_module.f -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc
pgf90-Warning-Unknown switch: -f90=pgf90
PGF90-F-0004-Unable to open MODULE file mpi.mod (parallel_module.f: 9)
PGF90/any Linux/x86-64 6.1-2: compilation aborted
make[1]: [parallel_module.o] Error 2 (ignored)
/bin/rm -f parallel_module.f
/bin/rm -f module_debug.o module_debug.mod
/lib/cpp -C -P -traditional -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -D_MPI -DBIT32 -I/opt/hpmpi/include/64 -D_GEOGRID -DUSE_JPEG2000 -DUSE_PNG -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc module_debug.F90 > module_debug.f
mpif90 -f90=pgf90 -Mfree -byteswapio -O -I/opt/hpmpi/include/64 -c module_debug.f -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc
pgf90-Warning-Unknown switch: -f90=pgf90
PGF90-F-0004-Unable to open MODULE file parallel_module.mod (module_debug.f: 4)
PGF90/any Linux/x86-64 6.1-2: compilation aborted
make[1]: [module_debug.o] Error 2 (ignored)
/bin/rm -f module_debug.f
/bin/rm -f bitarray_module.o bitarray_module.mod
/bin/cp bitarray_module.f90 bitarray_module.f
mpif90 -f90=pgf90 -Mfree -byteswapio -O -I/opt/hpmpi/include/64 -c bitarray_module.f -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc
pgf90-Warning-Unknown switch: -f90=pgf90
PGF90-F-0004-Unable to open MODULE file module_debug.mod (bitarray_module.f: 9)
PGF90/any Linux/x86-64 6.1-2: compilation aborted
make[1]: [bitarray_module.o] Error 2 (ignored)
/bin/rm -f bitarray_module.f
---------------------------------------------------------
mpif90 -f90=pgf90 -Mfree -byteswapio -O -I/opt/hpmpi/include/64 -c gridinfo_module.f -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc
pgf90-Warning-Unknown switch: -f90=pgf90
PGF90-F-0004-Unable to open MODULE file module_debug.mod (gridinfo_module.f: 10)
PGF90/any Linux/x86-64 6.1-2: compilation aborted
make[1]: [gridinfo_module.o] Error 2 (ignored)
/bin/rm -f gridinfo_module.f
/bin/rm -f module_map_utils.o module_map_utils.mod
/bin/cp module_map_utils.f90 module_map_utils.f
mpif90 -f90=pgf90 -Mfree -byteswapio -O -I/opt/hpmpi/include/64 -c module_map_utils.f -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc
pgf90-Warning-Unknown switch: -f90=pgf90
PGF90-F-0004-Unable to open MODULE file module_debug.mod (module_map_utils.f: 135)
PGF90/any Linux/x86-64 6.1-2: compilation aborted
make[1]: [module_map_utils.o] Error 2 (ignored)
/bin/rm -f module_map_utils.f
/bin/rm -f list_module.o list_module.mod
/bin/cp list_module.f90 list_module.f
mpif90 -f90=pgf90 -Mfree -byteswapio -O -I/opt/hpmpi/include/64 -c list_module.f -I/homes/jy/WPS/../WRFV2/external/io_netcdf -I/homes/jy/WPS/../WRFV2/external/io_grib_share -I/homes/jy/WPS/../WRFV2/external/io_grib1 -I/homes/jy/WPS/../WRFV2/external/io_int -I/homes/jy/WPS/../WRFV2/inc
pgf90-Warning-Unknown switch: -f90=pgf90
PGF90-F-0004-Unable to open MODULE file module_debug.mod (list_module.f: 9)
PGF90/any Linux/x86-64 6.1-2: compilation aborted
make[1]: [list_module.o] Error 2 (ignored)
---------------------
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20070716/e52db949/attachment.html
More information about the Wrf-users
mailing list