Skip to content
Snippets Groups Projects
Commit 9c510ae2 authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

add number of threads and tasks

parent e2ebab40
Branches
No related tags found
1 merge request!30Resolve "[Docker] mpiexec not set"
...@@ -81,6 +81,8 @@ RUN /bin/bash /home/user/spack-environments/spack_setup.sh -b ${toolchain} ...@@ -81,6 +81,8 @@ RUN /bin/bash /home/user/spack-environments/spack_setup.sh -b ${toolchain}
# If the toolchain variable is 'global' then exit(0) and do nothing else clone octopus, load toolchains and make and test octopus # If the toolchain variable is 'global' then exit(0) and do nothing else clone octopus, load toolchains and make and test octopus
ENV MODULEPATH=/home/user/spack-environments/lmod/Core:/etc/lmod/modules:/usr/share/lmod/lmod/modulefiles ENV MODULEPATH=/home/user/spack-environments/lmod/Core:/etc/lmod/modules:/usr/share/lmod/lmod/modulefiles
ENV MPIEXEC=orterun ENV MPIEXEC=orterun
ENV OMP_NUM_THREADS=2
ENV OCT_TEST_NJOBS=4
RUN if [ "${toolchain}" = "global" ]; \ RUN if [ "${toolchain}" = "global" ]; \
then exit 0; \ then exit 0; \
else \ else \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment