Replies: 19 comments 21 replies
-
The udf file is JIT compiled, so adding the include s+ libs when building nekRS won't work.
|
Beta Was this translation helpful? Give feedback.
-
@stgeke will you have a quick 10 mnts? I can show you the error |
Beta Was this translation helpful? Give feedback.
-
Hi @stgeke I tried next branch and it did not work either. |
Beta Was this translation helpful? Give feedback.
-
Hi @stgeke when i run an example from next branch it gives the following errors |
Beta Was this translation helpful? Give feedback.
-
I was running turbPipe |
Beta Was this translation helpful? Give feedback.
-
Yes! without modifying UDF_INCLUDES |
Beta Was this translation helpful? Give feedback.
-
Did you remove the build and installation dir before building the latest |
Beta Was this translation helpful? Give feedback.
-
yes..i did from scratch |
Beta Was this translation helpful? Give feedback.
-
yes |
Beta Was this translation helpful? Give feedback.
-
Hi @stgeke Do I need to change something in CMAke? |
Beta Was this translation helpful? Give feedback.
-
Hi @stgeke I was able to build the |
Beta Was this translation helpful? Give feedback.
-
Hi Stefan @stgeke if you have time for a quick zoom then that will be really helpful. I also wanted to discuss about this paper of yours https://arxiv.org/pdf/2409.06404. Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
You'll find it here: https://nek5000.mcs.anl.gov/
…On Tue, Sep 17, 2024 at 2:44 PM raj-brown ***@***.***> wrote:
Thanks Stefan @stgeke.Could you please provide me your email id. Thank you!
—
Reply to this email directly, view it on GitHub
<#585 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEN2M75DZDQYMICV6JWSA3TZXAP2RAVCNFSM6AAAAABOB4GLPGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRXGAZDOMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @stgeke this is how I define the INCLUDE neviron-
|
Beta Was this translation helpful? Give feedback.
-
Hi @stgeke This is the library which I want to call in
|
Beta Was this translation helpful? Give feedback.
-
Hmm it works for me. Not sure what’s going on. Anyway you can also try to
add a udf.cmake to your case directory defining custom includes and libs.
…On Tue, 17 Sep 2024 at 15:15, raj-brown ***@***.***> wrote:
Hi @stgeke <https://github.com/stgeke> I just did and it did not work
In file included from /oscar/data/gk/kshukla1/CFD_NEKRS/nekRS/examples/turbPipe/.cache/udf/udf.cpp:7:
/oscar/data/gk/kshukla1/CFD_NEKRS/nekRS/examples/turbPipe/turbPipe.udf:4:10: fatal error: torch/torch.h: No such file or directory
4 | #include "torch/torch.h"
—
Reply to this email directly, view it on GitHub
<#585 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEN2M73T3E5MRERUSXXUAWDZXATOXAVCNFSM6AAAAABOB4GLPGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRXGA3DGMA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
hi @stgeke this is how i was able to call the library in other C++ library
|
Beta Was this translation helpful? Give feedback.
-
Hi @stgeke It seems like it is working now as I included the .cmake files. I will have to test a couple of more things but I think Its okay now. Thank you Stefan! Also about nekCRF I have sent you an email..Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
Hi @stgeke Just wanted to check if you have any example where time dependent boundary condition is implemented. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Dear All-
I am trying to call an external C++ library win .udf file but while import .h files It complains that I can not fine it. Although I compiled nekRS by adding include dir and linking the library. Still It could not find .h files. Could you please help me with this.
Thanks!
Raj
Beta Was this translation helpful? Give feedback.
All reactions