-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP-RFC] Recipes #3
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small comments
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, good to know.
./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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you installing like that rather than just use the icc-config.cgfg
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sh to bash at top
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For sure
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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source intel
OMP_PROC_BIND: 'close' | ||
DEVITO_MPI: 1 | ||
DEVITO_OPENMP: 1 | ||
OMP_PLACES: 'cores' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's for gnu
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
environment_variables: | ||
DEVITO_ARCH: intel | ||
OMP_NUM_THREADS: 8 | ||
OMP_PROC_BIND: 'close' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's for gnu
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you sourcing intel mpi for mpich run?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remianders
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, good to know.
./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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For sure
OMP_PROC_BIND: 'close' | ||
DEVITO_MPI: 1 | ||
DEVITO_OPENMP: 1 | ||
OMP_PLACES: 'cores' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remianders
Several recipes that need to be reviewed so that they can be improved. Open for discussion.
The recipes are:
It is WIP