-
Notifications
You must be signed in to change notification settings - Fork 57
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
Compile error in Getting Started #131
Comments
What version of gcc are you using? Could you try to add an extra pair of braces to the line in AMReX_MLEBNodeFDLaplacian.H?
|
Thank you @WeiqunZhang for the reply. The version of GCC is 12.1.0:
As you suggested, after I added an extra pair of braces to the line, it could successfully compile
Is it due to the inconsistency of versions of GCC or other packages? |
We will make some changes to make sure amrex works with gcc 12. The new error is in python. @zingale do you have any ideas? |
can you tell me what version of python you are using? |
I was able to build |
it is crashing on the first f-string -- you will need to make sure that you are using python 3.6 or later. |
Thank you @zingale for the advice. The version of python was 3.5. After I upgraded the version to 3.10.5, all the compilation was done (with extra pair of braces)! But, if I don't add the braces, the same error at the top happened on my environment... |
great. Not sure about that file problem (turns out I'm using GCC 12.1.1, but I double the x.x.1 makes a diff) |
I cannot reproduce it with GCC 12.1.0. Anyway, it wouldn't hurt to add an extra pair of braces in that place. |
My understanding is double braces are no longer required since C++14. |
Hi,
I'm trying to run IAMR following Getting Started. When I execute
make
, I encountered the following errorThe options I set in the GNUMakefile is as follows:
Am I missing any dependencies? Any help would be really appreciated.
The text was updated successfully, but these errors were encountered: