Skip to content

Commit b22eb4c

Browse files
Add debug logging to job scripts [system:MiyabiG,MiyabiC] [code:qws]
1 parent 9a8ddd8 commit b22eb4c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

scripts/matrix_generate.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,12 @@ ${job_prefix}_run:
119119
needs: [${job_prefix}_build]
120120
script:
121121
- echo \"[RUN] $program on $system\"
122+
- echo \"Current directory: \$(pwd)\"
123+
- echo \"Job submission parameters: \$SCHEDULER_PARAMETERS\"
122124
- bash $program_path/run.sh $system $nodes ${numproc_node} ${nthreads}
125+
- echo \"Run script completed, checking for results...\"
126+
- ls -la . || echo \"Cannot list current directory\"
127+
- if [[ -d results ]]; then echo \"Results directory exists\"; ls -la results/; else echo \"Results directory missing\"; fi
123128
- bash scripts/result.sh $program $system
124129
after_script:
125130
- bash scripts/wait_for_nfs.sh results
@@ -159,8 +164,13 @@ ${job_prefix}_build_run:
159164
SCHEDULER_PARAMETERS: \"${schedule_parameter}\"
160165
script:
161166
- echo \"[BUILD_RUN:native] $program on $system\"
167+
- echo \"Current directory: \$(pwd)\"
168+
- echo \"Job submission parameters: \$SCHEDULER_PARAMETERS\"
162169
- bash $program_path/build.sh $system
163170
- bash $program_path/run.sh $system $nodes ${numproc_node} ${nthreads}
171+
- echo \"Run script completed, checking for results...\"
172+
- ls -la . || echo \"Cannot list current directory\"
173+
- if [[ -d results ]]; then echo \"Results directory exists\"; ls -la results/; else echo \"Results directory missing\"; fi
164174
- bash scripts/result.sh $program $system
165175
after_script:
166176
- bash scripts/wait_for_nfs.sh results

0 commit comments

Comments
 (0)