Skip to content

Linking neural-fortran to WAVEWATCH III #161

Closed Answered by EmilioEchevarria
EmilioEchevarria asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, writing down my problem actually helped me to fix it... Posting here in case it helps anybody: I had to point to the neural-fortran .f90 files in the WW3 link file. I added this to the link file in /model/bin:

nf_opt='/path/to/neural-fortran/src/*.f90 /path/to/neural-fortran/src/nf/*.f90 /path/to/neural-fortran/src/nf/io/*.f90'

opt="-o $prog $nf_opt ...."

And that worked. Now I can load a neural network and use it in WW3, I just need to figure out what is the best place for that in the WW3 source code... Thanks again for such a great library :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@milancurcic
Comment options

Answer selected by milancurcic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants