-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc574d5
commit 3c01d11
Showing
128 changed files
with
16,730 additions
and
111,506 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
DOCKER_COMMAND="cd /home/openkim/test_scripts_and_data && bash set_up_and_run_$2.sh && python compare_dbs.py $2 && bash compare_vcs.sh $2" | ||
DOCKER_COMMAND="cd /home/openkim/test_scripts_and_data && cp -r custom_kimitems/* ~ && bash set_up_and_run_$2.sh && python compare_dbs.py $2 && bash compare_vcs.sh $2" | ||
docker run --rm --mount type=bind,src=$PWD/test/test_scripts_and_data,target=/home/openkim/test_scripts_and_data --env LD_LIBRARY_PATH=:/usr/local/lib $1 /bin/bash -c "$DOCKER_COMMAND" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
DOCKER_COMMAND="cd /home/openkim/test_scripts_and_data && bash set_up_and_run_$2.sh && python compare_dbs.py $2" | ||
DOCKER_COMMAND="cd /home/openkim/test_scripts_and_data && cp -r custom_kimitems/* ~ && bash set_up_and_run_$2.sh && python compare_dbs.py $2" | ||
docker run --rm --mount type=bind,src=$PWD/test/test_scripts_and_data,target=/home/openkim/test_scripts_and_data --env LD_LIBRARY_PATH=:/usr/local/lib $1 /bin/bash -c "$DOCKER_COMMAND" |
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
Empty file.
504 changes: 504 additions & 0 deletions
504
...ata/custom_kimitems/test-drivers/EquilibriumCrystalStructure__TD_457028483760_002/LICENSE
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...ta/custom_kimitems/test-drivers/EquilibriumCrystalStructure__TD_457028483760_002/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
all: | ||
@echo "Nothing to make" | ||
|
||
clean: | ||
@echo "Nothing to clean" |
34 changes: 34 additions & 0 deletions
34
...mitems/test-drivers/EquilibriumCrystalStructure__TD_457028483760_002/README.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
======================================= | ||
EquilibriumCrystalStructure Test Driver | ||
======================================= | ||
This driver calculates equilibrium crystal structure and energy at zero temperature and pressure. Supports arbitrary crystal prototypes specified using the AFLOW prototype designation. Also included are utilities for generating and postprocessing tests and reference data. | ||
|
||
Python packages required for all scripts and modules are found in ``requirements.txt``. You may need to install the ``pkg-config`` and/or ``python3-pip`` utilities using your package manager first. The ``kimpy`` package requires the KIM API to be installed, see `<https://github.com/openkim/kimpy>`_. ``kimpy`` is not required if you are only building tests and/or reference data and not running the driver. Both building and running the tests require the AFLOW executable to be in ``PATH``. The required version is not publicly available yet. | ||
|
||
From this directory, install them using (requirements include a github repo, so can't pass entire file to pip at once): | ||
|
||
.. code-block:: bash | ||
xargs -L 1 pip install < requirements.txt | ||
To build the documentation: | ||
|
||
1) Install the Python requirements as above (including ``kimpy``, otherwise the documentation will not build) | ||
2) Install Sphinx packages: | ||
.. code-block:: bash | ||
cd docs; pip install -r requirements_docs.txt | ||
You may need to add ``~/.local/bin`` to your ``PATH`` environment variable. | ||
3) If you downloaded the Test Driver from openkim.org, you need to add the following symlink for Sphinx to understand that ``runner`` is a Python file (run the command from the ``docs`` directory): | ||
.. code-block:: bash | ||
ln -s ../runner links/runner.py | ||
4) Build the documentation: | ||
.. code-block:: bash | ||
make html | ||
The documentation is located at ``docs/build/html/index.html`` | ||
|
11 changes: 11 additions & 0 deletions
11
...m_kimitems/test-drivers/EquilibriumCrystalStructure__TD_457028483760_002/build_example.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
1 # build tests | ||
1 # build reference data | ||
1 # restrict to ICSD | ||
0 # Only write AFLUX query and files, don't process? | ||
0 # Don't query and download files, expect them to exist already? | ||
0 # "thread number" (for avoiding filename conflicts) | ||
dft_type ldau_type # DFT hyperparameters to query for | ||
4ad03136-ed7f-4316-b586-1e94ccceb311 # kim user ID | ||
# aflow version (default:auto detect) | ||
15 # number of threads for aflow++ (default: 1) | ||
work_dir_example # working directory |
Oops, something went wrong.