Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
cab45b5
Adds CPack to Cmake to package project as .deb file
leoyala Aug 5, 2024
7f57fe5
Adds cuda version and SM compute arch to .deb file name file during p…
leoyala Aug 5, 2024
79bd9d9
Adds CITATION.cff
leoyala Aug 9, 2024
121ee1a
Corrects LICENSE
leoyala Aug 9, 2024
6b6be75
Adds logo and updates README description
leoyala Aug 9, 2024
b9b1394
Corrects link to repository in CMakeLists.txt
leoyala Aug 9, 2024
d2154d9
Adds GitHub configuration: actions, templates, release drafter.
leoyala Aug 9, 2024
7439744
Adds .cast to gitignore
leoyala Aug 9, 2024
080df72
Adds CLI11 as argument parser
leoyala Aug 9, 2024
0b2a293
Fixes app description in CLI
leoyala Aug 9, 2024
c87672c
Adds link to asciicast in README.md
leoyala Aug 9, 2024
aa0246d
Updates link to asciicast in README.md
leoyala Aug 9, 2024
7756152
Adds funding information to README.md
leoyala Aug 12, 2024
9b72876
Untracks git LFS files and adds them to regular git tracking mechanism
leoyala Aug 13, 2024
88ca4b9
Adds DOI to CITATION.cff
leoyala Aug 13, 2024
a0ef2ef
Adds sudo to commands in build action
leoyala Aug 13, 2024
ff200aa
Adds self-hosted runner in build pipeline
leoyala Aug 13, 2024
442b4be
modified pipeline to build docker image instead to avoid runner insta…
leoyala Aug 13, 2024
1b6e02d
Merge pull request #2 from IMSY-DKFZ/1-git-lfs-files-not-available-in…
leoyala Aug 13, 2024
ea170cb
Fixes DOI in CITATION.cff
leoyala Aug 13, 2024
5ca6d93
Merge pull request #4 from IMSY-DKFZ/3-doi-in-citation-file
leoyala Aug 13, 2024
067edad
Fixes memory leak on DoOneSimulation where memory was allocated but n…
leoyala Aug 29, 2024
d4b7c89
Updates changelog and fixes PULL_REQUEST_TEMPLATE.md
leoyala Aug 29, 2024
c10d726
Merge pull request #6 from IMSY-DKFZ/5-cuda-illegal-memory-access
leoyala Aug 29, 2024
40e6add
Updates docker image to accept flags while running and information on…
leoyala Jul 3, 2025
9805348
Merge pull request #13 from IMSY-DKFZ/10-docker-image-wrapper
leoyala Jul 3, 2025
0c3a2b3
Merge branch 'main' into develop
leoyala Jul 3, 2025
2d102ee
Potential fix for code scanning alert no. 2: Workflow does not contai…
leoyala Jul 3, 2025
f67d804
Potential fix for code scanning alert no. 1: Workflow does not contai…
leoyala Jul 3, 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
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
*.txt filter=lfs diff=lfs merge=lfs -text
*.mci filter=lfs diff=lfs merge=lfs -text
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: 🐛 Bug report
about: If something isn't working 🔧
title: ''
labels: bug
assignees:
---

## 🐛 Bug Report

<!-- A clear and concise description of what the bug is. -->

## 🔬 How To Reproduce

Steps to reproduce the behavior:

1. ...

### Code sample

<!-- If applicable, attach a minimal code sample to reproduce the decried issue. -->

### Environment

* OS: [e.g. Linux / Windows / macOS]
* CMake version: [e.g. 3.28.6]
* Compiler: [e.g. GNU, Clang]

### Screenshots

<!-- If applicable, add screenshots to help explain your problem. -->

## 📈 Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## 📎 Additional context

<!-- Add any other context about the problem here. -->
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Configuration: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository

blank_issues_enabled: false
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: 🚀 Feature request
about: Suggest an idea for this project 🏖
title: ''
labels: enhancement
assignees:
---

## 🚀 Feature Request

<!-- A clear and concise description of the feature proposal. -->

## 🔈 Motivation

<!-- Please describe the motivation for this proposal. -->

## 🛰 Alternatives

<!-- A clear and concise description of any alternative solutions or features you've considered. -->

## 📎 Additional context

<!-- Add any other context or screenshots about the feature request here. -->
27 changes: 27 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Description

<!-- Add a more detailed description of the changes if needed. -->

## Related Issue

<!-- If your PR refers to a related issue, link it here. -->

## Type of Change

<!-- Mark with an `x` all the checkboxes that apply (like `[x]`) -->

