Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a9b78fd
Add pdc_logger.h to installation (#245)
TheAssembler1 Apr 8, 2025
abaf753
sync with gitlab (#248)
jeanbez Apr 8, 2025
e08d826
Fix restart issue (#228)
houjun Apr 15, 2025
a93223d
Fix return metadata dtype (#246)
houjun Apr 17, 2025
3bcd2d2
Region info transfer struct type and helper functions (#247)
TheAssembler1 Apr 21, 2025
34ab14f
Fix issues with PDC tools (#249)
houjun Apr 21, 2025
9026ed3
Fix printing in `PGOTO_ERROR` and `PGOTO_ERROR_VOID` (#250)
TheAssembler1 Apr 21, 2025
1653e4f
Group Tests Into Folders (#252)
TheAssembler1 May 12, 2025
90563dd
Return the same obj_id if the obj is just created or already opened (…
houjun May 13, 2025
c42b749
add option to choose interface (#255)
jeanbez May 15, 2025
91914b4
Fix multithreading compilation (#259)
TheAssembler1 May 20, 2025
54383bf
Fix segmentation fault of calling `PDCobj_create_mpi` twice with dupl…
TheAssembler1 May 20, 2025
ebac866
Use `PDC_malloc`, `PDC_free`, `PDC_calloc`, and `PDC_realloc` (#260)
TheAssembler1 May 22, 2025
c6b3ade
Fix Sphinx documentation errors and warnings (#265)
TheAssembler1 May 27, 2025
1106828
Replace `docs/README.md` -> steps to build docs (#268)
TheAssembler1 May 27, 2025
3549007
Use `FUNC_ENTER` and `FUNC_LEAVE` (#270)
TheAssembler1 Jun 3, 2025
5a5714a
New test macros and code cleanup (#261)
TheAssembler1 Jun 11, 2025
d1ef4fb
Tests logging typo fix (#273)
TheAssembler1 Jun 24, 2025
8deaa79
Rename pdc_server.exe to pdc_server for consistency (#275)
TheAssembler1 Jul 2, 2025
2c20971
Update vpicio_mts.c (#276)
TheAssembler1 Jul 2, 2025
7c118b2
Client Propogate `HG_Finalize` error on `PDCclose` (#263)
TheAssembler1 Jul 15, 2025
7a42e85
Standardize ID Lookup Null Checks and Error Handling (#281)
TheAssembler1 Jul 17, 2025
99f612d
Obj open fix (#279)
TheAssembler1 Jul 17, 2025
aabd25a
Fix multithread (#274)
TheAssembler1 Jul 19, 2025
797833d
Fix seg fault when mercury initialization fails (#283)
TheAssembler1 Jul 21, 2025
7c2c93d
Merge branch 'stable' into develop
jeanbez Sep 15, 2025
245df9e
working to fix CI
jeanbez Sep 15, 2025
6be5527
CI on macOS
jeanbez Sep 15, 2025
4b58960
CI on macOS
jeanbez Sep 15, 2025
55c66cd
working on metrics CI
jeanbez Sep 15, 2025
8fdf2c5
working on metrics CI
jeanbez Sep 15, 2025
aa596a6
working on metrics CI
jeanbez Sep 15, 2025
94167ed
working on metrics CI
jeanbez Sep 15, 2025
1da9e1a
fix parser for metrics dashboard
jeanbez Sep 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/dependencies-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -eu -o pipefail

brew install open-mpi automake m4 libtool

export CMAKE_POLICY_VERSION_MINIMUM=3.5

# libfabric
wget https://github.com/ofiwg/libfabric/archive/refs/tags/v1.15.2.tar.gz
tar xf v1.15.2.tar.gz
Expand All @@ -19,6 +21,6 @@ git clone --recursive https://github.com/mercury-hpc/mercury.git
cd mercury
git checkout v2.2.0
mkdir build && cd build
cmake ../ -DCMAKE_C_COMPILER=gcc -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DNA_USE_OFI=ON -DNA_USE_SM=OFF -DMERCURY_USE_CHECKSUMS=OFF -DNA_OFI_TESTING_PROTOCOL=sockets
cmake ../ -DCMAKE_C_COMPILER=gcc -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DNA_USE_OFI=ON -DNA_USE_SM=OFF -DMERCURY_USE_CHECKSUMS=OFF -DNA_OFI_TESTING_PROTOCOL=sockets -DCMAKE_POLICY_VERSION_MINIMUM=3.5
make -j2 && sudo make install
ctest
2 changes: 1 addition & 1 deletion .github/workflows/gitlab-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Update branch
run: |
git fetch stable
git fetch origin stable
git remote add gitlab https://${{ secrets.GITLAB_TOKEN_NAME }}:${{ secrets.GITLAB_TOKEN }}@${{ secrets.GITLAB_URL }}
git checkout stable
git push -f gitlab -u stable
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build PDC
run: |
mkdir build && cd build
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc -DCMAKE_POLICY_VERSION_MINIMUM=3.5
make -j 2

- name: Test PDC
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/nersc.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: NERSC

on:
pull_request_target
pull_request

env:
PR_NUMBER: ${{ github.event.number }}

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
authorize:
environment:
${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository && 'external' || 'internal' }}
runs-on: ubuntu-latest
steps:
- run: true
Expand All @@ -35,4 +37,4 @@ jobs:
git fetch origin pull/${PR_NUMBER}/head:PR-${PR_SHA}
git remote add gitlab https://${{ secrets.GITLAB_TOKEN_NAME }}:${{ secrets.GITLAB_TOKEN }}@${{ secrets.GITLAB_URL }}
git checkout PR-${PR_SHA}
git push -f gitlab -u PR-${PR_SHA}
git push -f gitlab -u PR-${PR_SHA}
20 changes: 10 additions & 10 deletions .github/workflows/store-metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,52 +92,52 @@

for line in lines:
if 'Obj create time' in line:
t = float(line.split(':')[1])
t = float(line.split(':')[-1])
obj_create_time_file_agg += t
total_time_file_agg += t
observed_time_file_agg += t
obj_create_time_node.append(t)
elif 'Transfer create time' in line:
t = float(line.split(':')[1])
t = float(line.split(':')[-1])
xfer_create_time_file_agg += t
total_time_file_agg += t
observed_time_file_agg += t
xfer_create_time_node.append(t)
elif 'Transfer start time' in line:
t = float(line.split(':')[1])
t = float(line.split(':')[-1])
xfer_start_time_file_agg += t
total_time_file_agg += t
observed_time_file_agg += t
xfer_start_time_node.append(t)
elif 'Transfer wait time' in line:
t = float(line.split(':')[1])
t = float(line.split(':')[-1])
xfer_wait_time_file_agg += t
total_time_file_agg += t
observed_time_file_agg += t
xfer_wait_time_node.append(t)
elif 'Transfer close time' in line:
t = float(line.split(':')[1])
t = float(line.split(':')[-1])
xfer_close_time_file_agg += t
total_time_file_agg += t
observed_time_file_agg += t
xfer_close_time_node.append(t)
elif 'Obj close time' in line:
t = float(line.split(':')[1])
t = float(line.split(':')[-1])
obj_close_time_file_agg += t
total_time_file_agg += t
observed_time_file_agg += t
obj_close_time_node.append(t)
elif 'Sleep end' in line:
t = float(line.split(':')[1])
t = float(line.split(':')[-1])
sleep_time_file_agg += t
observed_time_file_agg += t
sleep_time_node.append(t)

if 'PDC Metadata servers, running with' in line and (pdc_metadata_servers is None or pdc_metadata_clients is None):
parts = line.split()

pdc_metadata_servers = parts[2]
pdc_metadata_clients = parts[8]
pdc_metadata_servers = parts[3]
pdc_metadata_clients = parts[9]

obj_create_time_file.append(obj_create_time_file_agg)
obj_close_time_file.append(obj_close_time_file_agg)
Expand Down Expand Up @@ -270,7 +270,7 @@
'xfer_wait_time_step': xfer_wait_time_node[step],
'xfer_close_time_step': xfer_close_time_node[step],
'obj_close_time_step': obj_close_time_node[step],
'sleep_time_step': sleep_time_node[step] if len(sleep_time_node) < step else 0
'sleep_time_step': sleep_time_node[step] if step < len(sleep_time_node) else 0
}

lines.append(line)
Expand Down
65 changes: 35 additions & 30 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ stages:
# For complete details on the GitHub API please see:
# https://developer.github.com/v3/repos/statuses
- |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}" \
-d "{\"state\":\"${CI_JOB_NAME}\",\"description\":\"${STATUS_MESSAGE}\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${STATUS_NAME}\"}"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}" \
-d "{\"state\":\"${CI_JOB_NAME}\",\"description\":\"${STATUS_MESSAGE}\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${STATUS_NAME}\"}"

pending:
stage: .pre
Expand Down Expand Up @@ -50,20 +50,22 @@ failure:
perlmutter-authorize:
stage: authorize
rules:
- if: '$METRICS == null'
when: manual
- if: '$METRICS == null'
when: manual
script:
- |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}" \
-d "{\"state\":\"pending\",\"description\":\"Running...\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${STATUS_NAME}\"}"
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${GITHUB_TOKEN}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
"https://api.github.com/repos/${STATUS_PROJECT}/statuses/${CI_COMMIT_SHA}" \
-d "{\"state\":\"pending\",\"description\":\"Running...\",\"target_url\":\"${CI_PIPELINE_URL}\",\"context\":\"${STATUS_NAME}\"}"

perlmutter-no-cache-build:
stage: build
rules:
- if: '$METRICS == null'
needs:
- perlmutter-authorize
id_tokens:
Expand Down Expand Up @@ -91,11 +93,13 @@ perlmutter-no-cache-build:

perlmutter-cache-build:
stage: build
needs:
- perlmutter-authorize
id_tokens:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
needs:
- perlmutter-authorize
allow_failure: false
tags:
- perlmutter
Expand Down Expand Up @@ -127,7 +131,7 @@ perlmutter-no-cache-parallel-pdc:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-no-cache-build
tags:
Expand All @@ -150,7 +154,7 @@ perlmutter-no-cache-parallel-obj:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-no-cache-build
- perlmutter-no-cache-parallel-pdc
Expand All @@ -174,7 +178,7 @@ perlmutter-no-cache-parallel-cont:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-no-cache-build
- perlmutter-no-cache-parallel-pdc
Expand All @@ -198,7 +202,7 @@ perlmutter-no-cache-parallel-prop:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-no-cache-build
- perlmutter-no-cache-parallel-pdc
Expand All @@ -222,7 +226,7 @@ perlmutter-no-cache-parallel-region:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-no-cache-build
- perlmutter-no-cache-parallel-pdc
Expand All @@ -246,7 +250,7 @@ perlmutter-no-cache-parallel-region-all:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-no-cache-build
- perlmutter-no-cache-parallel-pdc
Expand Down Expand Up @@ -275,9 +279,10 @@ perlmutter-cache-parallel-pdc:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-cache-build
allow_failure: false
tags:
- perlmutter
variables:
Expand All @@ -298,7 +303,7 @@ perlmutter-cache-parallel-obj:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-cache-build
- perlmutter-cache-parallel-pdc
Expand All @@ -322,7 +327,7 @@ perlmutter-cache-parallel-cont:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-cache-build
- perlmutter-cache-parallel-pdc
Expand All @@ -346,7 +351,7 @@ perlmutter-cache-parallel-prop:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-cache-build
- perlmutter-cache-parallel-pdc
Expand All @@ -370,7 +375,7 @@ perlmutter-cache-parallel-region:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-cache-build
- perlmutter-cache-parallel-pdc
Expand All @@ -394,7 +399,7 @@ perlmutter-cache-parallel-region-all:
SITE_ID_TOKEN:
aud: https://gitlab.com/
rules:
- if: '$METRICS == null'
- if: '$METRICS == null'
needs:
- perlmutter-cache-build
- perlmutter-cache-parallel-pdc
Expand Down
Loading