H5Z-ZFP icon indicating copy to clipboard operation
H5Z-ZFP copied to clipboard

Ubuntu all debian version (also ubuntu)

Open ghost opened this issue 1 year ago • 8 comments

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 avatar Feb 02 '24 08:02 ghost

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

ghost avatar Feb 02 '24 08:02 ghost

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?

markcmiller86 avatar Feb 02 '24 20:02 markcmiller86

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: @.***>

ghost avatar Feb 03 '24 04:02 ghost

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?

markcmiller86 avatar Feb 05 '24 00:02 markcmiller86

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: @.***>

ghost avatar Feb 05 '24 16:02 ghost

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.

markcmiller86 avatar Feb 05 '24 17:02 markcmiller86

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: @.***>

ghost avatar Feb 13 '24 16:02 ghost

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?

lindstro avatar Feb 19 '24 01:02 lindstro