mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-21 06:25:15 -04:00
Docker: Upgrade python packages (#5172)
This commit is contained in:
parent
49c4bc4af3
commit
37a23bdd17
7 changed files with 10 additions and 13 deletions
|
|
@ -15,7 +15,6 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||
# Install sources.
|
||||
ARG GIT_COMMIT_SHA
|
||||
COPY ./src ./src
|
||||
COPY ./exts ./exts
|
||||
COPY ./data ./data
|
||||
COPY ./docs ./docs
|
||||
COPY ./tools ./tools
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||
# Install sources.
|
||||
ARG GIT_COMMIT_SHA
|
||||
COPY ./src ./src
|
||||
COPY ./exts ./exts
|
||||
COPY ./data ./data
|
||||
COPY ./docs ./docs
|
||||
COPY ./tools ./tools
|
||||
|
|
|
|||
|
|
@ -429,7 +429,6 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|||
# Install sources.
|
||||
ARG GIT_COMMIT_SHA
|
||||
COPY ./src ./src
|
||||
COPY ./exts ./exts
|
||||
COPY ./data ./data
|
||||
COPY ./docs ./docs
|
||||
COPY ./tools ./tools
|
||||
|
|
|
|||
|
|
@ -27,11 +27,11 @@ export PATH="/opt/venv/bin:$PATH"
|
|||
|
||||
# install python packages
|
||||
pip3 install -r pao-ml-requirements.txt \
|
||||
numpy==2.3.5 \
|
||||
matplotlib==3.10.7 \
|
||||
requests==2.33.0 \
|
||||
types-requests==2.32.4.20250913 \
|
||||
mypy==1.19.0
|
||||
numpy==2.4.4 \
|
||||
matplotlib==3.10.9 \
|
||||
requests==2.34.0 \
|
||||
types-requests==2.33.0.20260508 \
|
||||
mypy==2.1.0
|
||||
|
||||
# download inputs for minimax_to_fortran_source.py
|
||||
wget -q https://www.cp2k.org/static/downloads/1_xData.zip
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
e3nn==0.5.9
|
||||
nequip==0.16.1
|
||||
torch==2.10.0
|
||||
e3nn==0.6.0
|
||||
nequip==0.17.1
|
||||
torch==2.11.0
|
||||
|
||||
|
||||
#EOF
|
||||
|
|
|
|||
|
|
@ -196,7 +196,7 @@ def _integrate_imdho_time_domain(
|
|||
if spectrum_type == "absorption":
|
||||
integrand *= 1 / np.pi
|
||||
|
||||
slice_integral = float(np.trapz(integrand, dx=delta_time))
|
||||
slice_integral = float(np.trapezoid(integrand, dx=delta_time))
|
||||
|
||||
if abs(slice_integral) < convergence:
|
||||
convergence_reached = True
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ def _integrate_lq3_time_domain(
|
|||
energy_difference * time_array + gammas[state_idx - 1] * time_array**3
|
||||
)
|
||||
|
||||
slice_integral = float(np.trapz(integrand, dx=delta_time))
|
||||
slice_integral = float(np.trapezoid(integrand, dx=delta_time))
|
||||
|
||||
if abs(slice_integral) < convergence:
|
||||
convergence_reached = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue