Skip to content

SDSC: Problem with external slurm module in exp/0.21.2/cpu/dev #166

Description

@mkandes

Why does spack even internalize the external module?

[mkandes@login01 ~]$ !13268
. /cm/shared/apps/spack/0.21.2/cpu/dev/share/spack/setup-env.sh
[mkandes@login01 ~]$ !13269
module use /cm/shared/apps/spack/0.21.2/cpu/dev/share/spack/lmod/linux-rocky8-x86_64/Core
[mkandes@login01 ~]$ module load gcc/13.3.0-t46rsdv 

Inactive Modules:
  1) slurm

[mkandes@login01 ~]$ squeue --me
-bash: squeue: command not found
[mkandes@login01 ~]$ module load openmpi/4.1.8-4ex7oqp 

Activating Modules:
  1) slurm/23.02.7-qwmhq6o-qwmhq6o

The following have been reloaded with a version change:
  1) zlib-ng/2.1.4-f3aqwo6-f3aqwo6 => zlib-ng/2.1.4-otfrjgj-otfrjgj
  2) zstd/1.5.5-a6unagk-a6unagk => zstd/1.5.5-el7dac3-el7dac3

[mkandes@login01 ~]$ which squeue
/cm/shared/apps/slurm/current/bin/squeue
[mkandes@login01 ~]$ squeue --me
squeue: error: resolve_ctls_from_dns_srv: res_nsearch error: Unknown host
squeue: error: fetch_config: DNS SRV lookup failed
squeue: error: _establish_config_source: failed to fetch config
squeue: fatal: Could not establish a configuration source
[mkandes@login01 ~]$
[mkandes@login01 ~]$ module load slurm/expanse/23.02.7 
[mkandes@login01 ~]$ squeue --me
             JOBID PARTITION     NAME     USER ST       TIME  NODES NODELIST(REASON)
        44609420_3 large-sha ior-4.0.  mkandes PD       0:00      1 (QOSMaxJobsPerUserLimit)
        44609420_2 large-sha ior-4.0.  mkandes PD       0:00      1 (QOSMaxJobsPerUserLimit)
        44609420_0 large-sha ior-4.0.  mkandes  R      41:00      1 exp-11-01
        44609420_1 large-sha ior-4.0.  mkandes  R      41:00      1 exp-11-03
[mkandes@login01 ~]$

Activity

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