Skip to content

Commit

Permalink
Update ReFrame Dockerfile in Docker compose setup
Browse files Browse the repository at this point in the history
So as to be able to test more easily branches from different forks
  • Loading branch information
vkarak committed May 8, 2024
1 parent 2c1546b commit ff41341
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ RUN chmod +rx /etc/slurm-llnl/docker-entrypoint.sh

# Install reframe
ARG REFRAME_TAG=develop
ARG REFRAME_REPO=reframe-hpc
WORKDIR /usr/local/share
RUN git clone --depth 1 --branch $REFRAME_TAG https://github.com/reframe-hpc/reframe.git && \
RUN git clone --depth 1 --branch $REFRAME_TAG https://github.com/$REFRAME_REPO/reframe.git && \
cd reframe/ && ./bootstrap.sh
ENV PATH=/usr/local/share/reframe/bin:$PATH

Expand Down
1 change: 1 addition & 0 deletions reframe/core/schedulers/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ def poll(self, *jobs):

# Join the states with ',' in case of job arrays
job._state = ','.join(s.group('state') for s in job_match)

# Use ',' to join nodes to be consistent with Slurm syntax
job._nodespec = ','.join(m.group('nodespec') for m in job_match)
self._cancel_if_blocked(
Expand Down

0 comments on commit ff41341

Please sign in to comment.