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

Future of HPCtoolkit

whatheway
Novice
243 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
Novice
133 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

6 Replies
SantoshY_Intel
Moderator
217 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

 

 

whatheway
Novice
196 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

SantoshY_Intel
Moderator
165 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

 

SantoshY_Intel
Moderator
137 Views

Hi,


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


Thanks & Regards,

Santosh


whatheway
Novice
134 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.
SantoshY_Intel
Moderator
129 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


Reply