XLF 16.1 + ppc64le

All things involving the setup (compiling, NetCDF, etc.) of the WRF Model itself.

XLF 16.1 + ppc64le

Postby pslqbr » Tue Oct 30, 2018 5:07 am

Hi
I'm migrating my installation to another cluster with XLC16.1 + XLF16.1 and I'm stuck with the following error for the past two days:

time mpif90 -compiler /gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlf/16.1.0/bin/xlf90 -qzerosize -qhalt=s -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/include -I/opt/ibm/spectrum_mpi/include -q64 -I/opt/ibm/spectrum_mpi/lib/XL -qsource -qxlf2003=poly -qsuffix=f=f90:cpp=F -c -qrealsize=8 -qintsize=8 -qsuffix=f=f90:cpp=F -qxlf2003=poly -q64 -qnoopt -qdpc -I/opt/ibm/spectrum_mpi/lib/XL -qsource -qxlf2003=poly -w -qspill=81920 -qmaxmem=-1 -qfree=f90 -I../dyn_em -I../dyn_nmm -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/external/esmf_time_f90 -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/main -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/external/io_netcdf -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/external/io_int -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/frame -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/share -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/phys -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/wrftladj -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/chem -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/inc -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/include module_domain.f90
16997 | rc=rc )
.............................a......
a - "module_domain.f90", line 16997.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17017 | rc=rc )
.............................a......
a - "module_domain.f90", line 17017.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17037 | rc=rc )
.............................a......
a - "module_domain.f90", line 17037.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17057 | rc=rc )
.............................a......
a - "module_domain.f90", line 17057.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17080 | rc=rc )
.............................a......
a - "module_domain.f90", line 17080.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17162 | is_stop_time = WRFU_ClockIsStopTime( grid%domain_clock , rc=rc )
..................................................................a......
a - "module_domain.f90", line 17162.66: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17236 | YY=simulation_start_year, &
............................a...........................
a - "module_domain.f90", line 17236.28: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17252 | YY=simulation_start_year, &
..............................a...........................
a - "module_domain.f90", line 17252.30: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17352 | timeString=time_stepstr, rc=rc )
...............................................................a......
a - "module_domain.f90", line 17352.63: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17361 | Sn=Sn, Sd=Sd, rc=rc )
......................................a....................
a - "module_domain.f90", line 17361.38: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17389 | CALL WRFU_TimeGet( lcl_currtime, Sn=Sn, Sd=Sd, rc=rc )
............................................a....................
a - "module_domain.f90", line 17389.44: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17407 | rc=rc )
..............................a......
a - "module_domain.f90", line 17407.30: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17427 | D=days, S=seconds, Sn=Sn, Sd=Sd, rc=rc )
......................................a.......................................
a - "module_domain.f90", line 17427.38: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17496 | rc=rc )
...............................................a......
a - "module_domain.f90", line 17496.47: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17554 | rc=rc )
................................a......
a - "module_domain.f90", line 17554.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17559 | rc=rc )
................................a......
a - "module_domain.f90", line 17559.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17567 | rc=rc )
................................a......
a - "module_domain.f90", line 17567.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17573 | CALL WRFU_AlarmRingerOff( grid%alarms( alarm_id ) , rc=rc )
.............................................................a......
a - "module_domain.f90", line 17573.61: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17604 | rc=rc )
...............................a......
a - "module_domain.f90", line 17604.31: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17613 | rc=rc )
...............................a......
a - "module_domain.f90", line 17613.31: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17621 | S=time_step_seconds, rc=rc )
......................................a...........................
a - "module_domain.f90", line 17621.38: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17628 | rc=rc )
................................a......
a - "module_domain.f90", line 17628.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17658 | CALL WRFU_ClockAdvance( grid%domain_clock, rc=rc )
....................................................a......
a - "module_domain.f90", line 17658.52: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17688 | CALL WRFU_TimeGet( simStartTime, YY=grid%julyr, dayOfYear=grid%julday, &
..........................................a......................................
a - "module_domain.f90", line 17688.42: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17828 | CALL WRFU_TimeIntervalSet( TI, H=TI_H, M=TI_M, S=TI_S, rc=rc )
........................................a..............................
a - "module_domain.f90", line 17828.40: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17833 | CALL WRFU_TimeIntervalGet( TI, timeString=TI_str, rc=rc )
...........................................................a......
a - "module_domain.f90", line 17833.59: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17839 | CALL WRFU_TimeSet( CT, YY=CT_YY, MM=CT_MM, DD=CT_DD , &
................................a...............................
a - "module_domain.f90", line 17839.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17845 | CALL WRFU_TimeGet( CT, timeString=CT_str, rc=rc )
...................................................a......
a - "module_domain.f90", line 17845.51: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17851 | CALL WRFU_TimeSet( ST, YY=ST_YY, MM=ST_MM, DD=ST_DD , &
................................a...............................
a - "module_domain.f90", line 17851.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17857 | CALL WRFU_TimeGet( ST, timeString=ST_str, rc=rc )
...................................................a......
a - "module_domain.f90", line 17857.51: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17921 | CALL WRFU_TimeIntervalGet( timeSinceSimulationStart, timeString=res_str, rc=rc )
....................................................................................a......
a - "module_domain.f90", line 17921.84: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
"module_domain.f90", 1513-083 (E) Internal or module function time_step was not set within the function.
** module_domain === End of Compilation 1 ===
17977 | USE module_domain
.......a............
a - "module_domain.f90", line 17977.7: 1514-219 (S) Unable to access module symbol file for module module_domain. Check path and file permissions of file. Use association not done for this module.
1501-511 Compilation failed for file module_domain.f90.
0.64user 0.06system 0:00.71elapsed 99%CPU (0avgtext+0avgdata 99648maxresident)k
0inputs+3968outputs (0major+4998minor)pagefaults 0swaps
make[2]: [module_domain.o] Error 1 (ignored)
rm -f module_nesting.o
time mpif90 -compiler /gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlf/16.1.0/bin/xlf90 -qzerosize -qhalt=s -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/include -I/opt/ibm/spectrum_mpi/include -q64 -I/opt/ibm/spectrum_mpi/lib/XL -qsource -qxlf2003=poly -qsuffix=f=f90:cpp=F -c -qrealsize=8 -qintsize=8 -qsuffix=f=f90:cpp=F -qxlf2003=poly -q64 -qnoopt -qdpc -I/opt/ibm/spectrum_mpi/lib/XL -qsource -qxlf2003=poly -w -qspill=81920 -qmaxmem=-1 -qfree=f90 -I../dyn_em -I../dyn_nmm -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/external/esmf_time_f90 -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/main -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/external/io_netcdf -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/external/io_int -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/frame -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/share -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/phys -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/wrftladj -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/chem -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/WRF/inc -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/include module_domain.f90
16997 | rc=rc )
.............................a......
a - "module_domain.f90", line 16997.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17017 | rc=rc )
.............................a......
a - "module_domain.f90", line 17017.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17037 | rc=rc )
.............................a......
a - "module_domain.f90", line 17037.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17057 | rc=rc )
.............................a......
a - "module_domain.f90", line 17057.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17080 | rc=rc )
.............................a......
a - "module_domain.f90", line 17080.29: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17162 | is_stop_time = WRFU_ClockIsStopTime( grid%domain_clock , rc=rc )
..................................................................a......
a - "module_domain.f90", line 17162.66: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17236 | YY=simulation_start_year, &
............................a...........................
a - "module_domain.f90", line 17236.28: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17252 | YY=simulation_start_year, &
..............................a...........................
a - "module_domain.f90", line 17252.30: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17352 | timeString=time_stepstr, rc=rc )
...............................................................a......
a - "module_domain.f90", line 17352.63: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17361 | Sn=Sn, Sd=Sd, rc=rc )
......................................a....................
a - "module_domain.f90", line 17361.38: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17389 | CALL WRFU_TimeGet( lcl_currtime, Sn=Sn, Sd=Sd, rc=rc )
............................................a....................
a - "module_domain.f90", line 17389.44: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17407 | rc=rc )
..............................a......
a - "module_domain.f90", line 17407.30: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17427 | D=days, S=seconds, Sn=Sn, Sd=Sd, rc=rc )
......................................a.......................................
a - "module_domain.f90", line 17427.38: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17496 | rc=rc )
...............................................a......
a - "module_domain.f90", line 17496.47: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17554 | rc=rc )
................................a......
a - "module_domain.f90", line 17554.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17559 | rc=rc )
................................a......
a - "module_domain.f90", line 17559.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17567 | rc=rc )
................................a......
a - "module_domain.f90", line 17567.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17573 | CALL WRFU_AlarmRingerOff( grid%alarms( alarm_id ) , rc=rc )
.............................................................a......
a - "module_domain.f90", line 17573.61: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17604 | rc=rc )
...............................a......
a - "module_domain.f90", line 17604.31: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17613 | rc=rc )
...............................a......
a - "module_domain.f90", line 17613.31: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17621 | S=time_step_seconds, rc=rc )
......................................a...........................
a - "module_domain.f90", line 17621.38: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17628 | rc=rc )
................................a......
a - "module_domain.f90", line 17628.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17658 | CALL WRFU_ClockAdvance( grid%domain_clock, rc=rc )
....................................................a......
a - "module_domain.f90", line 17658.52: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17688 | CALL WRFU_TimeGet( simStartTime, YY=grid%julyr, dayOfYear=grid%julday, &
..........................................a......................................
a - "module_domain.f90", line 17688.42: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17828 | CALL WRFU_TimeIntervalSet( TI, H=TI_H, M=TI_M, S=TI_S, rc=rc )
........................................a..............................
a - "module_domain.f90", line 17828.40: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17833 | CALL WRFU_TimeIntervalGet( TI, timeString=TI_str, rc=rc )
...........................................................a......
a - "module_domain.f90", line 17833.59: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17839 | CALL WRFU_TimeSet( CT, YY=CT_YY, MM=CT_MM, DD=CT_DD , &
................................a...............................
a - "module_domain.f90", line 17839.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17845 | CALL WRFU_TimeGet( CT, timeString=CT_str, rc=rc )
...................................................a......
a - "module_domain.f90", line 17845.51: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17851 | CALL WRFU_TimeSet( ST, YY=ST_YY, MM=ST_MM, DD=ST_DD , &
................................a...............................
a - "module_domain.f90", line 17851.32: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17857 | CALL WRFU_TimeGet( ST, timeString=ST_str, rc=rc )
...................................................a......
a - "module_domain.f90", line 17857.51: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
17921 | CALL WRFU_TimeIntervalGet( timeSinceSimulationStart, timeString=res_str, rc=rc )
....................................................................................a......
a - "module_domain.f90", line 17921.84: 1513-061 (S) Actual argument attributes do not match those specified by an accessible explicit interface.
"module_domain.f90", 1513-083 (E) Internal or module function time_step was not set within the function.
** module_domain === End of Compilation 1 ===
17977 | USE module_domain
.......a............
a - "module_domain.f90", line 17977.7: 1514-219 (S) Unable to access module symbol file for module module_domain. Check path and file permissions of file. Use association not done for this module.
1501-511 Compilation failed for file module_domain.f90.
0.64user 0.06system 0:00.71elapsed 99%CPU (0avgtext+0avgdata 99648maxresident)k
0inputs+3968outputs (0major+4998minor)pagefaults 0swaps
make[2]: [module_domain.o] Error 1 (ignored)
rm -f module_nesting.o
=============================================================================================
=============================================================================================
# configure.wrf
#
# Original configure options used:
# ./configure
# Compiler choice: 39
# Nesting option: 1
#
# 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 then rerun configure.
#
SHELL = /bin/sh
DEVTOP = `pwd`
LIBINCLUDE = .
.SUFFIXES: .F .i .o .f90 .c

#### Get core settings from environment (set in compile script)
#### Note to add a core, this has to be added to.

COREDEFS = -DEM_CORE=$(WRF_EM_CORE) \
-DNMM_CORE=$(WRF_NMM_CORE) -DNMM_MAX_DIM=2600 \
-DDA_CORE=$(WRF_DA_CORE) \
-DWRFPLUS=$(WRF_PLUS_CORE)

#### Single location for defining total number of domains. You need
#### at least 1 + 2*(number of total nests). For example, 1 coarse
#### grid + three fine grids = 1 + 2(3) = 7, so MAX_DOMAINS=7.

MAX_DOMAINS = 21

#### DM buffer length for the configuration flags.

CONFIG_BUF_LEN = 65536

#### Size of bitmasks (in 4byte integers) of stream masks for WRF I/O

MAX_HISTORY = 25

IWORDSIZE = 4
DWORDSIZE = 8
LWORDSIZE = 4

##############################################################################
#### The settings in this section are defaults that may be overridden by the
#### architecture-specific settings in the next section.
##############################################################################

##############################################################################
#### NOTE: Do not modify these default values here. To override these
#### values, make changes after "Architecture specific settings".
##############################################################################

#### Native size (in bytes) of Fortran REAL data type on this architecture ####
#### Note: to change real wordsize (for example, to promote REALs from
#### 4-byte to 8-byte), modify the definition of RWORDSIZE in the
#### section following "Architecture specific settings". Do not
#### change NATIVE_RWORDSIZE as is it architecture-specific.
NATIVE_RWORDSIZE = 8

#### Default sed command and script for Fortran source files ####
#SED_FTN = sed -f $(WRF_SRC_ROOT_DIR)/arch/standard.sed
SED_FTN = $(WRF_SRC_ROOT_DIR)/tools/standard.exe

# Hack to work around $(PWD) not changing during OSF1 build.
# $(IO_GRIB_SHARE_DIR) is reset during the OSF1 build only.
IO_GRIB_SHARE_DIR =

#### ESMF switches ####
#### These are set up by Config.pl ####
# switch to use separately installed ESMF library for coupling: 1==true
ESMF_COUPLING = 0
# select dependences on module_utility.o
ESMF_MOD_DEPENDENCE = $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90/module_utility.o
# select -I options for external/io_esmf vs. external/esmf_time_f90
ESMF_IO_INC = -I$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90
# select -I options for separately installed ESMF library, if present
ESMF_MOD_INC = $(ESMF_IO_INC)
# select cpp token for external/io_esmf vs. external/esmf_time_f90
ESMF_IO_DEFS =
# select build target for external/io_esmf vs. external/esmf_time_f90
ESMF_TARGET = esmf_time

# ESMFINCLUDEGOESHERE


#### NETCDF4 pieces

NETCDF4_IO_OPTS = -DUSE_NETCDF4_FEATURES -DWRFIO_NCD_LARGE_FILE_SUPPORT
GPFS =
CURL =
HDF5 =
ZLIB =
DEP_LIB_PATH =
NETCDF4_DEP_LIB = $(DEP_LIB_PATH) $(HDF5) $(ZLIB) $(GPFS) $(CURL)

# NETCDF4INCLUDEGOESHERE


##############################################################################

LIBWRFLIB = libwrflib.a


#### Architecture specific settings ####

# Settings for Linux x86_64 ppc64le i486 i586 i686, xlf compiler with xlc (dm+sm)
#
XLF_BASE = /gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlf/16.1.0
XLC_BASE = /gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlC/16.1.0
DESCRIPTION = IBM ($SFC/$SCC)
DMPARALLEL = 1
OMPCPP = -D_OPENMP
OMP = -qsmp=omp
OMPCC = -qsmp=omp
SFC = $(XLF_BASE)/bin/xlf90 -qzerosize -qhalt=s -I/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/include -I/opt/ibm/spectrum_mpi/include -q64 -I/opt/ibm/spectrum_mpi/lib/XL -qsource -qxlf2003=poly -qsuffix=f=f90:cpp=F
SCC = $(XLC_BASE)/bin/xlc
SC99 = $(XLC_BASE)/bin/xlc
CCOMP = $(XLC_BASE)/bin/xlc
DM_FC = mpif90 -compiler $(SFC)
DM_CC = mpicc -compiler $(SCC) -DMPI2_SUPPORT -DFSEEKO64_OK -DMPI2_SUPPORT # -DMPI2_SUPPORT
FC = time $(DM_FC)
CC = $(DM_CC)
LD = $(FC)
RWORDSIZE = $(NATIVE_RWORDSIZE)
PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=8
ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -DNONSTANDARD_SYSTEM -DNATIVE_MASSV -DWRF_USE_CLM
CFLAGS_LOCAL = -DNOUNDERSCORE
LDFLAGS_LOCAL = -L/vol/ibmplatform/lsf/10.1/linux3.10-glibc2.17-ppc64le/lib -L/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/lib -L/opt/ibm/lib -L/opt/ibm/spectrum_mpi/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlmass/9.1.0/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlsmp/5.1.0/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlC/16.1.0/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlf/16.1.0/lib -L/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/lib -L/opt/ibm/lib -L/opt/ibm/spectrum_mpi/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlmass/9.1.0/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlsmp/5.1.0/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlC/16.1.0/lib -L/gpfs/gpfs_gl4_16mb/RHEL/XL/P8/xlf/16.1.0/lib -L/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/lib -lmass -lmass_simdp8 -lmassvp8 -lm -lmpi_ibm -lmass -lmass_simdp8 -lmassvp8 -lm -lmpi_ibm -lmass -lmassvp8 -lxlsmp -lxl -lmass_simdp8 -q64 -bnoquiet # linking diagnostics -q64 -bnoquiet # linking diagnostics
CPLUSPLUSLIB = -lC
ESMF_LDFLAG = $(CPLUSPLUSLIB)
# -qhot commented out in 3.0.1.1 release because of reported problems with
# model results under certain configurations. Use at your own risk.
# -qstrict added in 3.6.1 release because of reported problems with
# model stability under certain configurations. Use at your own risk.
FCOPTIM = -qdpc -q64 -O3 -qtune=pwr9 -qmaxmem=-1 -qsimd=auto -qsmp=omp:auto -qaltivec -qxlf2003=poly -qpic -qunroll=yes -qvsx -qalias_size=209715200 -I/opt/ibm/spectrum_mpi/lib/XL -qsource # -q64 -O3 -qstrict # -qhot qsource
# if linking problems with libxlsmp occur, try -qsmp=noauto
FCREDUCEDOPT = -q64 -O2 -qdpc -I/opt/ibm/spectrum_mpi/lib/XL -qsource -qxlf2003=poly
FCNOOPT = -q64 -qnoopt -qdpc -I/opt/ibm/spectrum_mpi/lib/XL -qsource -qxlf2003=poly # -qsmp=noauto
FCDEBUG = # -g $(FCNOOPT) -qfullpath
FORMAT_FIXED = -qfixed
FORMAT_FREE = -qfree=f90
FCSUFFIX = -qsuffix=f=f90:cpp=F -qxlf2003=poly
BYTESWAPIO =
FCBASEOPTS_NO_G = -w -qspill=81920 -qmaxmem=-1 $(FORMAT_FREE) $(BYTESWAPIO) #-qflttrap=zerodivide:invalid:enable -qsigtrap -C # -qinitauto=7FF7FFFF
FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG)
MODULE_SRCH_FLAG =
TRADFLAG =
# instead of the GNU CPP, the CPP shipped with XLF should be used,
# which does not work with the -traditional flag
#CPP = $(XLF_BASE)/exe/cpp -P -nostdinc
CPP = $(XLF_BASE)/exe/cpp -P -nostdinc
AR = ar
ARFLAGS = ru
M4 = m4 -B 14000 -DLA_DZ
RANLIB = ranlib
RLFLAGS =
CC_TOOLS = $(XLC_BASE)/bin/cc -O3 -qtune=pwr9

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

FGREP = fgrep -iq

ARCHFLAGS = $(COREDEFS) -DIWORDSIZE=$(IWORDSIZE) -DDWORDSIZE=$(DWORDSIZE) -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=$(LWORDSIZE) \
$(ARCH_LOCAL) \
$(DA_ARCHFLAGS) \
-DDM_PARALLEL \
\
-DNETCDF \
\
-DUSE_ALLOCATABLES \
-Dwrfmodel \
-DGRIB1 \
-DINTIO \
-DKEEP_INT_AROUND \
-DLIMIT_ARGS \
-DBUILD_RRTMG_FAST=1 \
-DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \
-DMAX_DOMAINS_F=$(MAX_DOMAINS) \
-DMAX_HISTORY=$(MAX_HISTORY) \
-DNMM_NEST=$(WRF_NMM_NEST)
CFLAGS = $(CFLAGS_LOCAL) -DDM_PARALLEL \
-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)/wrftladj \
-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)/external/RSL_LITE/librsl_lite.a \
$(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/gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF/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 = /gpfs/gpfs_gl4_16mb/b8p212/b8p212za/WRF
HDF5PATH =
WRFPLUSPATH =
RTTOVPATH =
PNETCDFPATH =

bundled: io_only
external: io_only $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a gen_comms_rsllite module_dm_rsllite $(ESMF_TARGET)
io_only: esmf_time wrfio_nf \
wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int fftpack


######################
externals: io_only bundled external

gen_comms_serial :
( /bin/rm -f $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c )

module_dm_serial :
( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; cat module_dm_stubs.F >> module_dm.F ; fi )

gen_comms_rsllite :
( if [ ! -e $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ] ; then \
/bin/cp $(WRF_SRC_ROOT_DIR)/tools/gen_comms_warning $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; \
cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/gen_comms.c >> $(WRF_SRC_ROOT_DIR)/tools/gen_comms.c ; fi )

module_dm_rsllite :
( if [ ! -e module_dm.F ] ; then /bin/cp module_dm_warning module_dm.F ; \
cat $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/module_dm.F >> module_dm.F ; fi )

wrfio_nf :
( cd $(WRF_SRC_ROOT_DIR)/external/io_netcdf ; \
make $(J) NETCDFPATH="$(NETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
CC="$(SCC)" CFLAGS="$(CFLAGS)" \
FC="$(SFC) $(PROMOTION) $(OMP) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )

wrfio_pnf :
( cd $(WRF_SRC_ROOT_DIR)/external/io_pnetcdf ; \
make $(J) NETCDFPATH="$(PNETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP) $(ARCHFLAGS)" \
FC="$(FC) $(PROMOTION) $(OMP) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )

wrfio_grib_share :
( cd $(WRF_SRC_ROOT_DIR)/external/io_grib_share ; \
make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)

wrfio_grib1 :
( cd $(WRF_SRC_ROOT_DIR)/external/io_grib1 ; \
make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)

wrfio_grib2 :
( cd $(WRF_SRC_ROOT_DIR)/external/io_grib2 ; \
make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
CPP="$(CPP)" \
FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
FIXED="$(FORMAT_FIXED)" archive)

wrfio_int :
( cd $(WRF_SRC_ROOT_DIR)/external/io_int ; \
make $(J) CC="$(CC)" CFLAGS_LOCAL="$(CFLAGS_LOCAL)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(OMP)" FGREP="$(FGREP)" \
TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ARCHFLAGS="$(ARCHFLAGS)" all )

esmf_time :
( cd $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 ; \
make $(J) FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" \
CPP="$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )

fftpack :
( cd $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 ; \
make $(J) FC="$(SFC)" FFLAGS="$(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" AR="$(AR)" \
ARFLAGS="$(ARFLAGS)" CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" RM="$(RM)" )

atm_ocn :
( cd $(WRF_SRC_ROOT_DIR)/external/atm_ocn ; \
make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" \
FC="$(DM_FC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
FIXED="$(FORMAT_FIXED)" )

$(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a :
( cd $(WRF_SRC_ROOT_DIR)/external/RSL_LITE ; make $(J) CC="$(CC) $(CFLAGS)" \
FC="$(FC) $(FCFLAGS) $(OMP) $(PROMOTION) $(BYTESWAPIO)" \
CPP="$(CPP) -I. $(ARCHFLAGS) $(OMPCPP) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ;\
$(RANLIB) $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a )

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

LN = ln -sf
MAKE = make -i -r
RM = rm -f


# These sub-directory builds are identical across all architectures

wrf_ioapi_includes :
( cd $(WRF_SRC_ROOT_DIR)/external/ioapi_share ; \
$(MAKE) NATIVE_RWORDSIZE="$(NATIVE_RWORDSIZE)" RWORDSIZE="$(RWORDSIZE)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )

wrfio_esmf :
( cd $(WRF_SRC_ROOT_DIR)/external/io_esmf ; \
make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \
RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " AR="$(AR)" ARFLAGS="$(ARFLAGS)" )

# There is probably no reason to modify these rules

.F.i:
$(RM) $@
sed -e "s/^\!.*'.*//" -e "s/^ *\!.*'.*//" $*.F > $*.G
$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.G > $*.i
mv $*.i $(DEVTOP)/pick/$*.f90
cp $*.F $(DEVTOP)/pick

.F.o:
$(RM) $@
sed -e "s/^\!.*'.*//" -e "s/^ *\!.*'.*//" $*.F > $*.G
$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.G > $*.bb
$(SED_FTN) $*.bb | $(CPP) $(TRADFLAG) > $*.f90
$(RM) $*.G $*.bb
@ if echo $(ARCHFLAGS) | $(FGREP) 'DVAR4D'; then \
echo COMPILING $*.F for 4DVAR ; \
$(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 > $*.f90.tmp ; \
mv $*.f90.tmp $*.f90 ; \
fi
$(FC) -o $@ -c $(FCFLAGS) $(OMP) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90


.F.f90:
$(RM) $@
sed -e "s/^\!.*'.*//" -e "s/^ *\!.*'.*//" $*.F > $*.G
$(SED_FTN) $*.G > $*.H
$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.H > $@
$(RM) $*.G $*.H

.f90.o:
$(RM) $@
$(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90

setfeenv.o : setfeenv.c
$(RM) $@
$(CCOMP) -o $@ -c $(CFLAGS) $(OMPCC) $*.c

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

# A little more adventurous. Allow full opt on
# mediation_integrate.o \
# shift_domain_em.o \
# solve_em.o <-- gets a little kick from SOLVE_EM_SPECIAL too, if defined
# mediation_feedback_domain.o : mediation_feedback_domain.F
# mediation_force_domain.o : mediation_force_domain.F
# mediation_interp_domain.o : mediation_interp_domain.F

# compile these without high optimization to speed compile
track_driver.o : track_driver.F
convert_nmm.o : convert_nmm.F
init_modules_em.o : init_modules_em.F
input_wrf.o : input_wrf.F
module_io.o : module_io.F
module_comm_dm.o : module_comm_dm.F
module_comm_dm_0.o : module_comm_dm_0.F
module_comm_dm_1.o : module_comm_dm_1.F
module_comm_dm_2.o : module_comm_dm_2.F
module_comm_dm_3.o : module_comm_dm_3.F
module_comm_nesting_dm.o : module_comm_nesting_dm.F
module_configure.o : module_configure.F
module_domain.o : module_domain.F
module_domain_type.o : module_domain_type.F
module_alloc_space_0.o : module_alloc_space_0.F
module_alloc_space_1.o : module_alloc_space_1.F
module_alloc_space_2.o : module_alloc_space_2.F
module_alloc_space_3.o : module_alloc_space_3.F
module_alloc_space_4.o : module_alloc_space_4.F
module_alloc_space_5.o : module_alloc_space_5.F
module_alloc_space_6.o : module_alloc_space_6.F
module_alloc_space_7.o : module_alloc_space_7.F
module_alloc_space_8.o : module_alloc_space_8.F
module_alloc_space_9.o : module_alloc_space_9.F
module_tiles.o : module_tiles.F
module_initialize.o : module_initialize.F
module_physics_init.o : module_physics_init.F
module_initialize_squall2d_x.o : module_initialize_squall2d_x.F
module_initialize_squall2d_y.o : module_initialize_squall2d_y.F
module_initialize_scm_xy.o : module_initialize_scm_xy.F
module_integrate.o : module_integrate.F
module_io_mm5.o : module_io_mm5.F
module_io_wrf.o : module_io_wrf.F
module_si_io.o : module_si_io.F
module_wps_io_arw.o : module_wps_io_arw.F
module_state_description.o : module_state_description.F
output_wrf.o : output_wrf.F
solve_interface.o : solve_interface.F
start_domain.o : start_domain.F
wrf_bdyin.o : wrf_bdyin.F
wrf_bdyout.o : wrf_bdyout.F
wrf_ext_read_field.o : wrf_ext_read_field.F
wrf_ext_write_field.o : wrf_ext_write_field.F
wrf_fddaobs_in.o : wrf_fddaobs_in.F
wrf_histin.o : wrf_histin.F
wrf_histout.o : wrf_histout.F
wrf_inputin.o : wrf_inputin.F
wrf_inputout.o : wrf_inputout.F
wrf_restartin.o : wrf_restartin.F
wrf_restartout.o : wrf_restartout.F
wrf_tsin.o : wrf_tsin.F
nl_get_0_routines.o : nl_get_0_routines.F
nl_get_1_routines.o : nl_get_1_routines.F
nl_set_0_routines.o : nl_set_0_routines.F
nl_set_1_routines.o : nl_set_1_routines.F

track_driver.o \
convert_nmm.o \
init_modules_em.o \
module_initialize.o \
module_initialize_squall2d_x.o \
module_initialize_squall2d_y.o \
module_initialize_scm_xy.o \
module_integrate.o \
module_io_mm5.o \
module_io_wrf.o \
module_si_io.o \
module_wps_io_arw.o \
module_tiles.o \
output_wrf.o \
solve_interface.o \
start_domain.o \
wrf_fddaobs_in.o \
wrf_tsin.o :
$(RM) $@
$(SED_FTN) $*.F > $*.b
$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b > $*.f90
$(RM) $*.b
@ if echo $(ARCHFLAGS) | $(FGREP) 'DVAR4D'; then \
echo COMPILING $*.F for 4DVAR ; \
$(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 > $*.f90.tmp ; \
mv $*.f90.tmp $*.f90 ; \
fi
if $(FGREP) '!$$OMP' $*.f90 ; then \
if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITH OMP ; fi ; \
$(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 ; \
else \
if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITHOUT OMP ; fi ; \
$(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $*.f90 ; \
fi

#solve_em.o :
# $(RM) $@
# $(SED_FTN) $*.F > $*.b
# $(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $*.b > $*.f90
# $(RM) $*.b
# $(FC) -o $@ -c $(FCFLAGS) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $(SOLVE_EM_SPECIAL) $(OMP) $*.f90

module_sf_ruclsm.o : module_sf_ruclsm.F

module_sf_ruclsm.o :
$(RM) $@
$(SED_FTN) $*.F > $*.b
$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.b > $*.f90
$(RM) $*.b
if $(FGREP) '!$$OMP' $*.f90 ; then \
echo COMPILING $*.F WITH OMP ; \
if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITH OMP ; fi ; \
$(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 ; \
else \
if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITHOUT OMP ; fi ; \
$(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $*.f90 ; \
fi

# compile without OMP
input_wrf.o \
module_domain.o \
module_domain_type.o \
module_physics_init.o \
module_io.o \
wrf_bdyin.o \
wrf_bdyout.o \
wrf_ext_read_field.o \
wrf_ext_write_field.o \
wrf_histin.o \
wrf_histout.o \
wrf_inputin.o \
wrf_inputout.o \
wrf_restartin.o \
wrf_restartout.o \
module_state_description.o \
module_alloc_space.o \
module_alloc_space_0.o \
module_alloc_space_1.o \
module_alloc_space_2.o \
module_alloc_space_3.o \
module_alloc_space_4.o \
module_alloc_space_5.o \
module_alloc_space_6.o \
module_alloc_space_7.o \
module_alloc_space_8.o \
module_alloc_space_9.o \
module_comm_dm.o \
module_comm_dm_0.o \
module_comm_dm_1.o \
module_comm_dm_2.o \
module_comm_dm_3.o \
module_comm_nesting_dm.o \
module_configure.o :
$(RM) $@
$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc $(CPPFLAGS) $(OMPCPP) $*.F > $*.bb
$(SED_FTN) $*.bb | $(CPP) $(TRADFLAG) > $*.f90
@ if echo $(ARCHFLAGS) | $(FGREP) 'DVAR4D'; then \
echo COMPILING $*.F for 4DVAR ; \
$(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 > $*.f90.tmp ; \
mv $*.f90.tmp $*.f90 ; \
fi
$(RM) $*.b $*.bb
$(FC) -c $(PROMOTION) $(FCSUFFIX) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $*.f90


=============================================================================================
=============================================================================================


Has anyone faced/fixed similar issue ?
pslqbr
 
Posts: 2
Joined: Fri Oct 26, 2018 7:32 am

Re: XLF 16.1 + ppc64le

Postby kwthomas » Tue Oct 30, 2018 5:19 pm

Hi...

Are using a recent WRF version? The code seems okay in WRF 3.9.1.1, though I could be wrong. Older
versions may have bugs.

I'm not familiar with your compiler.
Kevin W. Thomas
Center for Analysis and Prediction of Storms
University of Oklahoma
kwthomas
 
Posts: 279
Joined: Thu Aug 07, 2008 6:53 pm

Re: XLF 16.1 + ppc64le

Postby pslqbr » Wed Oct 31, 2018 5:12 pm

Hi
I'm using the latest 4.0.1 from github and this one is actually a clone from master
I'll try again with 4.0.1 and see if the problem is the same :)
pslqbr
 
Posts: 2
Joined: Fri Oct 26, 2018 7:32 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 9 guests