Menu

#2 C shared library is not updated after FORTRAN source is recompiled

1.0
closed
None
2017-11-29
2017-11-07
No

When the inlined FORTRAN source code is modified, Inline::F2003 recompiles the source code and builds a new shared library. However, the C shared library is not rebuilt. Consequently, when the C shared library is loaded, it then loads the previously built F2003 shared library instead of the new one.

What is required is for Inline::C to recompile the C source code whenever Inline::F2003 has built a new shared library. The "FORCE_BUILD" config option could be used for this purpose.

Discussion

  • Ron Grunwald

    Ron Grunwald - 2017-11-22
    • status: open --> accepted
     
  • Ron Grunwald

    Ron Grunwald - 2017-11-22

    Work on this ticket has begun. Inline::F2003 will maintain a new package variable, %F2003Lib, which will contain info about the built F2003 shared library. This variable will be exported automatically to the application program for easy use with Inline::C.

     
  • Ron Grunwald

    Ron Grunwald - 2017-11-29
    • status: accepted --> closed
     
  • Ron Grunwald

    Ron Grunwald - 2017-11-29

    The changes have been implemented in Inline::F2003 and were tested. The fix will be included in the next release (v1.01) of matopmul.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.