Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the new Intel compiler (icpx) #270

Open
eoseret opened this issue Feb 24, 2023 · 0 comments
Open

Support the new Intel compiler (icpx) #270

eoseret opened this issue Feb 24, 2023 · 0 comments

Comments

@eoseret
Copy link

eoseret commented Feb 24, 2023

Hi,

Sorry if that issue already exists, I have not found it.

I am working with J. Kim on the optimization of QMC-pack, which supports the new, LLVM-based, Intel compiler (icpx). My students (I am teaching computer architecture and code optimization) are using mini-QMC but cannot compile it with icpx since mini-QMC is not yet supporting that new compiler. The "classic" compiler (icpc) will be deprecated in the second half of 2023.

Do you plan to support icpx ? For the moment I have to modify CMakeLists.txt and add a special recipe for "IntelLLVM" (that is otherwise being captured by the "Intel" target which is designed for the "classic" icpc Intel compiler).

I am attaching my git patch that enables support of the "IntelLLVM" compiler (icx/icpx).
After applying it, I configure with cmake -DCMAKE_CXX_COMPILER=icpx .. or cmake -DCMAKE_CXX_COMPILER=mpiicpc -DCMAKE_CXX_FLAGS="-cxx=icpx" -DQMC_MPI=1 ..

Maybe one could find something more compact/simple/portable...:
Use CMake with icx/icpx
Porting Guide for ICC Users to DPCPP or ICX

Thanks in advance,
Regards,
Emmanuel
IntelLLVM.patch.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant