netcdf4-python icon indicating copy to clipboard operation
netcdf4-python copied to clipboard

Add custom build backend for parallel NetCDF4

Open stubbiali opened this issue 1 year ago • 3 comments

Introducing an in-tree build backend which programmatically detects whether NetCDF4 supports parallel I/O, and if so adds MPI4Py to the list of build dependencies. The custom backend is a very thin wrapper around the original Setuptools backend.

stubbiali avatar Jan 09 '24 14:01 stubbiali

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 09 '24 14:01 CLAassistant

You might want to report which nc-config it's trying to run. Currently the Windows builds are failing with FileNotFoundError: [WinError 2] The system cannot find the file specified which doesn't include the path, annoyingly!

ZedThree avatar Jan 17 '24 09:01 ZedThree

Many apologies, this PR has fallen out of my radar for too long... So far, CI on Windows fails since nc-config cannot be found. May be the PATH needs to be modified before trying to pip-install the package? Unfortunately, I don't have a Windows machine at disposal to do proper debug offline.

stubbiali avatar Jul 03 '24 12:07 stubbiali