FTorch Intel Compiler Flags #162
-
Dear FTorch Community, I am trying to set up FTorch on a rather large codebase on an HPC for a climate model (using the intel compilers). Currently, when executing make, I receive the following error messages: They indicate that the import of ftorch in my code is resolved, however, the actual functions are not being detected. I am using the following compiler flags/directives:
Do you have any suggestions on what I could try to resolve the error, so that all FTorch functions are imported correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 11 replies
-
Hi @backfelix8 A few ideas:
Let me know how that goes, and if no luck we can discuss further or perhaps arrange a call. I can see that you are trying to couple to ICON, and we have collaborators who have successfully done this in the past, so we might be able to reach out to them. |
Beta Was this translation helpful? Give feedback.
Hello all, its been a while since I built this library but my setup for icon includes these two lines in the Makefile:
Otherwise I can confirm the point from @jatkinson1000 that it is important to compile ftorch with the compilers (for fortran, c, and cpp) used in icon.