- [ ] 📚 Examples / docs / tutorials / dependencies update
- [ ] 🔧 Bug fix (non-breaking change which fixes an issue)
- [ ] 🥂 Improvement (non-breaking change which improves an existing feature)
- [ ] 🚀 New feature (non-breaking change which adds functionality)
- [ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
- [ ] 🔐 Security fix

## Checklist

<!-- Mark with an `x` all the checkboxes that apply (like `[x]`) -->

- [ ] I've read the `CODE_OF_CONDUCT.md` document.
- [ ] I've updated the code style using the `pre-commit hooks`.
- [ ] I've written tests for all new methods and classes that I created.
- [ ] I've written the docstring for all the methods and classes that I used.
31 changes: 31 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
label: 'chore'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## Changes

$CHANGES
17 changes: 17 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build, Test & Install

permissions:
contents: read

on:
push:
branches:
- main
- develop
pull_request:
types: [opened, reopened, synchronize]

jobs:
build:
strategy:
matrix:
os: [self-hosted]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout project
uses: actions/checkout@v4.1.7
- name: Build & install
run: |
docker build -t mcml:github .
21 changes: 21 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Greetings

on: [pull_request, issues]

permissions:
contents: read
issues: write
pull-requests: write

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: 'Hello @${{ github.actor }}, thank you for submitting a PR! We will respond as soon as possible.'
issue-message: |
Hello @${{ github.actor }}, thank you for your interest in our work!

If this is a bug report, please provide screenshots and **minimum viable code to reproduce your issue**, otherwise we can not help you.
41 changes: 41 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release Drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- main
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
# pull_request_target:
# types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
# (Optional) GitHub Enterprise requires GHE_HOST variable set
#- name: Set GHE_HOST
# run: |
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV

# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v6
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
# with:
# config-name: my-config.yml
# disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
cutil-linux
executable
*build*
*.cast
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ build:
- mkdir cmake-build && cd cmake-build
- cmake ..
- make MCML -j
- make package -j
- dpkg -i MCML*.deb
artifacts:
paths:
- cmake-build/
Expand Down
34 changes: 19 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,55 +10,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

-
- Adds Cpack to CMake to package .deb file
- Adds citation file.
- Adds GitHub actions, templates, etc.
- Adds logo.

### Changed

-
- Improves information on how to build the application.
- Integrates CLI11 as a argument parser.

### Removed

-

### Fixed

-
- Fixes illegal memory access for large numbers of simulations.

## [0.0.4]

### Added
- Added new macro definition for CUDA_SAFE_CALL_INFO to print additional information when an error occurs.
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/b957acc240fd0b014c1136b13811d7ec260fccdd)
(b957acc240fd0b014c1136b13811d7ec260fccdd)
- MCML now expects an MCO file instead of an MCO FOLDER as input.
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/9689ad1fab47407d5fe649677420f9e1fd35c561)
(9689ad1fab47407d5fe649677420f9e1fd35c561)
- Added conan package
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/a5573e170f1795ca3dfb523386557649e509a545)
(a5573e170f1795ca3dfb523386557649e509a545)
- Adds editor config and pre-commit hooks
- Added `-V` flag to print software version and build information

### Changed
- Modified path for safe_primes installation to the same path as MCML
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/c310827b19735bb81cd6c9ed08d3a82acbd5feff)
(c310827b19735bb81cd6c9ed08d3a82acbd5feff)
- Defined path to safeprimes relative to the executable path
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/91759c9207f714db4274bf5a2499684b7dce8a36)
(91759c9207f714db4274bf5a2499684b7dce8a36)

### Removed
- Removed elapsed time computation as it was not used anymore.
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/b957acc240fd0b014c1136b13811d7ec260fccdd)
(b957acc240fd0b014c1136b13811d7ec260fccdd)
- Removed deprecated information from README.md
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/85ada768be4a3fc447726294912af4da619c9390)
(85ada768be4a3fc447726294912af4da619c9390)
- Removed dependency from the definition of __CUDA_ARCH__
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/078ef4a7e0a62585347baa2c3677177b234eb26b)
(078ef4a7e0a62585347baa2c3677177b234eb26b)
- Removed unused include statements.
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/078ef4a7e0a62585347baa2c3677177b234eb26b)
(078ef4a7e0a62585347baa2c3677177b234eb26b)

### Fixed
- Fixed an issue of illegal memory access by removing duplicated memory allocation for the number of photons left in the
host state struct (https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/1eb40b22e0828ddc43ac55a5b9eee01c22d4ea08)
host state struct (1eb40b22e0828ddc43ac55a5b9eee01c22d4ea08)
- Fixed path to safeprimes in init_RNG
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/ad34a281cc74303134c07421024bb5e3a53995b2)
(ad34a281cc74303134c07421024bb5e3a53995b2)
- Fixed penetration depth calculations (issue #13).
(https://git.dkfz.de/imsy/issi/mcmlgpu/-/commit/a0c99b3b8d2659a07324dbef73cafe0b4602e005)
(a0c99b3b8d2659a07324dbef73cafe0b4602e005)

## [v0.0.3]

Expand Down
13 changes: 13 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Ayala"
given-names: "Leonardo"
orcid: "https://orcid.org/0000-0002-3574-2085"
- family-names: "Maier-Hein"
given-names: "Lena"
orcid: "https://orcid.org/0000-0003-4910-9368"
title: "mcmlgpu"
version: 0.0.4
url: "https://github.com/IMSY-DKFZ/mcmlgpu"
doi: 10.5281/zenodo.13304909
Loading
Loading