WPS (Version 3.2.1) compilation problems on IBM-AIX platform

Installing the WRF Preprocessing System

WPS (Version 3.2.1) compilation problems on IBM-AIX platform

Postby harpy » Thu Jan 20, 2011 10:04 am

I'm compiled WPSV3 on IBM Cluster 1600, selected "AIX DM Parallerl No GRIB2" , but I'm getting some errors such as:
1501-510 Compilation successful for file realloc.f.
xlf90_r: 1501-218 file addfield.f90 contains an incorrect file suffix
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
...

xlf90_r: 1501-218 file gf_unpack7.f90 contains an incorrect file suffix
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
...

1501-510 Compilation successful for file specunpack.f.
xlf90_r: 1501-218 file jpcpack.f90 contains an incorrect file suffix
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
xlf90_r: 1501-218 file jpcunpack.f90 contains an incorrect file suffix
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
xlf90_r: 1501-218 file pngpack.f90 contains an incorrect file suffix
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
xlf90_r: 1501-218 file pngunpack.f90 contains an incorrect file suffix
make: 1254-004 The error code from the last command is 1.
make: 1254-005 Ignored error code 1 from last command.
...

ar: Creating an archive file libg2_4.a.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file addfield.o.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file gf_unpack7.o.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file jpcpack.o.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file jpcunpack.o.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file pngpack.o.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file pngunpack.o.
make: 1254-004 The error code from the last command is 6.
make: 1254-005 Ignored error code 6 from last command.
.....

1501-510 Compilation successful for file read_namelist.f.
ar: Creating an archive file libpgu.a.
/bin/sh: test: 0403-004 Specify a parameter with this command.
ld: 0711-317 ERROR: Undefined symbol: .gf_unpack7
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
make: 1254-005 Ignored error code 8 from last command.

++++++++++++++++
The bottom is my configure.wps:
--------------------
# configure.wps
#
# This file was automatically generated by the configure script in the
# top level directory. You may make changes to the settings in this
# file but be aware they will be overwritten each time you run configure.
# Ordinarily, it is necessary to run configure once, when the code is
# first installed.
#
# To permanently change options, change the settings for your platform
# in the file arch/configure.defaults, the preamble, and the postamble -
# then rerun configure.
#

.SUFFIXES: .F .f .c .o

SHELL = /bin/sh

COMPRESSION_LIBS = -L/data3a/mp/gill/WPS_LIBS/local/lib \
-ljasper -lpng12 -lpng -lz

COMPRESSION_INC = -I/data3a/mp/gill/WPS_LIBS/local/include

NCARG_LIBS = -L$(NCARG_ROOT)/lib -lncarg -lncarg_gks -lncarg_c \
-L/usr/X11R6/lib -lX11

NCARG_LIBS2 =

FDEFS = -DUSE_JPEG2000 -DUSE_PNG

# Listing of options that are usually independent of machine type.
# When necessary, these are over-ridden by each architecture.

ARFLAGS =

PERL = perl

RANLIB = echo

WRF_DIR = ../WRFV3

WRF_INCLUDE = -I$(WRF_DIR)/external/io_netcdf \
-I$(WRF_DIR)/external/io_grib_share \
-I$(WRF_DIR)/external/io_grib1 \
-I$(WRF_DIR)/external/io_int \
-I$(WRF_DIR)/inc

WRF_LIB = -L$(WRF_DIR)/external/io_grib1 -lio_grib1 \
-L$(WRF_DIR)/external/io_grib_share -lio_grib_share \
-L$(WRF_DIR)/external/io_int -lwrfio_int \
-L$(WRF_DIR)/external/io_netcdf -lwrfio_nf \
-L$(NETCDF)/lib -lnetcdf

#### Architecture specific settings ####

# Settings for AIX DM parallel, NO GRIB2
#
COMPRESSION_LIBS =
COMPRESSION_INC =
FDEFS =
NCARG_LIBS =
NCARG_LIBS2 = -L/usr/local/lib64/r4i4 -lncarg -lncarg_gks -lncarg_c \
-L/usr/X11R6/lib -lX11 -lpng_ncl -lz_ncl
FC = mpxlf90_r
SFC = xlf90_r
FFLAGS = -qfree=f90
F77FLAGS = -qfixed
FCSUFFIX = -qsuffix=f=f90
FNGFLAGS = $(FFLAGS)
LDFLAGS =
CC = mpcc_r
SCC = cc
CFLAGS =
CPP = /usr/lib/cpp -C -P
CPPFLAGS = -DAIX -DIBM4 -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -D_MPI -DBIT32
ARFLAGS =

###########################################################
#
# Macros, these should be generic for all machines

LN = ln -sf
MAKE = make -i -r
RM = /bin/rm -f
CP = /bin/cp
AR = ar ru

.IGNORE:
.SUFFIXES: .c .f .F .o

# There is probably no reason to modify these rules

.c.o:
$(RM) $@
$(CC) $(CPPFLAGS) $(CFLAGS) -c $<

.f.o:
$(RM) $@ $*.mod
$(FC) $(F77FLAGS) -c $< $(WRF_INCLUDE)

.F.o:
$(RM) $@ $*.mod
$(CPP) $(CPPFLAGS) $(FDEFS) $(WRF_INCLUDE) $< > $*.f
$(FC) $(FFLAGS) -c $*.f $(WRF_INCLUDE)
$(RM) $*.f
+++++++++++++++++++++++++++

What could I do with these problems?
Thank you!
harpy
 
Posts: 1
Joined: Thu Jan 20, 2011 9:06 am

Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests