How to use FPM to link external library in my existing fortran90 project? #494
xushanthu-2014
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for providing this nice package to handle the management of packages in fortran!
I am a beginner of Fortran90 and now I want to do some innovations to embed machine learning algorithms in one atmospheric model which is written by fortran 90. I found
FKBcould handle this. The atmospheric model usemaketo compileMakefile. And I put thisMakefilein a google document here: https://docs.google.com/document/d/10naj1WgE9P4qbILT3n85TosZCd1KISwSzGw2u5FIOwo/edit. TheFKBusesCMakeandCMakelist.txtto generatelibneural.ain the directory./build/libandmod_xxx.modin the directory./build/include.I see in your readme file you said that
FPMcould help people to handle external library into existing fortran90 project.So how can I use your
FPMto linkFKBorneural-fortranto my project? I suppose I should put the library file.oin the library directory of my existing model? or put the.modin my.moddirectory of the atmospheric model? And after that, what should I do? how can I embedCmakelist.txtfromFKBinto theMakefileof my atmospheric model?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions