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

BUG - Compilation Errors While Installing sedFoam v2312 from develop Branch on Stampede3 #192

Open
benjaminb115 opened this issue Sep 24, 2024 · 9 comments

Comments

@benjaminb115
Copy link

I encountered installation issues with sedFoam v2312 on the Stampede3 cluster while using the develop branch. The compilation fails with errors related to ambiguous conversions in overSedDymFoam.C and missing includes, specifically for uintptr_t.

To Reproduce
Steps to reproduce the behavior:

Load the required modules on Stampede3.
Clone the sedFoam repository from the develop branch:
git clone --branch develop --recurse-submodules https://github.com/sedfoam/sedfoam.git
Navigate to the sedFoam directory:
cd sedfoam
Run the installation commands:
./Allwclean
./Allwmake -prefix=group
Observe the compilation errors.

Expected behavior
I expected the installation to complete successfully without errors, allowing me to use sedFoam v2312 with OpenFOAM v2312.

Error Messages
During compilation, the following errors were encountered:
overSedDymFoam.C: In function ‘Foam::word Foam::name(const void*)’:
error: ‘uintptr_t’ was not declared in this scope

OS: Linux (e.g., CentOS 7)
OpenFOAM Version: OpenFOAM v2312
Additional context
I have swak4Foam installed, which is required for sedFoam. However, I am unsure if there are compatibility issues between sedFoam v2312 and OpenFOAM v2312.

@CyrilleBonamy
Copy link
Contributor

CyrilleBonamy commented Sep 24, 2024

Hello.
Thank you for opening issue.
There is no compatibility issues between sedfoam v2312 and openfoam v2312 (and i am not able to reproduce the bug with openfoam v2312 and debian 11)

I have the feeling that your problem is related to the gcc version (>=13) as explained here: https://www.mail-archive.com/[email protected]/msg46485.html

What is your gcc version? And if that's the problem, maybe you can try with openfoam 2406 or open an issue on https://develop.openfoam.com/.

@benjaminb115
Copy link
Author

benjaminb115 commented Oct 4, 2024 via email

@CyrilleBonamy
Copy link
Contributor

Hello Benjamin,

Can you confirm that the libcodeStream_3330e45287ee31d4f883712c6f7882f72936fb17.so is generated and can be found at the following location : /home/bb115/Example/2DScour/1D/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodeStream_3330e45287ee31d4f883712c6f7882f72936fb17.so

If so, I guess there is a problem in the bashrc file of the openfoam installation.

Send me all the log files to check.

@benjaminb115
Copy link
Author

benjaminb115 commented Oct 4, 2024 via email

@benjaminb115
Copy link
Author

benjaminb115 commented Oct 4, 2024 via email

@CyrilleBonamy
Copy link
Contributor

I can't find your attached files. Perhaps github has deleted the attached files?

@benjaminb115
Copy link
Author

.bashrc.txt
log.txt
bashrc.txt
Yes, indeed github does not support the original files. I attached them as txt files.

@benjaminb115
Copy link
Author

Hello Cyrille,

I am following up on our previous conversation regarding the installation issues I've been experiencing with sedFoam v2306 on the Stampede3 cluster. Have you had a chance to review the log files and the .bashrc file I sent over?

@CyrilleBonamy
Copy link
Contributor

Hello Benjamin,
Sorry for the delay.
I've just read the log file. I'm very surprised because there's no bug, nothing... The sedfoam process stops for no reason.
As far as I'm concerned, the issue isn't with sedfoam but with openfoam itself. It's probably related to the openfoam's dynamic code and not to sedfoam.
Sorry.

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

2 participants