Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rasolca committed Oct 3, 2024
1 parent 0b6bdd0 commit 8ecf4e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion ci/common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ stages:
- 'echo $DOCKERHUB_TOKEN | podman login docker.io -u $DOCKERHUB_USERNAME --password-stdin'
- 'echo "INFO: Using NUM_CORES_BUILD_DLAF=$NUM_CORES_BUILD_DLAF"'
after_script:
- podman run -v $PWD/ci/ctest_to_gitlab.sh:/ctest_to_gitlab.sh $DLAF_IMAGE /ctest_to_gitlab.sh "$DLAF_IMAGE" "$USE_CODECOV" "THREADS_MAX_PER_TASK" "$THREADS_PER_NODE" "$SLURM_CONSTRAINT" "$RUNNER" > pipeline.yml
- podman run -v $PWD/ci/ctest_to_gitlab.sh:/ctest_to_gitlab.sh $DLAF_IMAGE /ctest_to_gitlab.sh "$DLAF_IMAGE" "$USE_CODECOV" "$THREADS_MAX_PER_TASK" "$THREADS_PER_NODE" "$SLURM_CONSTRAINT" "$RUNNER" > pipeline.yml
variables:
PERSIST_IMAGE_NAME: $DLAF_IMAGE
DOCKER_BUILD_ARGS: '[
Expand Down
1 change: 0 additions & 1 deletion ci/ctest_to_gitlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ for label in `ctest --print-labels | egrep -o "RANK_[1-9][0-9]?"`; do
N=`echo "$label" | sed "s/RANK_//"`
C=$(( THREADS_PER_NODE / N ))

echo "$N $C $THREADS_MAX_PER_TASK"
if [ $C -gt $THREADS_MAX_PER_TASK ]; then
C=$THREADS_MAX_PER_TASK
fi
Expand Down

0 comments on commit 8ecf4e2

Please sign in to comment.