mirror of
https://github.com/vale981/master-thesis
synced 2025-03-04 17:41:43 -05:00
some updates on 7
This commit is contained in:
parent
61be4d4fba
commit
097586299b
15 changed files with 179929 additions and 50 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 349 KiB |
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 127 KiB |
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 1.2 MiB |
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 162 KiB |
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 114 KiB |
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 239 KiB |
|
@ -1,4 +1,4 @@
|
|||
#! /usr/bin/env bash
|
||||
|
||||
sudo mount.nfs 141.30.17.16:/data_local_huge/valentin/master/07/07_one_bath_systematics/.data $(dirname "$0")/.data
|
||||
sudo mount.nfs 141.30.17.16:/data_local_huge/valentin/master/07/07_one_bath_systematics/results $(dirname "$0")/results
|
||||
sudo mount.nfs workhorse:/data_local_huge/valentin/master/07/07_one_bath_systematics/.data $(dirname "$0")/.data
|
||||
sudo mount.nfs workhorse:/data_local_huge/valentin/master/07/07_one_bath_systematics/results $(dirname "$0")/results
|
||||
|
|
|
@ -16,7 +16,7 @@ import matplotlib
|
|||
|
||||
import ray
|
||||
ray.shutdown()
|
||||
ray.init(address="auto")
|
||||
ray.init()
|
||||
|
||||
from hops.util.logging_setup import logging_setup
|
||||
import logging
|
||||
|
|
|
@ -23,11 +23,11 @@ Init ray and silence stocproc.
|
|||
#+begin_src jupyter-python :tangle scripts/integrate_slip.py
|
||||
import ray
|
||||
ray.shutdown()
|
||||
ray.init(address="auto")
|
||||
ray.init()
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
: RayContext(dashboard_url='', python_version='3.9.13', ray_version='1.13.0', ray_commit='e4ce38d001dbbe09cd21c497fedd03d692b2be3e', address_info={'node_ip_address': '141.30.17.225', 'raylet_ip_address': '141.30.17.225', 'redis_address': None, 'object_store_address': '/tmp/ray/session_2022-08-03_14-53-16_736667_825118/sockets/plasma_store.7', 'raylet_socket_name': '/tmp/ray/session_2022-08-03_14-53-16_736667_825118/sockets/raylet.3', 'webui_url': '', 'session_dir': '/tmp/ray/session_2022-08-03_14-53-16_736667_825118', 'metrics_export_port': 59318, 'gcs_address': '141.30.17.16:6379', 'address': '141.30.17.16:6379', 'node_id': '4261dafb07982d866fc5f9805325751682bf9a59ad6e8cfeafab3a7a'})
|
||||
: RayContext(dashboard_url='', python_version='3.9.13', ray_version='1.13.0', ray_commit='e4ce38d001dbbe09cd21c497fedd03d692b2be3e', address_info={'node_ip_address': '192.168.100.170', 'raylet_ip_address': '192.168.100.170', 'redis_address': None, 'object_store_address': '/tmp/ray/session_2022-08-14_17-20-46_960858_72812/sockets/plasma_store', 'raylet_socket_name': '/tmp/ray/session_2022-08-14_17-20-46_960858_72812/sockets/raylet', 'webui_url': '', 'session_dir': '/tmp/ray/session_2022-08-14_17-20-46_960858_72812', 'metrics_export_port': 43591, 'gcs_address': '192.168.100.170:64809', 'address': '192.168.100.170:64809', 'node_id': '1dd774b25412ed5294df4862101460494986daa6a2a8808227e2252d'})
|
||||
|
||||
#+begin_src jupyter-python :results none :tangle scripts/integrate_slip.py
|
||||
from hops.util.logging_setup import logging_setup
|
||||
|
@ -48,8 +48,8 @@ We use a logspaced time to resolve the initial slip.
|
|||
|
||||
#+RESULTS:
|
||||
:RESULTS:
|
||||
| <matplotlib.lines.Line2D | at | 0x7f23bbaacaf0> |
|
||||
[[file:./.ob-jupyter/05d0b45df064c0f44a1fcacfde5f455874881298.svg]]
|
||||
| <matplotlib.lines.Line2D | at | 0x7f0a61043e80> |
|
||||
[[file:./.ob-jupyter/fbfe58386f7fb10dfa36a6c1b9f4db68ce76b8e3.svg]]
|
||||
:END:
|
||||
|
||||
#+begin_src jupyter-python :results none :tangle scripts/integrate_slip.py
|
||||
|
@ -1672,7 +1672,7 @@ f, ax = plot_interaction_consistency(
|
|||
#+begin_src jupyter-python
|
||||
from hops.util.dynamic_matrix import ConstantMatrix, SmoothStep
|
||||
|
||||
t_max = 10
|
||||
t_max = 40
|
||||
L_op = 1 / 2 * (ConstantMatrix(qt.sigmax()))
|
||||
width_models_heights = []
|
||||
ref = QubitModel(
|
||||
|
@ -1690,7 +1690,7 @@ f, ax = plot_interaction_consistency(
|
|||
driving_process_tolerance=StocProcTolerances(1e-4, 1e-4),
|
||||
)
|
||||
|
||||
for δ in [.001, 1]:
|
||||
for δ in [.001, .1]:
|
||||
for ω_c in [4,5,6]:
|
||||
ref.ω_c = ω_c
|
||||
ref.ω_s = 4 - ω_c
|
||||
|
@ -1708,32 +1708,177 @@ f, ax = plot_interaction_consistency(
|
|||
|
||||
|
||||
#+begin_src jupyter-python
|
||||
aux.integrate_multi(width_models_heights[2:], 1000)
|
||||
aux.integrate_multi(width_models_heights[3:], 1000)
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
:RESULTS:
|
||||
#+begin_example
|
||||
[INFO hops.core.integration 10013] Choosing the nonlinear integrator.
|
||||
[INFO hops.core.integration 10013] Using 21 integrators.
|
||||
[INFO hops.core.integration 10013] Some 500 trajectories have to be integrated.
|
||||
[INFO hops.core.integration 10013] Using 330 hierarchy states.
|
||||
100% 500/500 [01:00<00:00, 8.23it/s]
|
||||
[INFO hops.core.integration 10013] Choosing the nonlinear integrator.
|
||||
[INFO hops.core.integration 10013] Using 21 integrators.
|
||||
[INFO hops.core.integration 10013] Some 500 trajectories have to be integrated.
|
||||
[INFO hops.core.integration 10013] Using 330 hierarchy states.
|
||||
100% 500/500 [00:40<00:00, 12.23it/s]
|
||||
[INFO hops.core.integration 10013] Choosing the nonlinear integrator.
|
||||
[INFO hops.core.integration 10013] Using 21 integrators.
|
||||
[INFO hops.core.integration 10013] Some 500 trajectories have to be integrated.
|
||||
[INFO hops.core.integration 10013] Using 330 hierarchy states.
|
||||
100% 500/500 [00:49<00:00, 10.01it/s]
|
||||
[INFO hops.core.integration 10013] Choosing the nonlinear integrator.
|
||||
[INFO hops.core.integration 10013] Using 21 integrators.
|
||||
[INFO hops.core.integration 10013] Some 500 trajectories have to be integrated.
|
||||
[INFO hops.core.integration 10013] Using 330 hierarchy states.
|
||||
100% 500/500 [00:55<00:00, 9.06it/s]
|
||||
[INFO hops.core.integration 72812] Choosing the nonlinear integrator.
|
||||
[INFO hops.core.integration 72812] Using 8 integrators.
|
||||
[INFO hops.core.integration 72812] Some 0 trajectories have to be integrated.
|
||||
[INFO hops.core.integration 72812] Using 330 hierarchy states.
|
||||
0it [00:00, ?it/s]
|
||||
[INFO hops.core.integration 72812] Choosing the nonlinear integrator.
|
||||
[INFO hops.core.integration 72812] Using 8 integrators.
|
||||
[INFO hops.core.integration 72812] Some 0 trajectories have to be integrated.
|
||||
[INFO hops.core.integration 72812] Using 330 hierarchy states.
|
||||
0it [00:00, ?it/s]
|
||||
[INFO hops.core.integration 72812] Choosing the nonlinear integrator.
|
||||
#+end_example
|
||||
# [goto error]
|
||||
#+begin_example
|
||||
[0;31m---------------------------------------------------------------------------[0m
|
||||
[0;31mKeyboardInterrupt[0m Traceback (most recent call last)
|
||||
Input [0;32mIn [10][0m, in [0;36m<cell line: 1>[0;34m()[0m
|
||||
[0;32m----> 1[0m [43maux[49m[38;5;241;43m.[39;49m[43mintegrate_multi[49m[43m([49m[43mwidth_models_heights[49m[43m[[49m[38;5;241;43m3[39;49m[43m:[49m[43m][49m[43m,[49m[43m [49m[38;5;241;43m1000[39;49m[43m)[49m
|
||||
|
||||
File [0;32m~/src/two_qubit_model/hiro_models/model_auxiliary.py:84[0m, in [0;36mintegrate_multi[0;34m(models, *args, **kwargs)[0m
|
||||
[1;32m 77[0m [38;5;124;03m"""Integrate the hops equations for the ``models``.[39;00m
|
||||
[1;32m 78[0m [38;5;124;03mLike :any:`integrate` just for many models.[39;00m
|
||||
[1;32m 79[0m
|
||||
[1;32m 80[0m [38;5;124;03mA call to :any:`ray.init` may be required.[39;00m
|
||||
[1;32m 81[0m [38;5;124;03m"""[39;00m
|
||||
[1;32m 83[0m [38;5;28;01mfor[39;00m model [38;5;129;01min[39;00m models:
|
||||
[0;32m---> 84[0m [43mintegrate[49m[43m([49m[43mmodel[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[43margs[49m[43m,[49m[43m [49m[38;5;241;43m*[39;49m[38;5;241;43m*[39;49m[43mkwargs[49m[43m)[49m
|
||||
|
||||
File [0;32m~/src/two_qubit_model/hiro_models/model_auxiliary.py:108[0m, in [0;36mintegrate[0;34m(model, n, data_path, clear_pd)[0m
|
||||
[1;32m 98[0m [38;5;66;03m# with model_db(data_path) as db:[39;00m
|
||||
[1;32m 99[0m [38;5;66;03m# if hash in db and "data" db[hash][39;00m
|
||||
[1;32m 101[0m supervisor [38;5;241m=[39m HOPSSupervisor(
|
||||
[1;32m 102[0m model[38;5;241m.[39mhops_config,
|
||||
[1;32m 103[0m n,
|
||||
[1;32m 104[0m data_path[38;5;241m=[39mdata_path,
|
||||
[1;32m 105[0m data_name[38;5;241m=[39m[38;5;28mhash[39m,
|
||||
[1;32m 106[0m )
|
||||
[0;32m--> 108[0m [43msupervisor[49m[38;5;241;43m.[39;49m[43mintegrate[49m[43m([49m[43mclear_pd[49m[43m)[49m
|
||||
[1;32m 110[0m [38;5;28;01mwith[39;00m supervisor[38;5;241m.[39mget_data([38;5;28;01mTrue[39;00m) [38;5;28;01mas[39;00m data:
|
||||
[1;32m 111[0m [38;5;28;01mwith[39;00m model_db(data_path) [38;5;28;01mas[39;00m db:
|
||||
|
||||
File [0;32m~/src/hops/hops/core/integration.py:1235[0m, in [0;36mHOPSSupervisor.integrate[0;34m(self, clear_pd)[0m
|
||||
[1;32m 1216[0m [38;5;124;03m"""Integrate the HOPS equations on a ray cluster (see[39;00m
|
||||
[1;32m 1217[0m [38;5;124;03m:any:`ray.init`).[39;00m
|
||||
[1;32m 1218[0m
|
||||
[1;32m 1219[0m [38;5;124;03m:param clear_pd: If set to :any:`True`, the result database[39;00m
|
||||
[1;32m 1220[0m [38;5;124;03m will be cleared prior to the integration.[39;00m
|
||||
[1;32m 1221[0m [38;5;124;03m"""[39;00m
|
||||
[1;32m 1223[0m [38;5;66;03m# Despite their name, we don't instantiate the actor as a[39;00m
|
||||
[1;32m 1224[0m [38;5;66;03m# `ray actor`. Rather we put one instance into the ray object[39;00m
|
||||
[1;32m 1225[0m [38;5;66;03m# store and then launch as many tasks as we have trajectories.[39;00m
|
||||
[0;32m (...)[0m
|
||||
[1;32m 1232[0m [38;5;66;03m#[39;00m
|
||||
[1;32m 1233[0m [38;5;66;03m# -- Valentin Boettcher[39;00m
|
||||
[0;32m-> 1235[0m [38;5;28;01mwith[39;00m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mget_data_and_maybe_clear[49m[43m([49m[43mclear_pd[49m[43m)[49m [38;5;28;01mas[39;00m data:
|
||||
[1;32m 1236[0m t [38;5;241m=[39m data[38;5;241m.[39mget_time()
|
||||
[1;32m 1238[0m num_integrators [38;5;241m=[39m [38;5;28mint[39m(ray[38;5;241m.[39mavailable_resources()[38;5;241m.[39mget([38;5;124m"[39m[38;5;124mCPU[39m[38;5;124m"[39m, [38;5;241m0[39m))
|
||||
|
||||
File [0;32m~/src/hops/hops/core/integration.py:1318[0m, in [0;36mHOPSSupervisor.get_data_and_maybe_clear[0;34m(self, clear)[0m
|
||||
[1;32m 1311[0m [38;5;28;01mdef[39;00m [38;5;21mget_data_and_maybe_clear[39m([38;5;28mself[39m, clear: [38;5;28mbool[39m [38;5;241m=[39m [38;5;28;01mFalse[39;00m) [38;5;241m-[39m[38;5;241m>[39m hid[38;5;241m.[39mHIData:
|
||||
[1;32m 1312[0m [38;5;124;03m"""[39;00m
|
||||
[1;32m 1313[0m [38;5;124;03m Like :any:`get_data` but conditionally clears the data and sets the time.[39;00m
|
||||
[1;32m 1314[0m
|
||||
[1;32m 1315[0m [38;5;124;03m :param clear: Whether to clear the data.[39;00m
|
||||
[1;32m 1316[0m [38;5;124;03m """[39;00m
|
||||
[0;32m-> 1318[0m [38;5;28;01mwith[39;00m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mget_data[49m[43m([49m[43m)[49m [38;5;28;01mas[39;00m data:
|
||||
[1;32m 1319[0m [38;5;28;01mif[39;00m clear:
|
||||
[1;32m 1320[0m log[38;5;241m.[39minfo([38;5;124m"[39m[38;5;124mClear HIData contained in [39m[38;5;132;01m{}[39;00m[38;5;124m"[39m[38;5;241m.[39mformat(data[38;5;241m.[39mh5File))
|
||||
|
||||
File [0;32m~/src/hops/hops/core/integration.py:1307[0m, in [0;36mHOPSSupervisor.get_data[0;34m(self, read_only)[0m
|
||||
[1;32m 1299[0m [38;5;28;01mdef[39;00m [38;5;21mget_data[39m([38;5;28mself[39m, read_only: [38;5;28mbool[39m [38;5;241m=[39m [38;5;28;01mFalse[39;00m) [38;5;241m-[39m[38;5;241m>[39m hid[38;5;241m.[39mHIData:
|
||||
[1;32m 1300[0m [38;5;124;03m"""[39;00m
|
||||
[1;32m 1301[0m [38;5;124;03m :returns: The database containing results that correspond to the current configuration[39;00m
|
||||
[1;32m 1302[0m [38;5;124;03m (:any:`params`).[39;00m
|
||||
[1;32m 1303[0m
|
||||
[1;32m 1304[0m [38;5;124;03m :param read_only: Whether to open the database in read only mode.[39;00m
|
||||
[1;32m 1305[0m [38;5;124;03m """[39;00m
|
||||
[0;32m-> 1307[0m [38;5;28;01mreturn[39;00m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mmetadata[49m[38;5;241;43m.[39;49m[43mget_HIData[49m[43m([49m
|
||||
[1;32m 1308[0m [43m [49m[43mkey[49m[38;5;241;43m=[39;49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mparams[49m[43m,[49m[43m [49m[43mread_only[49m[38;5;241;43m=[39;49m[43mread_only[49m[43m,[49m[43m [49m[43mrobust[49m[38;5;241;43m=[39;49m[38;5;28;43;01mTrue[39;49;00m
|
||||
[1;32m 1309[0m [43m [49m[43m)[49m
|
||||
|
||||
File [0;32m~/src/hops/hops/core/hierarchy_data.py:1360[0m, in [0;36mHIMetaData.get_HIData[0;34m(self, key, read_only, overwrite_key, robust)[0m
|
||||
[1;32m 1355[0m hdf5_name, bin_key, hashed_key [38;5;241m=[39m [38;5;28mself[39m[38;5;241m.[39mget_HIData_fname(
|
||||
[1;32m 1356[0m key, ret_bin_and_hash[38;5;241m=[39m[38;5;28;01mTrue[39;00m
|
||||
[1;32m 1357[0m )
|
||||
[1;32m 1359[0m [38;5;28;01massert[39;00m [38;5;28misinstance[39m(bin_key, [38;5;28mbytes[39m)
|
||||
[0;32m-> 1360[0m [38;5;28;01mreturn[39;00m [43mHIData[49m[43m([49m
|
||||
[1;32m 1361[0m [43m [49m[38;5;28;43mstr[39;49m[43m([49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mpath[49m[43m [49m[38;5;241;43m/[39;49m[43m [49m[43mhdf5_name[49m[43m)[49m[43m,[49m
|
||||
[1;32m 1362[0m [43m [49m[43mread_only[49m[38;5;241;43m=[39;49m[43mread_only[49m[43m,[49m
|
||||
[1;32m 1363[0m [43m [49m[43mhi_key[49m[38;5;241;43m=[39;49m[43mkey[49m[43m,[49m
|
||||
[1;32m 1364[0m [43m [49m[43mhi_key_bin[49m[38;5;241;43m=[39;49m[43mbin_key[49m[43m,[49m
|
||||
[1;32m 1365[0m [43m [49m[43mhi_key_bin_hash[49m[38;5;241;43m=[39;49m[43mhashed_key[49m[43m,[49m
|
||||
[1;32m 1366[0m [43m [49m[43moverwrite_key[49m[38;5;241;43m=[39;49m[43moverwrite_key[49m[43m,[49m
|
||||
[1;32m 1367[0m [43m [49m[43mrobust[49m[38;5;241;43m=[39;49m[43mrobust[49m[43m,[49m
|
||||
[1;32m 1368[0m [43m[49m[43m)[49m
|
||||
|
||||
File [0;32m~/src/hops/hops/core/hierarchy_data.py:397[0m, in [0;36mHIData.__init__[0;34m(self, hdf5_name, read_only, hi_key, hi_key_bin, hi_key_bin_hash, check_consistency, overwrite_key, robust)[0m
|
||||
[1;32m 385[0m [38;5;124;03m"""The time points on which the trajectories and everything else are[39;00m
|
||||
[1;32m 386[0m [38;5;124;03mgiven.[39;00m
|
||||
[1;32m 387[0m
|
||||
[0;32m (...)[0m
|
||||
[1;32m 393[0m [38;5;124;03m:any:`time_set`.[39;00m
|
||||
[1;32m 394[0m [38;5;124;03m"""[39;00m
|
||||
[1;32m 396[0m [38;5;28mself[39m[38;5;241m.[39m_init_bcf_terms_and_aux_states()
|
||||
[0;32m--> 397[0m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43m_open_file[49m[43m([49m[43mread_only[49m[43m,[49m[43m [49m[43mhi_key_bin[49m[43m,[49m[43m [49m[43mhi_key_bin_hash[49m[43m,[49m[43m [49m[43moverwrite_key[49m[43m,[49m[43m [49m[43mrobust[49m[43m)[49m
|
||||
[1;32m 399[0m [38;5;28;01mif[39;00m check_consistency:
|
||||
[1;32m 400[0m [38;5;28mself[39m[38;5;241m.[39m_check_consistency(hi_key_bin, hi_key_bin_hash)
|
||||
|
||||
File [0;32m~/src/hops/hops/core/hierarchy_data.py:485[0m, in [0;36mHIData._open_file[0;34m(self, read_only, hi_key_bin, hi_key_bin_hash, overwrite_key, backup_if_error)[0m
|
||||
[1;32m 483[0m [38;5;28;01mif[39;00m [38;5;129;01mnot[39;00m read_only:
|
||||
[1;32m 484[0m [38;5;28;01mtry[39;00m:
|
||||
[0;32m--> 485[0m p [38;5;241m=[39m [43mtest_file_version[49m[43m([49m[38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43mhdf5_name[49m[43m)[49m
|
||||
[1;32m 486[0m [38;5;28;01mif[39;00m p:
|
||||
[1;32m 487[0m warnings[38;5;241m.[39mwarn(
|
||||
[1;32m 488[0m [38;5;124m"[39m[38;5;124mcan not check version! process list [39m[38;5;132;01m{}[39;00m[38;5;124m has access to hdf5 file [39m[38;5;132;01m{}[39;00m[38;5;124m"[39m[38;5;241m.[39mformat(
|
||||
[1;32m 489[0m p, [38;5;28mself[39m[38;5;241m.[39mhdf5_name
|
||||
[1;32m 490[0m )
|
||||
[1;32m 491[0m )
|
||||
|
||||
File [0;32m~/src/hops/hops/core/hierarchy_data.py:1384[0m, in [0;36mtest_file_version[0;34m(hdf5_name)[0m
|
||||
[1;32m 1379[0m [38;5;28;01mif[39;00m [38;5;28mlen[39m(p) [38;5;241m>[39m [38;5;241m0[39m:
|
||||
[1;32m 1380[0m [38;5;66;03m# another process accesses the file, assume that the file has allready the new format,[39;00m
|
||||
[1;32m 1381[0m [38;5;66;03m# since that other process has already changed it[39;00m
|
||||
[1;32m 1382[0m [38;5;28;01mreturn[39;00m p
|
||||
[0;32m-> 1384[0m [38;5;28;01mwith[39;00m [43mh5py[49m[38;5;241;43m.[39;49m[43mFile[49m[43m([49m[43mhdf5_name[49m[43m,[49m[43m [49m[38;5;124;43m"[39;49m[38;5;124;43mr+[39;49m[38;5;124;43m"[39;49m[43m,[49m[43m [49m[43mlibver[49m[38;5;241;43m=[39;49m[38;5;124;43m"[39;49m[38;5;124;43mlatest[39;49m[38;5;124;43m"[39;49m[43m)[49m [38;5;28;01mas[39;00m h5File:
|
||||
[1;32m 1385[0m [38;5;66;03m# print("test file, open", hdf5_name, "'r+")[39;00m
|
||||
[1;32m 1386[0m [38;5;28;01mtry[39;00m:
|
||||
[1;32m 1387[0m [38;5;66;03m# print("test file, try to set swmr_mode True")[39;00m
|
||||
[1;32m 1388[0m h5File[38;5;241m.[39mswmr_mode [38;5;241m=[39m [38;5;28;01mTrue[39;00m
|
||||
|
||||
File [0;32m/nix/store/786z5qd97vl0sdh5h4x9kg8ql6ihs4n0-python3-3.9.13-env/lib/python3.9/site-packages/h5py/_hl/files.py:533[0m, in [0;36mFile.__init__[0;34m(self, name, mode, driver, libver, userblock_size, swmr, rdcc_nslots, rdcc_nbytes, rdcc_w0, track_order, fs_strategy, fs_persist, fs_threshold, fs_page_size, page_buf_size, min_meta_keep, min_raw_keep, locking, alignment_threshold, alignment_interval, **kwds)[0m
|
||||
[1;32m 525[0m fapl [38;5;241m=[39m make_fapl(driver, libver, rdcc_nslots, rdcc_nbytes, rdcc_w0,
|
||||
[1;32m 526[0m locking, page_buf_size, min_meta_keep, min_raw_keep,
|
||||
[1;32m 527[0m alignment_threshold[38;5;241m=[39malignment_threshold,
|
||||
[1;32m 528[0m alignment_interval[38;5;241m=[39malignment_interval,
|
||||
[1;32m 529[0m [38;5;241m*[39m[38;5;241m*[39mkwds)
|
||||
[1;32m 530[0m fcpl [38;5;241m=[39m make_fcpl(track_order[38;5;241m=[39mtrack_order, fs_strategy[38;5;241m=[39mfs_strategy,
|
||||
[1;32m 531[0m fs_persist[38;5;241m=[39mfs_persist, fs_threshold[38;5;241m=[39mfs_threshold,
|
||||
[1;32m 532[0m fs_page_size[38;5;241m=[39mfs_page_size)
|
||||
[0;32m--> 533[0m fid [38;5;241m=[39m [43mmake_fid[49m[43m([49m[43mname[49m[43m,[49m[43m [49m[43mmode[49m[43m,[49m[43m [49m[43muserblock_size[49m[43m,[49m[43m [49m[43mfapl[49m[43m,[49m[43m [49m[43mfcpl[49m[43m,[49m[43m [49m[43mswmr[49m[38;5;241;43m=[39;49m[43mswmr[49m[43m)[49m
|
||||
[1;32m 535[0m [38;5;28;01mif[39;00m [38;5;28misinstance[39m(libver, [38;5;28mtuple[39m):
|
||||
[1;32m 536[0m [38;5;28mself[39m[38;5;241m.[39m_libver [38;5;241m=[39m libver
|
||||
|
||||
File [0;32m/nix/store/786z5qd97vl0sdh5h4x9kg8ql6ihs4n0-python3-3.9.13-env/lib/python3.9/site-packages/h5py/_hl/files.py:228[0m, in [0;36mmake_fid[0;34m(name, mode, userblock_size, fapl, fcpl, swmr)[0m
|
||||
[1;32m 226[0m fid [38;5;241m=[39m h5f[38;5;241m.[39mopen(name, flags, fapl[38;5;241m=[39mfapl)
|
||||
[1;32m 227[0m [38;5;28;01melif[39;00m mode [38;5;241m==[39m [38;5;124m'[39m[38;5;124mr+[39m[38;5;124m'[39m:
|
||||
[0;32m--> 228[0m fid [38;5;241m=[39m [43mh5f[49m[38;5;241;43m.[39;49m[43mopen[49m[43m([49m[43mname[49m[43m,[49m[43m [49m[43mh5f[49m[38;5;241;43m.[39;49m[43mACC_RDWR[49m[43m,[49m[43m [49m[43mfapl[49m[38;5;241;43m=[39;49m[43mfapl[49m[43m)[49m
|
||||
[1;32m 229[0m [38;5;28;01melif[39;00m mode [38;5;129;01min[39;00m [[38;5;124m'[39m[38;5;124mw-[39m[38;5;124m'[39m, [38;5;124m'[39m[38;5;124mx[39m[38;5;124m'[39m]:
|
||||
[1;32m 230[0m fid [38;5;241m=[39m h5f[38;5;241m.[39mcreate(name, h5f[38;5;241m.[39mACC_EXCL, fapl[38;5;241m=[39mfapl, fcpl[38;5;241m=[39mfcpl)
|
||||
|
||||
File [0;32mh5py/_objects.pyx:54[0m, in [0;36mh5py._objects.with_phil.wrapper[0;34m()[0m
|
||||
|
||||
File [0;32mh5py/_objects.pyx:55[0m, in [0;36mh5py._objects.with_phil.wrapper[0;34m()[0m
|
||||
|
||||
File [0;32mh5py/h5f.pyx:106[0m, in [0;36mh5py.h5f.open[0;34m()[0m
|
||||
|
||||
File [0;32mh5py/h5g.pyx:271[0m, in [0;36mh5py.h5g.GroupID.__init__[0;34m()[0m
|
||||
|
||||
File [0;32mh5py/h5g.pyx:272[0m, in [0;36mh5py.h5g.GroupID.__init__[0;34m()[0m
|
||||
|
||||
File [0;32m<frozen importlib._bootstrap>:398[0m, in [0;36mparent[0;34m(self)[0m
|
||||
|
||||
[0;31mKeyboardInterrupt[0m:
|
||||
#+end_example
|
||||
:END:
|
||||
|
||||
|
||||
#+begin_src jupyter-python
|
||||
|
@ -1742,7 +1887,7 @@ f, ax = plot_interaction_consistency(
|
|||
flow = -1 * model.bath_energy_flow(data, gc_sleep=0).for_bath(0)
|
||||
_, _, (lines, _) = plot_with_σ(
|
||||
model.t,
|
||||
flow * (1/flow.value[-1]),
|
||||
flow ,
|
||||
label=fr"$\omega_c={model.ω_c}$",
|
||||
ax=ax,
|
||||
)
|
||||
|
@ -1769,30 +1914,15 @@ f, ax = plot_interaction_consistency(
|
|||
# )
|
||||
# plot_with_σ(model.t, total, ax=ax, color=lines[0].get_color())
|
||||
#ax.set_yscale("log")
|
||||
plt.xlim(8,10)
|
||||
plt.ylim(.9, 2)
|
||||
# plt.xlim(8,10)
|
||||
# plt.ylim(.9, 2)
|
||||
plt.legend()
|
||||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
:RESULTS:
|
||||
#+begin_example
|
||||
Loading: 2% 2/84 [00:00<00:11, 7.13it/s][2m[36m(integration_task pid=32030, ip=141.30.17.8)[0m E0812 20:55:23.911544195 32243 chttp2_transport.cc:1103] Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings"
|
||||
[2m[36m(integration_task pid=31798, ip=141.30.17.8)[0m E0812 20:55:24.003499709 32022 chttp2_transport.cc:1103] Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings"
|
||||
Loading: 5% 4/84 [00:00<00:10, 7.52it/s][2m[36m(integration_task pid=32001, ip=141.30.17.8)[0m E0812 20:55:24.167139336 32253 chttp2_transport.cc:1103] Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings"
|
||||
Loading: 8% 7/84 [00:00<00:08, 8.81it/s][2m[36m(integration_task pid=31982, ip=141.30.17.8)[0m E0812 20:55:24.470939153 32222 chttp2_transport.cc:1103] Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings"
|
||||
Loading: 10% 8/84 [00:00<00:08, 8.54it/s][2m[36m(integration_task pid=31797, ip=141.30.17.8)[0m E0812 20:55:24.602187660 32006 chttp2_transport.cc:1103] Received a GOAWAY with error code ENHANCE_YOUR_CALM and debug data equal to "too_many_pings"
|
||||
Loading: 100% 84/84 [00:17<00:00, 4.70it/s]
|
||||
[INFO root 10013] Writing cache to: results/flow_331f9efc6c9a96e44040b52e5b1bdc5dc1ef0b66239e4bd74eb7ffc28fc1ac4b_flow_worker_1000_None_72e02dfe4c10430b09a230ac69f7ce17d2b26b203346f53fd151a749d0db0ea8.npy
|
||||
Loading: 100% 84/84 [00:16<00:00, 5.12it/s]
|
||||
[INFO root 10013] Writing cache to: results/flow_1f692962f6be2c0b07f9ec1346e5895d2a51480138232d4e6a04fc8cb4a4bcd5_flow_worker_1000_None_72e02dfe4c10430b09a230ac69f7ce17d2b26b203346f53fd151a749d0db0ea8.npy
|
||||
Loading: 100% 84/84 [00:16<00:00, 5.08it/s]
|
||||
[INFO root 10013] Writing cache to: results/flow_e524dd5144b67fa9354b65c0a6749782a40b86e4b3f0fd905a115e5f28b500bf_flow_worker_1000_None_72e02dfe4c10430b09a230ac69f7ce17d2b26b203346f53fd151a749d0db0ea8.npy
|
||||
Loading: 100% 84/84 [00:16<00:00, 5.03it/s]
|
||||
[INFO root 10013] Writing cache to: results/flow_fe8dafbadf6b56a312c509217693e49da823908a772ae6e8c979ac7a28379c5a_flow_worker_1000_None_72e02dfe4c10430b09a230ac69f7ce17d2b26b203346f53fd151a749d0db0ea8.npy
|
||||
#+end_example
|
||||
: <matplotlib.legend.Legend at 0x7f222c89f760>
|
||||
[[file:./.ob-jupyter/718773bf6ae3d946ad06a83feed92fa7077d9271.svg]]
|
||||
: <matplotlib.legend.Legend at 0x7f0a60c013a0>
|
||||
[[file:./.ob-jupyter/ea0e2d8ab0f00f7953f03bdc8a4179fa1e761f10.svg]]
|
||||
:END:
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue