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

Investigate intel C compiler #54

Closed
jatkinson1000 opened this issue Oct 23, 2023 · 4 comments
Closed

Investigate intel C compiler #54

jatkinson1000 opened this issue Oct 23, 2023 · 4 comments

Comments

@jatkinson1000
Copy link
Member

There are some suggestions that libtorch doesn't work with intel C compilers.
I thought we'd tested this, but perhaps we need to review and remove as an option from the README if it doesn't work!

@jatkinson1000
Copy link
Member Author

Building this on Wilkes3 @ElliottKasoar and I ran into errors with building the library using an entire intel suite.

We resorted to using ifort to match the build of MiMA, but gcc for C and C++ code.
We should clarify this asap and remove instrictions for icc and icpc from the README if it is the case that intel compilers do not work.

@ElliottKasoar
Copy link
Contributor

ElliottKasoar commented Nov 22, 2023

I've definitely had various issues, both locally and on CSD3, but seem to have at least one example of it now working via the default CSD3 icelake Intel compilers (icc and icpc (ICC) 20.2.6.20220226, via the intel-oneapi-compilers/2022.1.0/gcc/b6zld2mz module).

@jatkinson1000
Copy link
Member Author

I have just build and run with intel compilers on Wilkes3 and the examples ran fine.
I am happy to close this as intel compilers seem to work.
Will do so later unless anyone objects?

Side note - we might want to try icx and ifx at some point.

@TomMelt
Copy link
Member

TomMelt commented Nov 27, 2023

Looks like it works on our side. Happy to re-open if anyone can create a reproducible example where it fails.

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

3 participants