Repository navigation
[WIP-RFC] Recipes - #3
georgebisbas wants to merge 9 commits into
Conversation
| I_MPI_PIN_DOMAIN: socket | ||
| I_MPI_DAPL_PROVIDER: ofa-v2-ib0 | ||
| I_MPI_DYNAMIC_CONNECTION: 0 | ||
| I_MPI_DAPL_TRANSLATION_CACHE: 0 |
There was a problem hiding this comment.
From what I seen and tried, most of these IMPI env variables are overwrtitten by batch-shipyard to match the supported version on the host.
| ./install.sh --silent=/tmp/icc-config.cfg --components intel-mpi-psxe__x86_64 && \ | ||
| ./install.sh --silent=/tmp/icc-config.cfg --components intel-icc__x86_64 && \ | ||
| ./install.sh --silent=/tmp/icc-config.cfg --components intel-mpi-sdk__x86_64 && \ | ||
| ./install.sh --silent=/tmp/icc-config.cfg --components intel-mpi-rt__x86_64 && \ |
There was a problem hiding this comment.
why are you installing like that rather than just use the icc-config.cgfg?
There was a problem hiding this comment.
I was not using the duplicate in that. I will fix it
|
|
||
| RUN ls opt/intel/compilers_and_libraries/linux/ | ||
| RUN /bin/bash -c "source /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh -arch intel64 -platform linux" | ||
| RUN /bin/bash -c "source /opt/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh" |
| RUN apt-get install -y python3 python3-pip | ||
| RUN pip3 install --upgrade pip | ||
| RUN git clone -b azure-make https://github.com/devitocodes/devito.git | ||
| RUN cd devito && pip3 install -e .[extras] |
| OMP_PROC_BIND: 'close' | ||
| DEVITO_MPI: 1 | ||
| DEVITO_OPENMP: 1 | ||
| OMP_PLACES: 'cores' |
| environment_variables: | ||
| DEVITO_ARCH: intel | ||
| OMP_NUM_THREADS: 8 | ||
| OMP_PROC_BIND: 'close' |
| processes_per_node: 2 | ||
| options: | ||
| - --bind-to socket | ||
| pre_execution_command: source /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh -arch intel64 -platform linux; source /opt/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh; pip3 install mpi4py; |
There was a problem hiding this comment.
why are you sourcing intel mpi for mpich run?
georgebisbas
left a comment
There was a problem hiding this comment.
Thanks for the comments, most of them where unused files. I am of the opinion that we can build a repo here where we populate with recipes that work. So we can easily have discussions and improvement. Thanks again for the help.
| I_MPI_PIN_DOMAIN: socket | ||
| I_MPI_DAPL_PROVIDER: ofa-v2-ib0 | ||
| I_MPI_DYNAMIC_CONNECTION: 0 | ||
| I_MPI_DAPL_TRANSLATION_CACHE: 0 |
| ./install.sh --silent=/tmp/icc-config.cfg --components intel-mpi-psxe__x86_64 && \ | ||
| ./install.sh --silent=/tmp/icc-config.cfg --components intel-icc__x86_64 && \ | ||
| ./install.sh --silent=/tmp/icc-config.cfg --components intel-mpi-sdk__x86_64 && \ | ||
| ./install.sh --silent=/tmp/icc-config.cfg --components intel-mpi-rt__x86_64 && \ |
There was a problem hiding this comment.
I was not using the duplicate in that. I will fix it
|
|
||
| RUN ls opt/intel/compilers_and_libraries/linux/ | ||
| RUN /bin/bash -c "source /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh -arch intel64 -platform linux" | ||
| RUN /bin/bash -c "source /opt/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh" |
| OMP_PROC_BIND: 'close' | ||
| DEVITO_MPI: 1 | ||
| DEVITO_OPENMP: 1 | ||
| OMP_PLACES: 'cores' |
| processes_per_node: 2 | ||
| options: | ||
| - --bind-to socket | ||
| pre_execution_command: source /opt/intel/compilers_and_libraries/linux/bin/compilervars.sh -arch intel64 -platform linux; source /opt/intel/compilers_and_libraries/linux/mpi/intel64/bin/mpivars.sh; pip3 install mpi4py; |
Several recipes that need to be reviewed so that they can be improved. Open for discussion.
The recipes are:
It is WIP