Skip to content

Commit

Permalink
release v0.1.2 (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
fishjojo authored Mar 14, 2023
1 parent a5d4e7e commit 7f38ff2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-18.04]
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
environment: ci
steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/install_pyscf.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env bash
python -m pip install --upgrade pip
pip install wheel
pip install numpy scipy h5py
pip install 'jaxlib<0.3.14' 'jax<0.3.14' jaxopt
pip install numpy scipy h5py
pip install typing_extensions
pip install jaxlib jax jaxopt
pip install pytest pytest-cov

#pyscf
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
export OMP_NUM_THREADS=1
export PYTHONPATH=$(pwd):$(pwd)/pyscf:$PYTHONPATH
# preload MKL
if [[ -n "${MKLROOT}" ]]; then
export LD_PRELOAD=$MKLROOT/lib/intel64/libmkl_avx2.so:$MKLROOT/lib/intel64/libmkl_sequential.so:$MKLROOT/lib/intel64/libmkl_core.so
fi
#if [[ -n "${MKLROOT}" ]]; then
# export LD_PRELOAD=$MKLROOT/lib/intel64/libmkl_avx2.so:$MKLROOT/lib/intel64/libmkl_sequential.so:$MKLROOT/lib/intel64/libmkl_core.so
#fi
echo "pyscfad = True" >> $HOME/.pyscf_conf.py
echo "pyscf_numpy_backend = 'jax'" >> $HOME/.pyscf_conf.py
echo "pyscf_scipy_linalg_backend = 'pyscfad'" >> $HOME/.pyscf_conf.py
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Xing Zhang
Copyright (c) 2021-2023 Xing Zhang

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ def run(self):
install_requires=[
'numpy>=1.17',
'scipy',
'jax>=0.1.65,<0.3.14',
'jaxlib>=0.1.65,<0.3.14',
'jax>=0.3.25',
'jaxlib>=0.3.25',
'typing_extensions',
'jaxopt>=0.2',
'pyscf @ git+https://github.com/fishjojo/pyscf.git@ad#egg=pyscf',
'pyscf-properties @ git+https://github.com/fishjojo/properties.git@ad',
Expand All @@ -83,6 +84,8 @@ def run(self):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
zip_safe=False,
)

0 comments on commit 7f38ff2

Please sign in to comment.