radiocosmology / caput

Cluster Astronomical Python Utilities
GNU General Public License v2.0
12 stars 21 forks source link

fix(runner): reset the environment to stop crash at job start #248

Closed jrs65 closed 1 year ago

jrs65 commented 1 year ago

Before a job is submitted mpi4py modifies the environment in a way that is invisible to Python. This modified environment is inherited by the submitted jobs and was causing them to crash. This change resets the environment for the subprocess that submits that job.