Skip to content

Commit

Permalink
Update PIO from pio2_6_2 to pio2_6_5
Browse files Browse the repository at this point in the history
I did this update by simply copying the ParallelIO repository (checked
out at pio2_6_5) to here, and then deleting the .git directory. I
confirmed that, prior to this update, there were no diffs from the
ParallelIO repository (at pio2_6_2), so it is safe to do the update in
this simple manner.

Changes here:

pio2_6_3: Merge pull request #1982 from alperaltuntas/bugfix_debug
- fix minor bugs in pio_nc4.c

pio2_6_4: Bug fix release. Fixes issues with large datasets and with
autoconf/cmake configure option.

pio2_6_5: Updated for compatibility with netcdf-c 4.9.3 and cygwin.

Resolves #353
  • Loading branch information
billsacks committed Feb 24, 2025
1 parent 345c3c4 commit 50563b1
Show file tree
Hide file tree
Showing 32 changed files with 142 additions and 327 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: HDFGroup/hdf5
path: hdf5-src
Expand All @@ -50,7 +50,10 @@ runs:
-DHDF5_ENABLE_PARALLEL=${{ inputs.enable_parallel }} \
-DHDF5_ENABLE_Z_LIB_SUPPORT=ON \
-DBUILD_TESTING=${{ inputs.enable_testing }} \
-DHDF5_ENABLE_DEPRICATED_SYMBOLS=OFF \
-DHDF5_BUILD_EXAMPLES=OFF \
-DHDF5_BUILD_TOOLS=OFF \
-DCMAKE_BUILD_TYPE=REL \
../
make
make install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: pmodels/mpich
path: mpich-src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: Unidata/netcdf-c
path: netcdf-c-src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: Unidata/netcdf-fortran
path: netcdf-fortran-src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: open-mpi/ompi
path: openmpi-src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ description: 'Build the pnetcdf library'
inputs:
pnetcdf_version:
description: 'Tag in the pnetcdf repository to use'
default: checkpoint.1.12.3
default: checkpoint.1.14.0
required: False
type: string
install_prefix:
Expand All @@ -23,7 +23,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: Parallel-NetCDF/PnetCDF
path: pnetcdf-src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@ description: 'Install Intel Compilers'
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: setup repo
shell: bash
run: |
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
sudo echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
#wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
# download the key to system keyring
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
#sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
#rm GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update
- name: install
shell: bash
run: |
sudo apt-get install -y intel-oneapi-common-vars
sudo apt-get install -y intel-oneapi-compiler-fortran
sudo apt-get install -y intel-oneapi-mkl
sudo apt-get install -y intel-oneapi-mpi
sudo apt-get install -y intel-oneapi-mpi-devel
sudo apt-get install intel-oneapi-hpc-toolkit
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
source /opt/intel/oneapi/compiler/latest/env/vars.sh intel64
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ description: 'Build the parallelio library using cmake'
inputs:
parallelio_version:
description: 'Tag in the parallelio repository to use'
default: pio2_5_10
default: pio2_6_3
required: False
type: string
shared_libraries:
Expand Down Expand Up @@ -101,12 +101,12 @@ runs:
using: composite
steps:
- name: Check if already present
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: ${{ inputs.src_path }}
- name: get parallelio
if: ${{ steps.check_files.outputs.files_exists != 'true' }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: NCAR/ParallelIO
path: ${{ inputs.src_path }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ description: 'Build the parallelio library using cmake'
inputs:
parallelio_version:
description: 'Tag in the parallelio repository to use'
default: pio2_5_9
default: pio2_6_3
required: False
type: string
shared_libraries:
Expand Down Expand Up @@ -110,7 +110,7 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: NCAR/ParallelIO
path: parallelio-src
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
LDFLAGS: "-L/usr/lib/x86_64-linux-gnu -lnetcdf_mpi -lpnetcdf"
FCFLAGS: "-Wall -Werror -fallow-argument-mismatch -Wno-conversion"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Installs
run: |
set -x
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
# - name: Setup tmate session
# if: ${{ failure() }}
# uses: mxschmitt/action-tmate@v3
# uses: mxschmitt/action-tmate@v4
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# LDFLAGS: "-static-libasan"
# ASAN_OPTIONS: "detect_odr_violation=0"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Installs
run: |
set -x
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
PNETCDF_VERSION: checkpoint.1.12.3
FCFLAGS: "-fallow-argument-mismatch"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Installs
run: |
set -x
Expand All @@ -36,7 +36,7 @@ jobs:
- name: cache-pnetcdf
id: cache-pnetcdf
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/pnetcdf
key: pnetcdf-${{ runner.os }}-${{ env.PNETCDF_VERSION }}
Expand Down
131 changes: 0 additions & 131 deletions src/Infrastructure/IO/PIO/ParallelIO/.github/workflows/intel.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
FFLAGS: "-fallow-argument-mismatch"
FCFLAGS: "-fallow-argument-mismatch"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Installs
run: |
sudo apt-get install doxygen graphviz wget gfortran libjpeg-dev libz-dev libcurl4-gnutls-dev
- name: cache-mpich
id: cache-mpich
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/ParallelIO/ParallelIO/mpich
key: mpich-${{ runner.os }}-${{ env.MPICH_VERSION }}
Expand All @@ -39,7 +39,7 @@ jobs:

- name: cache-hdf5
id: cache-hdf5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/ParallelIO/ParallelIO/hdf5
key: hdf5-${{ runner.os }}-${{ env.HDF5_VERSION }}-mpich-${{ env.MPICH_VERSION }}
Expand All @@ -55,7 +55,7 @@ jobs:

- name: cache-netcdf
id: cache-netcdf
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/work/ParallelIO/ParallelIO/netcdf
key: netcdf-${{ runner.os }}-${{ env.NETCDF_C_VERSION }}-${{ env.NETCDF_FORTRAN_VERSION }}-mpich-${{ env.MPICH_VERSION }}-hdf5-${{ env.HDF5_VERSION }}
Expand All @@ -79,7 +79,7 @@ jobs:

- name: cache-netcdf-fortran
id: cache-netcdf-fortran
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/netcdf-fortran
key: netcdf-fortran-${{ runner.os }}-${{ env.NETCDF_FORTRAN_VERSION }}-mpich-${{ env.MPICH_VERSION }}-hdf5-${{ env.HDF5_VERSION }}
Expand Down
Loading

0 comments on commit 50563b1

Please sign in to comment.