We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d8a0c commit 3185e12Copy full SHA for 3185e12
share/picongpu/dockerfiles/ubuntu-1604/Dockerfile
@@ -61,7 +61,12 @@ RUN /bin/echo -e "source $SPACK_ROOT/share/spack/setup-env.sh\n" \
61
"spack load $PIC_PACKAGE\n" \
62
'if [ $(id -u) -eq 0 ]; then\n' \
63
' function mpirun { $(which mpirun) --allow-run-as-root $@; }\n' \
64
- 'fi' \
+ 'fi\n' \
65
+ 'export -f mpirun\n' \
66
+ 'if [ $(id -u) -eq 0 ]; then\n' \
67
+ ' function mpiexec { $(which mpiexec) --allow-run-as-root $@; }\n' \
68
69
+ 'export -f mpiexec\n' \
70
> /etc/profile.d/picongpu.sh
71
72
# build example for out-of-the-box usage: LWFA
0 commit comments