[FLASH-USERS] Linker error while compiling FLASH with a custom made helper module

Sumit Banerjee sumitb at g.clemson.edu
Tue Sep 23 10:20:18 EDT 2025


Hello flash users,

I have a helper function as below,

[image: image.png]
I mention the below line in the Simulation_init.F90 where I use this helper
function like so,

[image: image.png]

But when I run the make command, the compilation is successful but I get
the below linker error,

[image: image.png]

I tried finding solutions to this and a couple of them suggested to use the
'FILES' or the 'SOURCE' keywords in the Config file but when I do so i get
the below error,

[image: image.png]

So I removed these from the Config files.

I even tried removing the clause ONLY: getCodeUnits from the init.F90 but
the output remains the same.

Can someone help me fix this part please?

On a more general note, I am not used to coding in the Fortran language and
it has been hard finding much documentation/help online to make these
errors go away. If you know of any Fortran resource, it would be greatly
appreciated too. Also, if you are someone who has used FLASH for
astronomical problems in the past, please let me know. I have a few
questions to talk about and I don't want to spam everyone's inbox.

Looking forward to hearing from you soon.

*Clear Skies,*
*Sumit (Sam)*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250923/bde6434f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 35306 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250923/bde6434f/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 8111 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250923/bde6434f/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 57778 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250923/bde6434f/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 28501 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250923/bde6434f/attachment-0007.png>


More information about the flash-users mailing list