Closed DJDavies2 closed 3 months ago
Hi @DJDavies2 I have merged your PR #34. Are there more fixes required to make to work with NAG? If not, please close the issue.
There are other issues but they are more difficult. Do you want me to keep using this issue or close this and create another one?
You can reuse this one. If the problem relates to the fckit_shared_object and related types, know that I am preparing a refactoring of this very soon.
This is the error that I can't easily get around:
Error: /home/h01/frwd/cylc-run/mi-be984/work/1/git_clone_fckit/fckit/src/fckit/module/fckit_refcount.F90, line 117: Multiply defined symbol FUNPTR
detected at ::@FUNPTR
Error: /home/h01/frwd/cylc-run/mi-be984/work/1/git_clone_fckit/fckit/src/fckit/module/fckit_refcount.F90, line 117: FUNPTR is not a procedure name
detected at FUNPTR@
So yes, I think this is related to the shared_object stuff. I can get around it and progress with downstream packages by commenting out chunks of fckit code in fckit_refcount, fckit_shared_object and fckit_shared_ptr; it seems that this stuff isn't really used. However I can't find a way of re-writing this stuff to make it work. I think NAG has a bug with this, I am using 7.0.0.
Does #43 fix the remaining issues here?
Yes, thanks, all working now.
What happened?
fckit doesn't currently compile with NAG.
There are several issues, I have a PR with some of the simpler fixes.
What are the steps to reproduce the bug?
Trying to build with NAG
Version
develop
Platform (OS and architecture)
Linux
Relevant log output
No response
Accompanying data
No response
Organisation
Met Office