-
Notifications
You must be signed in to change notification settings - Fork 225
Ci test for picmi pypicongpu #5461
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
base: dev
Are you sure you want to change the base?
Ci test for picmi pypicongpu #5461
Conversation
e8148c1
to
d816894
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First line already contains a breaking issue - please fix - after that I can continue reviewing
export PIC_SYSTEM_TEMPLATE_PATH=${PIC_SYSTEM_TEMPLATE_PATH:-"etc/picongpu/bash"} | ||
|
||
export PICSRC=$HOME/src/picongpu | ||
export PICSRC=/home/afshar87/afshari/simulation/picongpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is your specific code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now just a breaking issue:
- logs have been uploaded
and a few questions:
Will continue reviewing after fixes and answers have been provided
test/python/picongpu/test.log
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be included in a PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will delete it. I think it is created during IC tests.
directory: str, optional | ||
Directory inside simOutput for writing checkpoints (default: "checkpoints"). | ||
Directory to store checkpoint files. Default: "checkpoints". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove the useful information, that these directories are created in the simOutput directory?
file: str, optional | ||
Relative or absolute fileset prefix for checkpoint files. | ||
Base name for checkpoint files. Default: None. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this renaming?
tryRestart: bool, optional | ||
If True, restart from the latest checkpoint if available, else start from scratch. | ||
Attempt to restart from existing checkpoints. Default: None. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this in my opinion less clear description?
restartDirectory: str, optional | ||
Directory inside simOutput containing checkpoints for restart (default: "checkpoints"). | ||
Directory to look for restart files. Default: None. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why remove the reference to this directory being inside simOutput?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a reversion, unless you are actively changing something in this file please remove these changes.
test/python/picongpu/test.log
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file should not be part of the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I deleted test.log files and used the old definitions, which were clearer. I will wait for further comments and then push a new commit tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this file touched at all, let alone what the actual changes are supposed to do?
Offline discussion: This PR will be split into one PR adding tests to PICMI/PyPIConGPU plugin implementations and one PR introducing the openPMD plugin. Further improvements are OpenPMD plugin
Tests
Afterwards, we'll hopefully see more clearly and can actually start reviewing this contribution. |
@mafshari64 Your code has merge-conflicts. Please resolve. |
@mafshari64 The content of your last commit 51a0708 regarding the laser base definition is good but should not be added in a hidden way as part of your commit. |
@PrometheusPi I plan to do it. |
All CI tests ran successfully with no failures.
@chillenzer Please review and let me know.