I have talked to their development team and they are working for a fix.
链接已复制
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:
- mpiicc -cc=icx sample.c
- mpiicpc -cxx=icpx sample.cpp
- mpiicpc -cxx=dpcpp sample.cpp
Thanks & Regards,
Santosh
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
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
Hi,
We haven't heard back from you. Could you please provide an update on your issue?
Thanks & Regards,
Santosh
I have talked to their development team and they are working for a fix.
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
