How to link an external routine

Many Thanks for the explanation. May I know, how to link the comscw user routine,
if we have a code like in the attached doc. ?
(it was download from another post) comscw.f (5.4 KB)

Dear Nadeera,

See slide 29 of the following lecture on how to link a user routine and create a custom FLUKA executable in Flair. (The warning about the library file is not relevant.)

Cheers,
David

Many Thanks for the info.