azhpc-images icon indicating copy to clipboard operation
azhpc-images copied to clipboard

`mpiifort` not working in Almalinux 8.7

Open JPchico opened this issue 2 years ago • 7 comments

The mpiifort command does not work in the almalinux 8.7 image as ifort was not configured with the oneapi setup.

No intel compiler is provided by default with the present configuration. It would be good to include them as several software stacks are much more efficient with intel compilers than with the GNU ones.

JPchico avatar Mar 20 '23 09:03 JPchico

Hi @jpchico , are you saying this is a change with respect to previous images? I don't remember the intel compilers being bundled with the CentOS images but I may be wrong.

In any case, installing the Intel OneAPI compiler should be relatively straightforward (?)

ltalirz avatar Mar 22 '23 16:03 ltalirz

Hi @ltalirz ! I have only checked CentOS and Almalinux and yes none of those has ifort.

Yes, installing ifort with OneAPI is quite straightforward, I just wonder if it might not be a good idea to make it as part of the bundle that comes with intel-mpi and mkl. After all those are being installed using OneAPI for what I see in the scripts. Maybe it would be good to have it in there too?

This would make the Intel tool chain more complete and distinct from the GNU one, Of course this can lead to issues since you can then have openmpi compiled with ifort and intel-mpi with GNU compilers and so on. But just having a well defined Intel and GNU chains would help a lot.

JPchico avatar Mar 22 '23 19:03 JPchico

@jithinjosepkl what are your thoughts on this?

ltalirz avatar Mar 22 '23 23:03 ltalirz

@JPchico can you please share the image URI used?

abhamidipati-msft avatar Mar 27 '23 19:03 abhamidipati-msft

Hi @abhamidipati0614

This is the information that is available about the image when I look at the VM

            "imageReference": {
                "publisher": "azhpc",
                "offer": "azhop-compute",
                "sku": "almalinux-8_7",
                "version": "latest",
                "exactVersion": "2023.0313.1406"
            },

If you need more information please let me know.

JPchico avatar Mar 28 '23 05:03 JPchico

Just wanted to mention that using the Intel OneAPI compilers to build the HPC-X openmpi library, as described here, worked fine for me.

ltalirz avatar Apr 29 '23 14:04 ltalirz

Hello, bringing this up again. Would it be possible to install the Intel compilers in the Almalinux images? Currently both GNU and AMD compilers are offered, but Intel ones are missing, although other Intel OneAPI libraries are installed. Thanks!

lorisercole avatar Feb 29 '24 10:02 lorisercole