[FLASH-USERS] Error reading mod file when compiling Sedov example problem

David Montgomery dsmont80 at gmail.com
Thu Jun 12 13:27:45 EDT 2025


Hi Sam,

I will answer since someone helped me with the same issue last week while trying to run FLASH on my Mac (Flash-newbie as well). 

In the Makefile.h file which should reside in your site directory that was made for your local machine, at the bottom of that file is a few lines about the “iso_c_binding.mod”. 

Comment out those lines (embedded in a logic statement) and try doing “make” again. 

And as was suggested to me, which doesn’t always help, you can go to the flash-users archive page, get the URL of that page and Google search the URL + whatever you’re specifically looking for. Sometimes that helps, but oftentimes not for us newbies. 

David
Sent from my iPhone

> On Jun 12, 2025, at 10:59 AM, Sam Blackburn <samuelblackburn32 at gmail.com> wrote:
> 
> 
> Hi FLASH users,
> 
> I am using FLASH version 4.8 with MacOS Sonoma 14.7.6. I'm super new to this code, and really the mac terminal in general, so I'm going through the user's guide step by step. I'm at section 2.2, where I set up the Sedov problem with this command in the FLASH4.8 dir:
> ./setup Sedov -auto -site=sam
> Where site=sam because I'm not at any institution so I personalized a makefile for my system. When i run:
> cd object
> make
> It does the compilation for around 30 seconds, and then out of nowhere it throws this:
> f951: Fatal Error: Reading module 'iso_c_binding.mod' at line 1 column 1: Unexpected EOF
> 
> compilation terminated.
> 
> make: *** [Cpp_interface.o] Error 1
> 
> I've tried reinstalling gcc with HomeBrew, which didn't fix anything. Then I made a test file that calls iso_c_binding.mod to check for its existence in the FLASH4.8 dir, which did end up working, so I knew it was somewhere. Then I searched for it in Finder, and I realized its a blank file that gets created every time I compile, inside /FLASH4.8/object. So apparently the error arises when it tries to interpret literally nothing. How do I fix this? Please ask if you need more info.
> 
> Thank you!
> - Sam
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
> 
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250612/2a18a019/attachment.htm>


More information about the flash-users mailing list