Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
parser-cp2k
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
parser-cp2k
Commits
d3cb367c
Commit
d3cb367c
authored
9 years ago
by
Himanen, Lauri (himanel1)
Browse files
Options
Downloads
Patches
Plain Diff
Added information about the assumed upload structure.
parent
17564899
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+19
-2
19 additions, 2 deletions
README.md
with
19 additions
and
2 deletions
README.md
+
19
−
2
View file @
d3cb367c
...
@@ -24,6 +24,23 @@ will be subclassed from it. By sublassing, all the previous functionality will
...
@@ -24,6 +24,23 @@ will be subclassed from it. By sublassing, all the previous functionality will
be preserved, new functionality can be easily created, and old functionality
be preserved, new functionality can be easily created, and old functionality
overridden only where necesssary.
overridden only where necesssary.
# Upload Folder Structure, File Naming and CP2K Settings
## CP2K Settings
The CP2K input setting
[
PRINT_LEVEL
](
https://manual.cp2k.org/trunk/CP2K_INPUT/GLOBAL.html#PRINT_LEVEL
)
controls the amount of details that are outputted during the calculation. The
higher this setting is, the more can be parsed from the upload.
## Structure
The following upload structure will maximize the amount of parsed contents. If
the parser cannot find certain files from their assumed locations, they are
simply ignored.
-The input file is assumed to be on the same folder as the output file. The
name of the input file is read from the output file, where it is stated
without the full path.
# Standalone Mode
# Standalone Mode
The parser is designed to be usable also outside the NoMaD project as a
The parser is designed to be usable also outside the NoMaD project as a
separate python package. This standalone python-only mode is primarily for
separate python package. This standalone python-only mode is primarily for
...
@@ -83,7 +100,7 @@ When the parser supports a new quantity it is quite fast to create unit tests
...
@@ -83,7 +100,7 @@ When the parser supports a new quantity it is quite fast to create unit tests
for it. These tests will validate the parsing, and also easily detect bugs that
for it. These tests will validate the parsing, and also easily detect bugs that
may rise when the code is modified in the future.
may rise when the code is modified in the future.
## Unit
c
onversion
## Unit
C
onversion
You can find unit conversion tools from the python-common repository and its
You can find unit conversion tools from the python-common repository and its
nomadcore package. The unit conversion is currenlty done by
nomadcore package. The unit conversion is currenlty done by
[
Pint
](
https://pint.readthedocs.org/en/0.6/
)
and it has a very natural syntax,
[
Pint
](
https://pint.readthedocs.org/en/0.6/
)
and it has a very natural syntax,
...
@@ -103,7 +120,7 @@ existing profiling tools such as
...
@@ -103,7 +120,7 @@ existing profiling tools such as
[
cProfile
](
https://docs.python.org/2/library/profile.html#module-cProfile
)
[
cProfile
](
https://docs.python.org/2/library/profile.html#module-cProfile
)
which you can plug into your scripts very easily.
which you can plug into your scripts very easily.
# Notes for CP2K
d
evelopers
# Notes for CP2K
D
evelopers
Here is a list of features/fixes that would make the parsing of CP2K results
Here is a list of features/fixes that would make the parsing of CP2K results
easier:
easier:
-
The pdb trajectory output doesn't seem to conform to the actual standard as
-
The pdb trajectory output doesn't seem to conform to the actual standard as
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment