You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug description and how to reproduce:
On top of rocky 8, the image created by pcluster build-image command ends up creating an image that contains /etc/profile.d/zippy_efa.sh that has
As a consequent of 2nd line for example, openmpi binaries path can supersede intel-mpi's binary path if you have "module load intelmpi" appended at the end of your $HOME/.bashrc, and afterwards when you create a dcv session ; after logging into that dcv session, you may end up in something like
[rocky@ip-xx ~]$ module list
Currently Loaded Modulefiles:
1) intelmpi/2021.13
[rocky@ip-xx ~]$ which mpicc
/opt/amazon/openmpi/bin/mpicc
[rocky@ip-xx ~]$ echo $PATH
/opt/amazon/openmpi/bin/:/opt/amazon/efa/bin/:/opt/intel/mpi/2021.13/opt/mpi/libfabric/bin:/opt/intel/mpi/2021.13/bin:/home/rocky/.local/bin:/home/rocky/bin:/opt/amazon/openmpi/bin/:/opt/amazon/efa/bin/:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/bin:/opt/aws/bin:/opt/parallelcluster/pyenv/versions/3.9.20/envs/awsbatch_virtualenv/bin:/opt/parallelcluster/pyenv/versions/3.9.20/envs/awsbatch_virtualenv/bin
Can someone be more imaginative than prepending paths inside /etc/profile.d specially when we have "module load openmpi" available !
This is by design. We want open mpi to be the default MPI library on the system. I am not surprised that the /etc/profile.d/zippy_efa.sh will conflict with your module load if it is in your bashrc. The best suggestion I can offer is to have that module load in your job script explicitly
Required Info:
Bug description and how to reproduce:
On top of rocky 8, the image created by pcluster build-image command ends up creating an image that contains /etc/profile.d/zippy_efa.sh that has
As a consequent of 2nd line for example, openmpi binaries path can supersede intel-mpi's binary path if you have "module load intelmpi" appended at the end of your $HOME/.bashrc, and afterwards when you create a dcv session ; after logging into that dcv session, you may end up in something like
Can someone be more imaginative than prepending paths inside /etc/profile.d specially when we have "module load openmpi" available !
Image configuration:
computeNodeAMIInstaller.sh looks like
The text was updated successfully, but these errors were encountered: