How do I upload a job to the web without running it so I can inspect it first?#
Date |
Category |
---|---|
2023-12-03 13:25:27 |
Simulations |
Once you’ve created a job
object using tidy3d.web.Job
, you can upload it to our servers with web.upload(simulation, task_name=”task_name”, verbose=verbose)
and it will not run until you explicitly tell it to do so with web.start(job.task_id)
. To monitor the simulation’s progress and wait for its completion, use web.monitor(job.task_id, verbose=verbose)
. After running the simulation, you can load the results using sim_data = web.load(job.task_id, path=“out/simulation.hdf5”, verbose=verbose)
. In this notebook, you will find detailed information on how to run simulations using the web API.