-
Notifications
You must be signed in to change notification settings - Fork 195
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
[WIP] Installation on MARCONI (Cineca) #5377
base: development
Are you sure you want to change the base?
Conversation
Let's try to start simple and add complexity step by step. I ping @WeiqunZhang here, who might be able to guide the installation more efficiently than me. The first step would be to load the modules listed in the file currently added in this PR,
Please report here the output of the build and we iterate from there. |
Thank you kindly, Ezoni. I have imported the modules but cmake could not recognize --fresh. I believe this is due to the fact that the only available versions of cmake on MARCONI are cmake/3.18.2 and cmake/3.23.3. By removing the --fresh, it stated that I need 3.24.0 or higher. |
Thanks, @JohanKoelsenDeWit. We can definitely skip the Line 3 in dc68659
I do recommend inquiring with the MARCONI support and asking them if they can support CMake 3.24 (noting that the latest available version is now 3.31). |
Thanks @EZoni, I heard the MARCONI support, and they are sadly unable to install the newest version on CMake. They mentioned that version 22.06 of WarpX only required version 3.24 of CMake. Will we be able to use this version instead? |
I think the requirement of CMake 3.24+ was introduced in #5179, which was included in the 24.09 release. So we can try to use the 24.08 release without going as far in the past as 22.06 and see if we can get something to work. Not sure how/if we would document this in the main repo though, to be discussed internally with other maintainers. Do you want to check out the 24.08 release and see what errors come up when you try to configure and build WarpX with the minimal options above (except
|
That sounds excellent. I managed to configure version 24.08 with Attached is the error I received. Thank you for your patience with this. :) |
I see errors like error: namespace "std" has no member "underlying_type_t" but I'm not sure why. We require at least C++17, Lines 525 to 546 in 09f9e8b
so errors like the one above should not happen. Could you also share the output of
so that we can look at the compiler info printed there? Also, could you double check with the MARCONI support that they have an Intel compiler that supports C++17? Based on what I see in the PR description of #2300 (where we introduced the C++17 requirement), I think you should be using at least Intel icpc 19.0.1+ (version 2021+ recommended). Although, if that is not the case, I would expect the configuration step to fail as well... |
Definitely! MARCONI is sadly down for the time being, but I will do it right away when I can access it again.
Best wishes, Johan
…________________________________
From: Edoardo Zoni ***@***.***>
Sent: Friday, October 18, 2024 8:16 PM
To: ECP-WarpX/WarpX ***@***.***>
Cc: Johan Kølsen de Wit ***@***.***>; Mention ***@***.***>
Subject: Re: [ECP-WarpX/WarpX] [WIP] Installation on MARCONI (Cineca) (PR #5377)
I see errors like
error: namespace "std" has no member "underlying_type_t"
but I'm not sure why.
We require at least C++17,
https://github.com/ECP-WarpX/WarpX/blob/09f9e8bad4ac109e167f255e29e961e3604dd5b7/CMakeLists.txt#L525-L546
so errors like the one above should not happen.
Could you share the output of the cmake configuration step too, so that we can look at the compiler info printed there?
Also, could you double check with the MARCONI support that they have an Intel compiler that supports C++17?
Based on what I see in the PR description of #2300<#2300> (where we introduced the C++17 requirement), I think you should be using at least Intel icpc 19.0.1+ (version 2021+ recommended).
—
Reply to this email directly, view it on GitHub<#5377 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BB3MI2Y6OXYYZWUANRB7Z4DZ4FGAVAVCNFSM6AAAAABPTID4WCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTGAYDAMBRGI>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Close #5211.