-
Notifications
You must be signed in to change notification settings - Fork 61
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
Comments
Hello. 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/. |
Hello Cyrille,
Thank you for getting back to me.
I installed OpenFOAM v2306 on the cluster and successfully ran the laminar
tutorials. However, I encountered an issue when attempting to run RAS
tutorial cases like 2Dscour or 3Dscour. The case attempts to generate the
libcodeStream library, but it fails to load the shared object file.
Specifically, I get the following error:
Could not load
"/home/bb115/Example/2DScour/1D/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodeStream_3330e45287ee31d4f883712c6f7882f72936fb17.so"
/home/bb115/Example/2DScour/1D/dynamicCode/platforms/linux64GccDPInt32Opt/lib/libcodeStream_3330e45287ee31d4f883712c6f7882f72936fb17.so:
cannot open shared object file: No such file or directory.
Even though the library file is generated, it seems unable to load it. I
have reviewed several threads and comments on the CFD-Online forum, but I
haven’t found a definitive solution to this issue. Any guidance on how to
resolve this would be greatly appreciated.
Best,
Benjamin
…On Tue, Sep 24, 2024 at 4:33 AM CyrilleBonamy ***@***.***> wrote:
Hello.
Thank you for opening issue.
There is no compatibility issues between sedfoam v2312 and openfoam v2312.
I have the feeling that your problem is related to the gcc version (>=13)
as explained here:
***@***.***/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/.
—
Reply to this email directly, view it on GitHub
<#192 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJEMF2UD4EFRQJJ7FR7SPNDZYEWVXAVCNFSM6AAAAABOXFDGZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZQG43DMOBZGU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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. |
Hi Cyrille,
I am attaching the log file from the 2DScour case as well as the bashrc
file from the OpenFOAM installation on the cluster.
I can confirm that the libcodeStream was successfully generated. Here are
the relevant details:
-
*Custom swak4Foam Installation Directory:*
/home/bb115/benjaminb-2306/benjaminb-2306/applications/swak4Foam
-
*Custom Case Directory for 2DScour:*
/home/bb115/Example/2DScour/1D
-
*Generated libcodeStream:*
libcodeStream_3330e45287ee31d4f883712c6f7882f72936fb17.so
-
*Location of the Generated libcodeStream:*
/home/bb115/Example/2DScour/1D/dynamicCode/platforms/linux64GccDPInt32Opt/lib
Let me know if you need any further information or assistance.
Best regards,
Benjamin
…On Fri, Oct 4, 2024 at 1:47 AM CyrilleBonamy ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#192 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJEMF2S6C53LAXDKMILRERDZZY2WVAVCNFSM6AAAAABOXFDGZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSHE2DKMZSGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
For your information, I am attaching the .bashrc file from my *home
directory on the cluster*. This is the user-specific configuration,
separate from the one in the OpenFOAM core installation directory.
The previously shared bashrc file was from the OpenFOAM system installation
directory.
Best,
Benjamin
On Fri, Oct 4, 2024 at 8:01 AM Benjamin Barria Martinez ***@***.***>
wrote:
… Hi Cyrille,
I am attaching the log file from the 2DScour case as well as the bashrc
file from the OpenFOAM installation on the cluster.
I can confirm that the libcodeStream was successfully generated. Here are
the relevant details:
-
*Custom swak4Foam Installation Directory:*
/home/bb115/benjaminb-2306/benjaminb-2306/applications/swak4Foam
-
*Custom Case Directory for 2DScour:*
/home/bb115/Example/2DScour/1D
-
*Generated libcodeStream:*
libcodeStream_3330e45287ee31d4f883712c6f7882f72936fb17.so
-
*Location of the Generated libcodeStream:*
/home/bb115/Example/2DScour/1D/dynamicCode/platforms/linux64GccDPInt32Opt/lib
Let me know if you need any further information or assistance.
Best regards,
Benjamin
On Fri, Oct 4, 2024 at 1:47 AM CyrilleBonamy ***@***.***>
wrote:
> 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.
>
> —
> Reply to this email directly, view it on GitHub
> <#192 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BJEMF2S6C53LAXDKMILRERDZZY2WVAVCNFSM6AAAAABOXFDGZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSHE2DKMZSGI>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
I can't find your attached files. Perhaps github has deleted the attached files? |
.bashrc.txt |
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? |
Hello Benjamin, |
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.
The text was updated successfully, but these errors were encountered: