Skip to content

Synchronize with develop #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 23 commits into
base: stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 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
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 1 addition & 3 deletions .github/workflows/dependencies-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

set -eu -o pipefail

export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=FALSE

brew install open-mpi automake
brew install open-mpi automake m4 libtool

# libfabric
wget https://github.com/ofiwg/libfabric/archive/refs/tags/v1.15.2.tar.gz
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/gitlab-develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: GitLab

on:
push:
branches:
- develop

jobs:
sync-with-gitlab:
runs-on: ubuntu-latest
timeout-minutes: 2

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup git
run: |
git config --global user.name "PDC BOT"
git config --global user.email "[email protected]"

- name: Update branch
run: |
git fetch origin develop
git remote add gitlab https://${{ secrets.GITLAB_TOKEN_NAME }}:${{ secrets.GITLAB_TOKEN }}@${{ secrets.GITLAB_URL }}
git checkout develop
git push -f gitlab -u develop
28 changes: 28 additions & 0 deletions .github/workflows/gitlab-stable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: GitLab

on:
push:
branches:
- stable

jobs:
sync-with-gitlab:
runs-on: ubuntu-latest
timeout-minutes: 2

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup git
run: |
git config --global user.name "PDC BOT"
git config --global user.email "[email protected]"

- name: Update branch
run: |
git fetch 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 @@ -33,4 +33,4 @@ jobs:
sudo sh -c 'echo "`ipconfig getifaddr en0` PDC" >> /etc/hosts'
sudo scutil --set HostName PDC
export HG_TRANSPORT="sockets"
ctest -L serial
ctest -L serial --output-on-failure
31 changes: 31 additions & 0 deletions .github/workflows/ubuntu-cache-profiling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Ubuntu (profiling)

on:
pull_request:
branches: [ stable, develop ]

push:
branches: [ stable, develop ]

workflow_dispatch:

jobs:
PDC:
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- uses: actions/checkout@v3

- name: Dependencies
run: .github/workflows/dependencies-linux.sh

- name: Build PDC
run: |
mkdir build && cd build
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DPDC_ENABLE_PROFILING=ON -DCMAKE_C_COMPILER=mpicc -DCMAKE_POLICY_VERSION_MINIMUM=3.5
make -j2

- name: Test PDC
working-directory: build
run: ctest -L serial --output-on-failure
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:

- name: Test PDC
working-directory: build
run: ctest -L serial
run: ctest -L serial --output-on-failure
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-no-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:

- name: Test PDC
working-directory: build
run: ctest -L serial
run: ctest -L serial --output-on-failure
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ src/install
# ignore vscode files
.vscode

# ignore intellij files
.idea

# ignore macos files
.DS_Store

Expand All @@ -24,4 +27,4 @@ docs/build
**/*venv

# ignore .zed
.zed
.zed
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ perlmutter-metrics:
PDC_TMPDIR: "${CI_BUILDS_DIR}/${CI_PROJECT_NAME}/${CI_JOB_ID}/pdc-tmp-metrics"
PDC_DATA_LOC: "${CI_BUILDS_DIR}/${CI_PROJECT_NAME}/${CI_JOB_ID}/pdc-data-metrics"
PDC_CLIENT_LOOKUP: "NONE"
PDC_SERVER: "${PDC_BUILD_PATH}/perlmutter/metrics/bin/pdc_server.exe"
PDC_SERVER: "${PDC_BUILD_PATH}/perlmutter/metrics/bin/pdc_server"
PDC_SERVER_CLOSE: "${PDC_BUILD_PATH}/perlmutter/metrics/bin/close_server"
PDC_CLIENT: "${PDC_BUILD_PATH}/perlmutter/metrics/bin/vpicio_mts"
PDC_JOB_OUTPUT: "pdc-metrics.log"
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ install(

#install(
# FILES
# ${PDC_BINARY_DIR}/bin/pdc_server.exe
# ${PDC_BINARY_DIR}/bin/pdc_server
# ${PDC_BINARY_DIR}/bin/close_server
# DESTINATION
# ${CMAKE_INSTALL_PREFIX}/bin
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Proactive Data Containers (PDC) software provides an object-focused data managem

Full documentation of PDC with installation instructions, code examples for using PDC API, and research publications are available at [pdc.readthedocs.io](https://pdc.readthedocs.io)

More information and publications on PDC is available at https://sdm.lbl.gov/pdc
More information and publications on PDC are available at https://sdm.lbl.gov/pdc

If you use PDC in your research, please use the following citations:

Expand Down
2 changes: 2 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_build
html
44 changes: 44 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# PDC Documentation

This walks you through setting up a local environment
for building the PDC project documentation.

---

## Requirements

Ensure the following versions are installed on your system. Other versions
may also work but have not been tested.

- **Python 3.8.18**
- **pip 25.0.1**
- **Doxygen 1.13.2**

You can check the versions with:
> ```bash
> python3.8 --version
> pip --version
> doxygen --version
> ```

---

## Setup Instructions

### 1. Clone the repository (if not already)
```bash
git clone https://github.com/hpc-io/pdc.git
cd pdc/docs
```

### 2. Create Python environment install dependencies
```bash
python3.8 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```

### 3. Build the html
```bash
python -m sphinx -T -b html -d _build/doctrees -D language=en source html
```
Loading
Loading