Added a first fortran example to prove the tool works for fortran code#3
Added a first fortran example to prove the tool works for fortran code#3LonelyCat124 wants to merge 3 commits intoadamtuft:contributionsfrom
Conversation
|
Hi Aidan, Thank you very much for your contribution, I'll be happy to include it! For now, as Otter is a work-in-progress for my MSc, I want to keep separate my original work from any contributions to ensure I do not submit your contributions as my own. Are you happy for me to merge your PR into a separate branch for now, to be merged into |
|
I have created the |
|
Sure thing, I'll update this PR to merge to that branch - probably we can hold this PR off as I'll probably put together a few more of the examples to check it works for other parts as well. |
|
Now that I've tagged my submission version I can accept your pull request, but I think you will need to rebase onto |
Added a first fortran example to prove it works.
Notably its a bit of a pain to compile with
flangsince by default it wants to usegfortranto actually compile, which by default will uselibgompand thus not work.In the
Makefileit then needs-L/path/to/llvm/libsetting in theLDFLAGSand then these are used to link to-lompwhich means the llvm openMP is used.I tested the example and it gives me the same output as the C version.