File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/psij/launchers/scripts Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,18 @@ filter_err() {
2323 sed -nE ' s/^\[[^]]+\]<stderr>:(.*)/\1/p'
2424}
2525
26+ filter_out_5 () {
27+ sed -nE ' s/^\[[^]]+\]<stdout>: (.*)/\1/p'
28+ }
29+
30+ filter_err_5 () {
31+ sed -nE ' s/^\[[^]]+\]<stderr>: (.*)/\1/p'
32+ }
33+
2634set +e
2735if [ " $IS_OPENMPI_5 " == " 1" ]; then
2836 mpirun --oversubscribe --output TAG -n $_PSI_J_PROCESS_COUNT " $@ " \
29- 1> >( filter_out > $_PSI_J_STDOUT ) 2> >( filter_err > $_PSI_J_STDERR ) < $_PSI_J_STDIN
37+ 1> >( filter_out_5 > $_PSI_J_STDOUT ) 2> >( filter_err_5 > $_PSI_J_STDERR ) < $_PSI_J_STDIN
3038elif [ " $IS_OPENMPI " == " 1" ]; then
3139 mpirun --oversubscribe --tag-output -q -n $_PSI_J_PROCESS_COUNT " $@ " \
3240 1> >( filter_out > " $_PSI_J_STDOUT " ) 2> >( filter_err > $_PSI_J_STDERR ) < $_PSI_J_STDIN
You can’t perform that action at this time.
0 commit comments