Closed holtgrewe closed 3 years ago
OK, writing the following into a file and export SLURM_CONF=/tmp/slurm.fake.conf
makes configure run through.
# /tmp/slurm.fake.conf
ClusterName=linux
ControlMachine=linux0
SlurmctldPort=6817
SlurmdPort=6818
AuthType=auth/munge
StateSaveLocation=/var/spool/slurm/ctld
SlurmdSpoolDir=/var/spool/slurm/d
SwitchType=switch/none
MpiDefault=none
SlurmctldPidFile=/var/run/slurmctld.pid
SlurmdPidFile=/var/run/slurmd.pid
ProctrackType=proctrack/pgid
ReturnToService=0
SlurmctldTimeout=300
SlurmdTimeout=300
InactiveLimit=0
MinJobAge=300
KillWait=30
Waittime=0
SchedulerType=sched/backfill
SelectType=select/cons_tres
SelectTypeParameters=CR_Core
SlurmctldDebug=info
SlurmctldLogFile=/var/log/slurmctld.log
SlurmdDebug=info
SlurmdLogFile=/var/log/slurmd.log
JobCompType=jobcomp/none
NodeName=linux[1-32] Procs=1 State=UNKNOWN
PartitionName=debug Nodes=ALL Default=YES MaxTime=INFINITE State=UP
Looks like you got it working, it's unclear to me whether there's anything that should be addressed in slurm-drmaa but if you think that's the case, please let me know.
Thanks for taking the time to look at this.
I think the configure script should write a temporary config file and set the environment variable before compiling the test programs. Otherwise configure will fail.
./configure
failsThe relevant section in
config.log
It looks like this is the culprit:
It worked with the previous version that I used (20.02).
It looks like there now is a
slurm_library_init
and this subsequently requires a working slurm configuration and installation to run.