-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/pip/pygments-2.15.0
- Loading branch information
Showing
44 changed files
with
4,644 additions
and
349 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
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 |
---|---|---|
|
@@ -38,7 +38,7 @@ jobs: | |
|
||
- name: Build | ||
run: | | ||
sudo apt install liblapacke liblapacke-dev | ||
sudo apt install liblapacke liblapacke-dev libopenmpi-dev | ||
mkdir ${BUILD_DIR} | ||
cd ${BUILD_DIR} | ||
|
@@ -112,11 +112,23 @@ jobs: | |
cd tests | ||
pytest test_lammps.py | ||
- name: Run tutorial | ||
run: | | ||
pip install -U jupyter nbconvert | ||
cp tutorials/sparse_gp_tutorial.ipynb tutorial.ipynb | ||
jupyter nbconvert --to script tutorial.ipynb | ||
sed -i '/^get_ipython()/s/^/# /' tutorial.py | ||
sed -i '/^plt/s/^/# /' tutorial.py | ||
wget http://quantum-machine.org/gdml/data/npz/md17_aspirin.npz | ||
wget https://www.ctcms.nist.gov/potentials/Download/1999--Mishin-Y-Farkas-D-Mehl-M-J-Papaconstantopoulos-D-A--Al/2/Al99.eam.alloy | ||
python tutorial.py | ||
rm Al* aluminum.txt aspirin.txt md17_aspirin.npz tutorial.ipynb tutorial.py | ||
- name: Install Sphinx and Breathe | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install python3-sphinx python3-sphinx-rtd-theme python3-breathe python3-nbsphinx | ||
- name: Run Doxygen | ||
uses: mattnotmitt/[email protected] | ||
with: | ||
|
@@ -127,11 +139,12 @@ jobs: | |
|
||
- name: Run Sphinx | ||
run: | | ||
export PYTHONPATH=$PYTHONPATH:$PWD/lammps/python | ||
cd docs | ||
pwd | ||
ls | ||
make html | ||
- name: Publish the docs | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
|
@@ -140,23 +153,3 @@ jobs: | |
# Change the directory if changes in Doxyfile | ||
publish_dir: ./docs/build/html | ||
if: github.event_name == 'pull_request' && matrix.lapack == 'on' && matrix.omp == 'on' | ||
|
||
# - name: Run tutorial | ||
# run: | | ||
# cd tests | ||
# # Download colab notebook | ||
# export fileid="18_pTcWM19AUiksaRyCgg9BCpVyw744xv" | ||
# wget -O tutorial.ipynb 'https://docs.google.com/uc?export=download&id='${fileid} | ||
# # Convert notebook into python script | ||
# pip install -U jupyter nbconvert | ||
# jupyter nbconvert --to script tutorial.ipynb | ||
# # Remove bash commands in the notebook | ||
# sed '/!/d' tutorial.txt > tutorial.py | ||
# cat test_tutorial.py tutorial.py > tuttest.py | ||
# # Download datasets needed for the tutorial | ||
# wget http://quantum-machine.org/gdml/data/npz/aspirin_dft.npz | ||
# wget https://www.ctcms.nist.gov/potentials/Download/1999--Mishin-Y-Farkas-D-Mehl-M-J-Papaconstantopoulos-D-A--Al/2/Al99.eam.alloy | ||
# # Run script | ||
# pytest -s tuttest.py | ||
# # Remove output files | ||
# rm Al* aspirin_dft.npz tutorial.ipynb tuttest.py tutorial.py tutorial.txt |
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 |
---|---|---|
|
@@ -73,3 +73,7 @@ _C_flare* | |
**/xml | ||
**/dist | ||
**egg-info | ||
tutorials/Al* | ||
tutorials/*txt* | ||
tutorials/*npz* | ||
tutorials/*checkpoint* |
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
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,3 +1,4 @@ | ||
#include "b1.h" | ||
#include "b2.h" | ||
#include "b2_norm.h" | ||
#include "b2_simple.h" | ||
|
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 |
---|---|---|
|
@@ -5,5 +5,6 @@ Bayesian Active Learning | |
:maxdepth: 2 | ||
|
||
otf | ||
lmpotf | ||
gp_from_aimd | ||
utils |
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 @@ | ||
On-the-Fly Training in LAMMPS | ||
============================= | ||
|
||
.. automodule:: flare.learners.lmpotf | ||
:members: |
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
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 +1 @@ | ||
__version__ = "1.3.3" | ||
__version__ = "1.4.2" |
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
Oops, something went wrong.