Skip to content

Commit a9c7009

Browse files
committed
Debug
1 parent acd1371 commit a9c7009

File tree

2 files changed

+85
-83
lines changed

2 files changed

+85
-83
lines changed

.github/workflows/c-cpp.yml

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,83 @@
1-
name: C/C++ CI
2-
3-
on:
4-
push:
5-
branches: [ master ]
6-
pull_request:
7-
branches: [ master ]
8-
workflow_dispatch:
9-
10-
jobs:
11-
debug_builds:
12-
runs-on: ubuntu-latest
13-
strategy:
14-
matrix:
15-
folder: [ epochX/cudacpp/ee_mumu.sa/SubProcesses/P1_Sigma_sm_epem_mupmum ]
16-
fail-fast: false
17-
steps:
18-
- uses: actions/checkout@v2
19-
- name: make debug
20-
run: make -C ${{ matrix.folder }} debug
21-
CPU:
22-
runs-on: ubuntu-latest
23-
strategy:
24-
matrix:
25-
folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum , epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
26-
precision: [ d , f , m ]
27-
backend: [ cppnone, cppauto ]
28-
fail-fast: false
29-
steps:
30-
- uses: actions/checkout@v2
31-
- name: github PR info
32-
run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
33-
- name: make info
34-
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
35-
- name: make
36-
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
37-
- name: make test
38-
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
39-
CPU_MAC:
40-
runs-on: macos-latest
41-
env:
42-
FC: gfortran-14 # see #971
43-
strategy:
44-
matrix:
45-
folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum, epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
46-
precision: [ d , f , m ]
47-
backend: [ cppnone, cppsse4 ]
48-
fail-fast: false
49-
steps:
50-
- uses: actions/checkout@v2
51-
- name: github PR info
52-
run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
53-
- name: make info
54-
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
55-
- name: make
56-
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
57-
- name: make test
58-
run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
59-
GPU:
60-
runs-on: self-hosted
61-
# runs-on: madgraph5-h100
62-
# container: registry.cern.ch/ngt/lxplus-like:9
63-
env:
64-
CUDA_HOME: /usr/local/cuda/
65-
FC: gfortran
66-
strategy:
67-
matrix:
68-
folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum , epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
69-
precision: [ d , f , m ]
70-
backend: [ cppauto, cuda ]
71-
fail-fast: false
72-
steps:
73-
- uses: actions/checkout@v2
74-
- name: path
75-
run: echo "PATH=$PATH"
76-
- name: github PR info
77-
run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
78-
- name: make info
79-
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
80-
- name: make
81-
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
82-
- name: make test
83-
run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
1+
# name: C/C++ CI
2+
#
3+
# on:
4+
# push:
5+
# branches: [ master ]
6+
# pull_request:
7+
# branches: [ master ]
8+
# workflow_dispatch:
9+
#
10+
# jobs:
11+
# debug_builds:
12+
# runs-on: ubuntu-latest
13+
# strategy:
14+
# matrix:
15+
# folder: [ epochX/cudacpp/ee_mumu.sa/SubProcesses/P1_Sigma_sm_epem_mupmum ]
16+
# fail-fast: false
17+
# steps:
18+
# - uses: actions/checkout@v2
19+
# - name: make debug
20+
# run: make -C ${{ matrix.folder }} debug
21+
# CPU:
22+
# runs-on: ubuntu-latest
23+
# strategy:
24+
# matrix:
25+
# folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum , epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
26+
# precision: [ d , f , m ]
27+
# backend: [ cppnone, cppauto ]
28+
# fail-fast: false
29+
# steps:
30+
# - uses: actions/checkout@v2
31+
# - name: github PR info
32+
# run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
33+
# - name: make info
34+
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
35+
# - name: make
36+
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
37+
# - name: make test
38+
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
39+
# CPU_MAC:
40+
# runs-on: macos-latest
41+
# env:
42+
# FC: gfortran-14 # see #971
43+
# strategy:
44+
# matrix:
45+
# folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum, epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
46+
# precision: [ d , f , m ]
47+
# backend: [ cppnone, cppsse4 ]
48+
# fail-fast: false
49+
# steps:
50+
# - uses: actions/checkout@v2
51+
# - name: github PR info
52+
# run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
53+
# - name: make info
54+
# run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
55+
# - name: make
56+
# run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
57+
# - name: make test
58+
# run: make BACKEND=${{ matrix.backend }} OMPFLAGS= FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test
59+
# GPU:
60+
# runs-on: self-hosted
61+
# # runs-on: madgraph5-h100
62+
# # container: registry.cern.ch/ngt/lxplus-like:9
63+
# env:
64+
# CUDA_HOME: /usr/local/cuda/
65+
# FC: gfortran
66+
# strategy:
67+
# matrix:
68+
# folder: [ epochX/cudacpp/ee_mumu.mad/SubProcesses/P1_epem_mupmum , epochX/cudacpp/gg_ttgg.mad/SubProcesses/P1_gg_ttxgg ]
69+
# precision: [ d , f , m ]
70+
# backend: [ cppauto, cuda ]
71+
# fail-fast: false
72+
# steps:
73+
# - uses: actions/checkout@v2
74+
# - name: path
75+
# run: echo "PATH=$PATH"
76+
# - name: github PR info
77+
# run: date; echo github.event.pull_request.head.sha='${{ github.event.pull_request.head.sha }}'
78+
# - name: make info
79+
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk info
80+
# - name: make
81+
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }}
82+
# - name: make test
83+
# run: make BACKEND=${{ matrix.backend }} FPTYPE=${{ matrix.precision }} -C ${{ matrix.folder }} -f cudacpp.mk test

.github/workflows/testsuite_oneprocess.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,8 @@ jobs:
281281
if: always()
282282
run: |
283283
shopt -s nullglob
284+
pwd
285+
ls -l
284286
for c in $(find . -name 'core.*' -maxdepth 6); do
285287
exe=$(echo "$c" | sed -n 's/.*core\.\(.*\)\.[0-9]\+/\1/p')
286288
echo "---- $c (exe guess: $exe) ----"

0 commit comments

Comments
 (0)