Skip to content

Non-optimal CPU detection of neoverse_v1 using archspec #320

Closed

Description

@laraPPr

When setting up the EESSI environment on the neoverse_v1 nodes on aws/citc archspec detects neoverse_n1 instead of neoverse_v1.

@fair-mastodon-c7g-2xlarge-0002 ~]$ source /cvmfs/pilot.eessi-hpc.org/versions/2023.06/init/bash

Found EESSI pilot repo @ /cvmfs/pilot.eessi-hpc.org/versions/2023.06!

archspec says aarch64/neoverse_n1

Using aarch64/neoverse_n1 as software subdirectory.

Using /cvmfs/pilot.eessi-hpc.org/versions/2023.06/software/linux/aarch64/neoverse_n1/modules/all as the directory to be added to MODULEPATH.

Found Lmod configuration file at /cvmfs/pilot.eessi-hpc.org/versions/2023.06/software/linux/aarch64/neoverse_n1/.lmod/lmodrc.lua

Initializing Lmod...

Prepending /cvmfs/pilot.eessi-hpc.org/versions/2023.06/software/linux/aarch64/neoverse_n1/modules/all to $MODULEPATH...

Environment set up to use EESSI pilot software stack, have fun!

Activity

  1. laraPPr commented on Aug 29, 2023

    @laraPPr
    CollaboratorAuthor

    cat /proc/cpuinfo on c7g-2xlarge

    processor	: 0
    
    BogoMIPS	: 2100.00
    
    Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs dcpodp svei8mm svebf16 i8mm bf16 dgh rng
    
    CPU implementer	: 0x41
    
    CPU architecture: 8
    
    CPU variant	: 0x1
    
    CPU part	: 0xd40
    
    CPU revision	: 1
    
  2. laraPPr commented on Aug 29, 2023

    @laraPPr
    CollaboratorAuthor

    There are two missing CPU features on c7g-2xlarge: paca and pacg
    You can check the list here

  3. changed the title [-]Non-optimal CPU detection of neoverse_v1[/-] [+]Non-optimal CPU detection of neoverse_v1 using archspec[/+] on Aug 31, 2023
  4. boegel commented on Aug 31, 2023

    @boegel
    Contributor

    Together with #322, this is enough motivation to switch to using our own minimal archdetect implementation rather than relying on archspec for EESSI pilot 2023.06, I think...

  5. ocaisa commented on Aug 31, 2023

    @ocaisa
    Member

    @boegel There's an error in archdetect that is fixed as part of #264

  6. boegel commented on Sep 1, 2023

    @boegel
    Contributor

    @laraPPr Can you check whether archdetect correctly detects both neoverse_v1 and zen3 (cfr. #322), using:

    EESSI_USE_ARCHDETECT=1 source /cvmfs/pilot.eessi-hpc.org/versions/2023.06/init/bash
    
  7. deleted a comment from boegel on Sep 1, 2023
  8. laraPPr commented on Sep 1, 2023

    @laraPPr
    CollaboratorAuthor

    Results on zen3: #322 (comment)

    • c7g.2xlarge
    [laraPPr@fair-mastodon-c7g-2xlarge-0001 ~]$ EESSI_USE_ARCHDETECT=1 source /cvmfs/pilot.eessi-hpc.org/versions/2023.06/init/bash
    
    Found EESSI pilot repo @ /cvmfs/pilot.eessi-hpc.org/versions/2023.06!
    
    2023-09-01 12:10:56 [INFO] cpupath: best match for host CPU: aarch64/arm/neoverse-v1
    
    archdetect says aarch64/arm/neoverse-v1
    
    Using aarch64/arm/neoverse-v1 as software subdirectory.
    
    ERROR: EESSI software layer at /cvmfs/pilot.eessi-hpc.org/versions/2023.06/software/linux/aarch64/arm/neoverse-v1 not found!
    
  9. laraPPr commented on Sep 1, 2023

    @laraPPr
    CollaboratorAuthor

    The error is because archdetect finds neoverse-v1 instead of neoverse_v1
    This is also the case for neoverse_n1 which archdetect recognizes as neoverse-n1

  10. boegel commented on Sep 1, 2023

    @boegel
    Contributor

    And there's the extra arm/ subdirectory which doesn't exist.

  11. ocaisa commented on Sep 3, 2023

    @ocaisa
    Member

    As part of #264, I've fixed the Arm detection and added an additional check in CI that ensures that whatever archdetect spits out actually exists as an option.

  12. added a commit that references this issue on Apr 14, 2024
  13. ocaisa commented on Sep 19, 2025

    @ocaisa
    Member

    Resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions