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

Future of HPCtoolkit

whatheway
New Contributor I
1,021 Views

I have been transitioning my scripts from icc to icx

 

Will the mpiicc have a new version with llvm?

0 Kudos
1 Solution
whatheway
New Contributor I
911 Views
Those commands your recommend work well. The libraries I was installing aren't compatible with it yet. HDF5 and netcdf.

I have talked to their development team and they are working for a fix.

View solution in original post

0 Kudos
6 Replies
SantoshY_Intel
Moderator
995 Views

Hi,

 

Thanks for posting in the Intel forums.

 

As mentioned in the compilation command options, we can use the -{cc,cxx,fc}=<compiler> option to use the LLVM compiler(icx/icpx/dpcpp) & its options.

Example:

  1. mpiicc -cc=icx sample.c
  2. mpiicpc -cxx=icpx sample.cpp
  3. mpiicpc -cxx=dpcpp sample.cpp 

 

Thanks & Regards,

Santosh

 

 

0 Kudos
whatheway
New Contributor I
974 Views

trying to export these commands:

 

export CC=icx
export CXX=icpx
export FC=ifx
export F77=ifx
export F90=ifx
export MPIFC=mpiifort -fc=ifx
export MPIF77=mpiifort -fc=ifx
export MPIF90=mpiifort -fc=ifx
export MPICC=mpiicc -cc=icx
export MPICXX=mpiicpc -cxx=icpx

 

but I get these errors

 

bash: export: `-fc=ifx': not a valid identifier
bash: export: `-fc=ifx': not a valid identifier
bash: export: `-fc=ifx': not a valid identifier
bash: export: `-cc=icx': not a valid identifier
bash: export: `-cxx=icpx': not a valid identifier

0 Kudos
SantoshY_Intel
Moderator
943 Views

Hi,

 

Please use the below commands to resolve your issue:

 

export CC=icx
export CXX=icpx
export FC=ifx
export F77=ifx
export F90=ifx
export MPIFC="mpiifort -fc=ifx"
export MPIF77="mpiifort -fc=ifx"
export MPIF90="mpiifort -fc=ifx"
export MPICC="mpiicc -cc=icx"
export MPICXX="mpiicpc -cxx=icpx"

 

 

 

Thanks & Regards,

Santosh

 

0 Kudos
SantoshY_Intel
Moderator
915 Views

Hi,


We haven't heard back from you. Could you please provide an update on your issue?


Thanks & Regards,

Santosh


0 Kudos
whatheway
New Contributor I
912 Views
Those commands your recommend work well. The libraries I was installing aren't compatible with it yet. HDF5 and netcdf.

I have talked to their development team and they are working for a fix.
0 Kudos
SantoshY_Intel
Moderator
907 Views

Hi,


Thanks for accepting our solution. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel. 


Thanks & Regards,

Santosh


0 Kudos
Reply