Intel® HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

Intel MPI module file

jackson__adrian
Beginner
1,250 Views

The latest OneAPI HPC toolkit does not seem to properly create the module file for version 2021.10.0. It creates a module file that is missing the version number from the directory paths, i.e.

 

prepend_path("PATH","/the/path/it/is/at/mpi/intel64/bin")

 

rather than:

 

prepend_path("PATH","/the/path/it/is/at//mpi/2021.8.0/bin")

as you get with the previous version of the library.

 

It seems to stem from these lines:

 

set topdir [file dirname [file dirname [file dirname ${scriptpath} ]]]

 

and

prepend-path CLASSPATH $topdir/intel64/lib/mpi.jar
prepend-path PATH $topdir/intel64/bin
prepend-path LD_LIBRARY_PATH $topdir/intel64/lib/$i_mpi_library_kind:$topdir/intel64/lib

Which are different to other module file versions for the mpi library.

0 Kudos
8 Replies
AishwaryaCV_Intel
Moderator
1,205 Views

Hi,

 

Thank you for posting in intel community.

 

Could you please provide us the following details to check if its supported or not?

1. OS details

 

We have tried at our end in both linux system and windows system , we were able to get the module file with the version number of  latest oneAPI(2021.10)

Linux System:

linux_system.png

Windows System:

windows_system.png

 

Thanks And Regards,

Aishwarya

 

0 Kudos
jackson__adrian
Beginner
1,199 Views

I've seen this both on CentOS 7.9 and on  HPE Cray Linux Environment (based on SLES 15).

 

It's not that the software is not installed, I have all the software installed fine. It's the lmod module file that is incorrectly generate. When I rebuild the module files after installing this version of Intel MPI, the mpi/latest (i.e. mpi/2021.10.0) module file is not set up correctly. It has incorrect paths in it.

This is using:


Modules based on Lua: Version 8.7.7 2022-07-05 10:00 -05:00
by Robert McLay mclay@tacc.utexas.edu

 

And the modulefiles-setup.sh script.

0 Kudos
AishwaryaCV_Intel
Moderator
1,190 Views

Hi,

 

IntelMPI does not support CentOS 7.9; however, it is supported on HPE Cray Linux Environment, which is built upon SLES 15.

 

Could you please let us know from where you are referring incorrect directory paths? Could you also provide us the detailed steps to reproduce at our end?

 

Please find the output for the following command in the attached screenshot :

sh /opt/intel/oneapi/modulefiles-setup.sh

module_files.png

Are you also referring to the same path or different one?

 

Thanks and Regards,`

Aishwarya

 

 

0 Kudos
jackson__adrian
Beginner
1,181 Views

As outlined in the original query, the modulefile exists, but is incorrect:

 

"

It creates a module file that is missing the version number from the directory paths, i.e.

 

prepend_path("PATH","/the/path/it/is/at/mpi/intel64/bin")

 

rather than:

 

prepend_path("PATH","/the/path/it/is/at/mpi/2021.8.0/bin")

as you get with the previous version of the library.

 

It seems to stem from these lines:

 

set topdir [file dirname [file dirname [file dirname ${scriptpath} ]]]

 

and

prepend-path CLASSPATH $topdir/intel64/lib/mpi.jar
prepend-path PATH $topdir/intel64/bin
prepend-path LD_LIBRARY_PATH $topdir/intel64/lib/$i_mpi_library_kind:$topdir/intel64/lib

Which are different to other module file versions for the mpi library."

0 Kudos
AishwaryaCV_Intel
Moderator
1,054 Views

Hi,


We are looking into issue , we will get back to you soon.


Thanks And Regards,

Aishwarya


0 Kudos
AishwaryaCV_Intel
Moderator
835 Views

Hi,

 

Thank you for your patience.

 

The issue regarding incorrect Intel MPI paths inside modulefiles has been targeted to be fixed in Intel MPI 2021.11 Release which will be released in the coming months. If the issue still persists with the new release, then you can start a new discussion for the community to investigate.

 

Release notes for all the updates regarding the Intel MPI:

https://www.intel.com/content/www/us/en/developer/articles/release-notes/mpi-library-release-notes.html

 

Meanwhile, you can use the below workaround to work with the Intel MPI 2021.10 version.

Method1:

If you have the Intel MPI 2021.9 version installed in your system module file can be inherited from its installation.

 

>sudo cp -f /opt/intel/oneapi/mpi/2021.9.0/modulefiles/mpi /opt/intel/oneapi/mpi/2021.10.0/modulefiles/

after this below command used should be used to update module files

>sudo sh /opt/intel/oneapi/modulefiles-setup.sh

 

If you do not have sudo permissions, please use the MODULEPATH environment variable as an alternative.

After loading module you should have $I_MPI_ROOT/libfabric/bin:$I_MPI_ROOT/bin in you PATH.

 

Method2:

If you do not have Intel MPI 2021.9 in your system, then please download the attached file and follow the below steps to get correct path

1.Download the zip file attached here and unzip the file & place it in a temporary directory, such as your home dir.

We assume home directory for the following instructions

2.Created a soft link 

ln -s /opt/intel/oneapi/modulefiles/mpi/latest mpi

3. sudo sh /opt/intel/oneapi/modulefiles-setup.sh

4.module add mpi/latest

5.echo $PATH

Please refer to the below screenshot for correct Path.

correct_path.png

 

Thanks & Regards,

Aishwarya

 

0 Kudos
AishwaryaCV_Intel
Moderator
760 Views

Hi,  


We haven't heard back from you, could you please let us know whether your issue is resolved or not. If yes, make sure to accept this as a solution. 


Thank you and best regards,

Aishwarya


0 Kudos
AishwaryaCV_Intel
Moderator
710 Views

Hi,

 

Since we didn't hear back from you, we assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Thanks and regards,

Aishwarya

 

0 Kudos
Reply