ecmwf-ifs / loki

Freely programmable source-to-source translation for Fortran
https://sites.ecmwf.int/docs/loki/
Apache License 2.0
29 stars 12 forks source link

Create a pid-specific temporary directory and clean it up at the end #261

Closed reuterbal closed 6 months ago

reuterbal commented 6 months ago

This expands the gettempdir utility to

  1. create pid-specific temporary directory to avoid race conditions among concurrent Loki executions (hoping this resolves the CI failures with OMNI regression testing)
  2. clean up the temporary directory when the python interpreter terminates
github-actions[bot] commented 6 months ago

Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/261/index.html