svenreiche / Genesis-1.3-Version4

Time-dependent, 3D Code to simulate the amplification process of a Free-electron Laser.
GNU General Public License v3.0
53 stars 26 forks source link

improve waiting in simple_handshake block #141

Closed ZeugAusHH closed 7 months ago

ZeugAusHH commented 7 months ago

Now the default is that waiting GENESIS processes do not burn CPU time. The processors can be used for other tasks. The names of the files used for the synchronization can now be adjusted using the parameter "file". Documentation was added.

Additionally, created new, separate CHANGELOG_DEV.md to collect changes during the development process. During the release process, these changes would be moved over to the "main" CHANGELOG.md.

ZeugAusHH commented 7 months ago

Additional remark: This enhances https://github.com/svenreiche/Genesis-1.3-Version4/pull/140 by adding code that makes GENESIS process to idle during the waiting period.

EDIT: And I see that one of the new documentation checks failed: "Documentation / Deploy docs". Clicking on details, I don't see any specifics, though.

EDIT2: Appears to be a permission issue: I get the msg "Branch "cl_20240111__simplesync2" is not allowed to deploy to github-pages due to environment protection rules."

svenreiche commented 7 months ago

As far as I can see is that it is only me which can deploy and only for the master branch. I think that is nothing to worry about. This is the code for the workflow of Github (you can find it in .github):

deploy:

if: ${{ github.repository_owner == 'svenreiche' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags')) }}

needs: build
name: "Deploy docs"

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
  pages: write      # to deploy to Pages
  id-token: write   # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
  name: github-pages
  url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
  - name: Deploy to GitHub Pages
    id: deployment
    uses: actions/deploy-pages@v3