opera-adt / disp-s1

OPERA Displacement workflows
Other
5 stars 8 forks source link

Force `spawn` for product creation, not `fork` #113

Closed scottstanie closed 2 months ago

scottstanie commented 2 months ago

Possible cause of hung workflows at the last stage:

/u/aurora-r0/staniewi/miniconda3/envs/mapping-311/lib/python3.11/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
  self.pid = os.fork()