LLNL / H5Z-ZFP

A registered ZFP compression plugin for HDF5
Other
50 stars 22 forks source link

Ubuntu all debian version (also ubuntu) #136

Open ghost opened 7 months ago

ghost commented 7 months ago

while install spack

same problem

51        os.environ["H5ZROOT"] = spec["h5z-zfp"].prefix

==> Error: KeyError: 'No spec with name h5z-zfp in sw4@=3.0%gcc@=7.5.0+fftw+hdf5

maybe its the syntax of spack

ghost commented 7 months ago

iv manage to install manual H5Z-ZFP

but it doesn't install sw4 and break the message 51 os.environ["H5ZROOT"] = spec["h5z-zfp"].prefix

markcmiller86 commented 7 months ago

I feel like I am getting only the tiniest pieces of information of something going wrong. I can't try to suggest cause or solution without more information like maybe the full spack command you are using? Maybe the concretization trail too? Which release of spack too?

ghost commented 7 months ago

Hi, thank you for the quick response What do need to know?

I try spack install sw4

No breaks till the last pkg of hfz Which I've install separatly

Cheers

On Fri, 2 Feb 2024, 22:12 Mark C. Miller, @.***> wrote:

I feel like I am getting only the tiniest pieces of information of something going wrong. I can't try to suggest cause or solution without more information like maybe the full spack command you are using? Maybe the concretization trail too?

— Reply to this email directly, view it on GitHub https://github.com/LLNL/H5Z-ZFP/issues/136#issuecomment-1924619754, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASCIWITQFDHQS27R2NNSCD3YRVCD3AVCNFSM6AAAAABCWJLFW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRUGYYTSNZVGQ . You are receiving this because you authored the thread.Message ID: @.***>

markcmiller86 commented 7 months ago

Ok, so the specific command you did was spack install sw4?

What version of spack are you using? After you cloned it, did you checkout a specific branch or release? Or, are you working from whatever the master branch in Spack is?

Have you read this part of H5Z-ZFP docs?

ghost commented 7 months ago

i've managed to install H5Z-ZFP manually

but i can't H5Z-ZFP within sw4 installation, therefore i cant load sw4

maybe the spack configuration of the H5Z-ZFP package ?

uses the default sw4 master branch .

On Mon, Feb 5, 2024 at 2:40 AM Mark C. Miller @.***> wrote:

Ok, so the specific command you did was spack install sw4?

What version of spack are you using? After you cloned it, did you checkout a specific branch or release? Or, are you working from whatever the master branch in Spack is?

Have you read this part https://h5z-zfp.readthedocs.io/en/latest/installation.html#spack2 of H5Z-ZFP docs?

— Reply to this email directly, view it on GitHub https://github.com/LLNL/H5Z-ZFP/issues/136#issuecomment-1926020227, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASCIWISOCTKR6S6K4GGLPELYSAS75AVCNFSM6AAAAABCWJLFW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRWGAZDAMRSG4 . You are receiving this because you authored the thread.Message ID: @.***>

markcmiller86 commented 7 months ago

uses the default sw4 master branch .

Hmmm...I worry you may need to work from a released version of spack. I don't honestly know how stable the master branch is.

ghost commented 7 months ago

same same problem on debian variants @.*** /home/dev/.spack/Spack/var/spack/repos/builtin/packages/sw4/package.py:51, in edit: 48 os.environ["fftw"] = "yes" 49 os.environ["SW4ROOT"] = spec["proj"].prefix 50 os.environ["HDF5ROOT"] = spec["hdf5"].prefix

51        os.environ["H5ZROOT"] = spec["h5z-zfp"].prefix

52 os.environ["ZFPROOT"] = spec["zfp"].prefix 53 os.environ["FFTWHOME"] = spec["fftw"].prefix 54 os.environ["EXTRA_LINK_FLAGS"] = "-lstdc++ -lm -ldl "

On Mon, Feb 5, 2024 at 7:59 PM Mark C. Miller @.***> wrote:

uses the default sw4 master branch .

Hmmm...I worry you may need to work from a released version of spack. I don't honestly know how stable the master branch is.

— Reply to this email directly, view it on GitHub https://github.com/LLNL/H5Z-ZFP/issues/136#issuecomment-1927632683, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASCIWIWUHCAINY34ZPHZVALYSEMXHAVCNFSM6AAAAABCWJLFW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRXGYZTENRYGM . You are receiving this because you authored the thread.Message ID: @.***>

lindstro commented 6 months ago

uses the default sw4 master branch .

Hmmm...I worry you may need to work from a released version of spack. I don't honestly know how stable the master branch is.

My understanding is that an official version of Spack is being used to install the master branch of sw4, which ought to work.

I'm afraid I cannot reproduce this problem as spack install sw4 fails for me on earlier dependencies, ostensibly due to missing support for Apple M2 by some dependencies like openblas and libtiff.

@markcmiller86 Does the install fail for you, too?