Replies: 2 comments 2 replies
-
|
Hi @jwmelto can you paste the errors CMake is showing without cuPy? As I mentioned in that other thread cuPy is only required for a handful of unit tests, and since you're not building the tests I wouldn't expect it to care. You can see here that it's an optional dependency and should show a warning only. If it's an error that's stopping your build it would be good to understand why that's being triggered by cuPy. |
Beta Was this translation helpful? Give feedback.
-
|
This is what I see today: That's not horrible; if CuPy is installed but not patched per the original discussion, it throws the verbose exception originally noted: To your point: neither of these scenarios stops installation. And this Containerfile has evolved over time, as has MatX, so I can't say that it wasn't scarier earlier. I do try to have error/warning-free builds of all the packages I use, because the casual user lacks the insight to know what is meaningful and what is not. I'm content to not install CuPy; the current state of things is tolerable. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Continuing the discussion from cupy/cupy#9464.
I am building a MatX-enabled toolchain container, to support my MatX application. An (unverified) minimal Containerfile looks like this:
(there are probably some other Python packages, like matplotlib; this was taken from the CuPy issue, and was reduced to show the CuPy problem).
I install MatX into the image like this:
By enabling visualization, I trigger various python dependencies. (I'll also assert that pybind11 is installed, but not relevant to this discussion).
If CuPy is not (successfully) installed, CMake spews the horrible error message that you get when an import fails. @cliffburdick asserts that, since MatX is header-only, it doesn't need to build anything, but with the runtime python bindings (FILEIO, VISUALIZATION), if the packages are not present bad things will happen.
The purpose of this discussion is to clarify what Python dependencies MatX truly has, and the consequences of an incompletely supported Python environment.
My goal for this Containerfile is to isolate all the version dependencies of all the components external to this file, so they can be modified through build-time arguments without having to change the Containerfile.
Beta Was this translation helpful? Give feedback.
All reactions