-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spack CI + MAPL 3 Issues #3299
Comments
Do you have the failure message from zstd? Is this a LD_LIBRARY_PATH issue, where the zstd library is not being found at runtime? But other times, when LD_LIBRARY_PATH is set correctly, unit tests pass? |
@edwardhartnett I mean, the error seems to be:
which is...weird. I mean, this code around is essentially identical between MAPL2 and MAPL3 (the only differences are gFTL v1 to v2 interfaces, so nothing to do with netCDF). And I'm using the exact same Spack environment on the same machine! I'll try and debug with @bena-nasa next week. Just...baffling. |
OK make sure environment var HDF5_PLUGIN_PATH is set to the place where the zstd plugin code is installed. (Check the netcdf-c build output to find where that is.) IIRC the error you're getting is filter not found, which means that HDF5 is trying to read/write some data, and needs a filter for it, and cannot find that filter in it's filter path. The filter path can be set by setting HDF5_PLUGIN_PATH. If this is the answer, you have my apology, because this awkwardness is my fault. However, in the next release of netCDF, there is a way to set the plugin path programatically, so that an environment var does not have to be used. |
@edwardhartnett Ahh. Interesting. I see this: def setup_run_environment(self, env):
if self.spec.satisfies("@4.9.0:+shared"):
# Both HDF5 and NCZarr backends honor the same environment variable:
env.append_path("HDF5_PLUGIN_PATH", self.prefix.plugins) in the spack netcdf-c package, but I wonder if what we need is an "if +zstd, then add a zstd path to that". I see things like that in, say, sz3: def setup_run_environment(self, env):
if "+hdf5" in self.spec:
env.prepend_path("HDF5_PLUGIN_PATH", self.prefix.lib64) Something to test on Monday! (And, I guess, I should test SZ3... 😄 ) |
I am making this issue mainly as a pointer as to why I'm blocking #3298 .
Build Issues with ESMF 8.8.0
In testing Spack with MAPL 2, I found I needed ESMF 8.8.0 (see #3298). But when I tried MAPL3 with that same environment I got:
Now, in those files I see:
MAPL/field/FieldDelta.F90
Lines 51 to 54 in 80afc89
and:
MAPL/field/FieldDelta.F90
Lines 427 to 430 in 80afc89
So we'll need to remove those as stated.
Weird zstandard compression issue
I'm also seeing an error with spack + MAPL3 (on bare metal, haven't tried in cloud).
To wit, in my Spack env, netcdf-c was built with zstd support:
and during CMake MAPL3 seems to see it:
but the ExtData Zstd tests fail:
The odd thing is, these tests PASS with MAPL2 + Spack:
I'll try and figure this out, but I might need to invoke @edwardhartnett as maybe he has knowledge/insight/memories of Spack, netcdf, zstd issues?
The text was updated successfully, but these errors were encountered: