Skip to content

Build Failing with NetCDF-C #353

@mchurchf

Description

@mchurchf

I have been successfully building AMR-Wind and OpenFAST with netcdf using OneAPI as the compiler on CPU nodes, but I tried this today with the latest Exawind-Manager, and spack install fails at netcdf-c.

To get things ready for spack install, I do:

quick-create-dev -n env-amrwind-main-cpu-oneapi -s amr-wind+openfast+waves2amr+netcdf+hdf5%oneapi openfast+rosco+openmp%oneapi

Here is a bit of the error I see.

==> Installing netcdf-c-4.8.1-3jnpdhxhszpoewdcxqddyyr5xm6oviim [45/57]
==> Using cached archive: /home/mchurchf/.spack_downloads/_source-cache/archive/bc/bc018cc30d5da402622bf76462480664c6668b55eb16ba205a0dfb8647161dd0.tar.gz
==> Using cached archive: /home/mchurchf/.spack_downloads/_source-cache/archive/38/38d34de38bad99737d3308867071196f20a3fb39b936de7bfcfbc85eb0c7ef54
==> Applied patch https://github.com/Unidata/netcdf-c/commit/a7ea050ebb3c412a99cc352859d5176a9b5ef986.patch?full_index=1
==> netcdf-c: Executing phase: 'autoreconf'
==> netcdf-c: Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 77:
    '/kfs3/scratch/mchurchf/exawind-manager/stage/spack-stage-netcdf-c-4.8.1-3jnpdhxhszpoewdcxqddyyr5xm6oviim/spack-src/configure' '--prefix=/kfs3/scratch/mchurchf/exawind-manager/spack/opt/spack/linux-x86_64/netcdf-c-4.8.1-3jnpdhxhszpoewdcxqddyyr5xm6oviim' '--enable-v2' '--enable-utilities' '--enable-static' '--enable-largefile' '--enable-hdf5' '--enable-nczarr' '--enable-parallel4' '--disable-pnetcdf' '--disable-hdf4' '--enable-shared' '--disable-dap' '--disable-byterange' '--disable-jna' '--disable-fsync' '--disable-logging' 'CC=/opt/cray/pe/mpich/8.1.28/ofi/gnu/10.3/bin/mpicc' 'ac_cv_search_deflate=' 'ac_cv_lib_zip_zip_open=no' 'ac_cv_lib_curl_curl_easy_setopt=no' 'ac_cv_prog_NC_M4=false' 'LDFLAGS=-L/kfs3/scratch/mchurchf/exawind-manager/spack/opt/spack/linux-x86_64/hdf5-1.14.4-3-ilcg5rioh4dtmiadg7npmwqpwz7wd55e/lib' 'LIBS='

15 errors found in build log:
     16     libtoolize: copying file 'm4/lt~obsolete.m4'
     17     autoreconf: configure.ac: not using Intltool
     18     autoreconf: configure.ac: not using Gtkdoc
     19     autoreconf: running: aclocal --force -I m4
     20     autoreconf: running: /kfs3/scratch/mchurchf/exawind-manager/spack/opt/spack/linux-sapphirerapids/autoconf-2.72-djkn7ixiaczbj6lxp52oxxi7aefbmq7f/bin/autoconf -
            -force
     21     configure.ac:1010: warning: The macro 'AC_HEADER_STDC' is obsolete.
  >> 22     configure.ac:1010: You should run autoupdate.
  >> 23     /kfs3/scratch/mchurchf/exawind-manager/stage/spack-stage-autoconf-2.72-djkn7ixiaczbj6lxp52oxxi7aefbmq7f/spack-src/lib/autoconf/headers.m4:663: AC_HEADER_STDC
            is expanded from...
  >> 24     configure.ac:1010: the top level
     25     configure.ac:1108: warning: The macro 'AC_STRUCT_ST_BLKSIZE' is obsolete.
  >> 26     configure.ac:1108: You should run autoupdate.
  >> 27     /kfs3/scratch/mchurchf/exawind-manager/stage/spack-stage-autoconf-2.72-djkn7ixiaczbj6lxp52oxxi7aefbmq7f/spack-src/lib/autoconf/types.m4:1029: AC_STRUCT_ST_BLK
            SIZE is expanded from...
  >> 28     configure.ac:1108: the top level

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions