SimFlowCFD / RapidCFD-dev

RapidCFD is an OpenFOAM fork running fully on CUDA platform. Brought to you by
https://sim-flow.com
Other
325 stars 94 forks source link

rapid cfd not able to link the library #98

Open Dcn303 opened 1 year ago

Dcn303 commented 1 year ago

image hi everyone can anyone tell me what is the problem (image being attached) RapidCFD_Issue_1 , i am not able to resolve it , i think its related to the Rapid cfd being unable to link to the library

TonkomoLLC commented 1 year ago

Hello. The errors you report probably mean that the libraries that are looking to be linked were not compiled to begin with. Probably there was some sort of error during the compiling of each of the libraries that cannot be found. I am not sure what could have caused the libraries to not compile in the first place. There are many possibilities.

There are some installation hints in #93 and some comments on newer versions of CUDA in #92. I have not tried the most recent CUDA versions. The most common issue I see are not setting the -arch=sm_xx flag properly for your GPU in wmake rules, discussed in #92. Another common issue I see is that newer versions of CUDA can break the compilation of RapidCFD. If you are using the latest version of CUDA, I am not sure what problems you will face.

I hope this reply is helpful. Good luck with your next attempt to compile RapidCFD.

Dcn303 commented 1 year ago

hi TonkomoLLC thank you for replying i try to reinstall the entire rapid cfd following most of the tips i saw in #93 now i am facing with another issue as shown below image can you please help in this regard

TonkomoLLC commented 1 year ago

The system paths seem to not be setup correctly. If you type echo $WM_PROJECT_DIR do you see /home/urban/RapidCCFD/RapidCFD-dev ?

If no, then the problem is the setting of the default directory in RapidCFD-dev/etc/bashrc

If yes, then I am not sure what the problem may be exactly, but it is almost definitely a path issue.

Note: If RapidCFD is installed in /opt (so the source is in /opt/RapidCFD-dev) then all of the paths will be correct without editing etc/bashrc.

Good luck with your installation.

Dcn303 commented 1 year ago

Dear TonkomoLLC thank you very much for you reply,

Dcn303 commented 1 year ago

hi TonkomoLLC , sorry to bother you again . Can you kindly give me a RapidCFD test cases that you have successfully ran on the GPU . along with the script file that you have used to execute on the GPU node . Thanks in advance

TonkomoLLC commented 1 year ago

Hi, Please look at the test cases at RapidCFD-Tests. The cavity case should be the first case you try to prove your setup works. It will run slower than the CPU version, but it proves basic functionality of RapidCFD.

Hope this helps you out.

Dcn303 commented 1 year ago

hi TonkomoLLC thank you for providing the test cases , can you kindly provide me the log file generated after running the coil-pisoFoam test case . mine even after running for 1 day its still not able to complete its execution so i actually wanted to know how it works Thanks

TonkomoLLC commented 1 year ago

I apologize, but I did not save the requested log file. I cannot remember if I even ran this case to completion as it was submitted by someone on CFD-Online - see posts #54-57. Perhaps you can contact Chengtun either by private message or in the referenced RapidCFD discussion thread.

I wish I had a better response but this is the best I can do at this moment.

Dcn303 commented 1 year ago

Thank you so much for your reply , i will look into it

On Tue, Nov 22, 2022, 8:19 PM Eric Daymo @.***> wrote:

I apologize, but I did not save the requested log file. I cannot remember if I even ran this case to completion as it was submitted by someone on CFD-Online https://www.cfd-online.com/Forums/openfoam-community-contributions/170410-discussion-thread-how-install-use-rapidcfd-3.html

I wish I had a better response but this is the best I can do at this moment.

— Reply to this email directly, view it on GitHub https://github.com/Atizar/RapidCFD-dev/issues/98#issuecomment-1323795128, or unsubscribe https://github.com/notifications/unsubscribe-auth/A23DM7HAKXYLTFUCGQ67ZI3WJTMOJANCNFSM6AAAAAASAXDEGA . You are receiving this because you authored the thread.Message ID: @.***>

Dcn303 commented 1 year ago

Hi TonkomoLLC , i have observed that what ever the RapidCFD-tests cases that you have provided , its version is 2.3.0 (old openfoam version) so , i just want to verify from you that is RapidCFD capable of running any tutorial cases from say OpenFOAM-v1912 or any other newer openfoam version without causing problem ,

TonkomoLLC commented 1 year ago

RapidCFD is based on OF v2.3.0, and so any newer tutorial needs to be reconfigured for OpenFOAM v2.3.0. If the new tutorial uses physics not found in OpenFOAM 2.3.0, then it will not work with RapidCFD.

Dcn303 commented 1 year ago

Thank you very much TonkomoLLC ,