netcdf-fortran icon indicating copy to clipboard operation
netcdf-fortran copied to clipboard

run_f90_par_test.sh problem Testing compressed data writes with parallel I/O

Open leecsai opened this issue 3 years ago • 1 comments
trafficstars

To report a non-security related issue, please provide:

When I run make check command during netcdf-fortran installation, the program will report some errors:

...
PASS: f90tst_vars4
PASS: f90tst_io
FAIL: run_f90_par_test.sh
============================================================================
Testsuite summary for netCDF-Fortran 4.5.4
============================================================================
# TOTAL: 15
# PASS:  14
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See nf03_test4/test-suite.log
...

I checked the nf03_test4/test-suite.log, I find the program report 170 exit code while Testing compressed data writes with parallel I/O.

...
 *** Testing fill values with parallel I/O.
 *** SUCCESS!
 *** Testing compressed data writes with parallel I/O.
170
170
170
170
FAIL run_f90_par_test.sh (exit status: 170)

I don't know the meaning of the 170 exit code, pls tell me how to resolve this error. Or can I ignore this error? Tks~

My environment is: CentOS 7.9 64 bit Intel HPC Toolkit:

[root@manage1 nf03_test4]# mpiicc --version && mpiifort --version
icc (ICC) 2021.6.0 20220226
Copyright (C) 1985-2022 Intel Corporation.  All rights reserved.
ifort (IFORT) 2021.6.0 20220226
Copyright (C) 1985-2022 Intel Corporation.  All rights reserved.

hdf5 1.12.2 version:

./configure --enable-shared --enable-fortran --enable-tests --enable-parallel --prefix=/public/software/datamodel/hdf5/1.12.2_intel CC=mpiicc FC=mpiifort --with-zlib=/public/software/datamodel/zlib/1.2.11 --with-szlib=yes

pnecdf 1.12.1 version:

 PnetCDF Version 1.12.1

   Features:  Build static libraries                      - yes
              Build shared libraries                      - no
              Build Fortran APIs                          - yes
              Build C++ APIs                              - yes

   Compilers: MPICC    = /public/software/compiler/intel/2022.2.0.191/mpi/2021.6.0/bin/mpiicc
              MPICXX   = /public/software/compiler/intel/2022.2.0.191/mpi/2021.6.0/bin/mpiicpc
              MPIF77   = /public/software/compiler/intel/2022.2.0.191/mpi/2021.6.0/bin/mpiifort
              MPIF90   = /public/software/compiler/intel/2022.2.0.191/mpi/2021.6.0/bin/mpiifort
              CFLAGS   = -fPIC -O2 -xHOST
              CXXFLAGS = -fPIC -O2 -xHOST
              FFLAGS   = -fPIC -O2 -xHOST
              FCFLAGS  = -fPIC -O2 -xHOST

netcdf 4.8.1 version:

[root@manage1 netcdf-c-4.8.1]# nc-config --all

This netCDF 4.8.1 has been built with the following features:

  --cc            -> mpiicc
  --cflags        -> -I/public/software/datamodel/netcdf-c/4.8.1/include -I/public/software/datamodel/hdf5/1.12.2_intel/include -I/public/software/datamodel/pnetcdf/pnetcdf-1.12.1_intel//include
  --libs          -> -L/public/software/datamodel/netcdf-c/4.8.1/lib -lnetcdf
  --static        -> -lpnetcdf -lhdf5_hl -lhdf5 -lm -lz -lcurl

  --has-c++       -> no
  --cxx           ->

  --has-c++4      -> no
  --cxx4          ->

  --has-fortran   -> no
  --has-dap       -> yes
  --has-dap2      -> yes
  --has-dap4      -> yes
  --has-nc2       -> yes
  --has-nc4       -> yes
  --has-hdf5      -> yes
  --has-hdf4      -> no
  --has-logging   -> no
  --has-pnetcdf   -> yes
  --has-szlib     -> no
  --has-cdf5      -> yes
  --has-parallel4 -> yes
  --has-parallel  -> yes
  --has-nczarr    -> yes

  --prefix        -> /public/software/datamodel/netcdf-c/4.8.1
  --includedir    -> /public/software/datamodel/netcdf-c/4.8.1/include
  --libdir        -> /public/software/datamodel/netcdf-c/4.8.1/lib
  --version       -> netCDF 4.8.1

netcdf-fortran-4.5.4 version:

# General
-------
Library Version:                4.5.4
Configured On:                  Tue Nov  8 23:16:03 CST 2022
Host System:                    x86_64-pc-linux-gnu
Build Directory:                /tmp/netcdf-fortran-4.5.4
Install Prefix:                 /public/software/datamodel/netcdf-fortran/4.5.4_intel

# Compiling Options
-----------------
Fortran Compiler:               /public/software/compiler/intel/2022.2.0.191/mpi/2021.6.0/bin/mpiifort
FFLAGS:                         -g -fallow-argument-mismatch -mismatch_all
LDFLAGS:                        -L/public/software/datamodel/hdf5/1.12.2_intel/lib -L/public/software/datamodel/netcdf-c/4.8.1/lib -L/public/software/datamodel/pnetcdf/pnetcdf-1.12.1_intel//lib -L/public/software/datamodel/zlib/1.2.11/lib
C Compiler:                     mpiicc
CPPFLAGS:                       -I/public/software/datamodel/hdf5/1.12.2_intel/include -I/public/software/datamodel/netcdf-c/4.8.1/include -I/public/software/datamodel/pnetcdf/pnetcdf-1.12.1_intel//include -I/public/software/datamodel/zlib/1.2.11/include
CFLAGS:                         -g -O2 -DLONGLONG_IS_LONG
Shared Library:                 yes
Static Library:                 yes
Extra libraries:                -lm -lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl -lm -lh5bzip2 -lpnetcdf

# Features
--------
F03:                            yes
Dap Support:                    yes
Logging Support:                yes
NetCDF-2 API:                   yes
NetCDF-4 API:                   yes
CDF5 Support:                   yes
Parallel IO:                    yes
NetCDF4 Parallel IO:            yes
PnetCDF Parallel IO:            yes
SZIP Write Support:             no

leecsai avatar Nov 08 '22 16:11 leecsai

Can you try this with the latest netcdf-c release?

edwardhartnett avatar Nov 22 '22 14:11 edwardhartnett