[FLASH-USERS] New Install, f951: Fatal Error: Reading module ‘iso_c_binding.mod’

Leland Ellison lee at pacificfusion.com
Fri Jun 6 01:03:17 EDT 2025


Welcome to FLASH, David.

Here's a help thread with a solution to the iso_c_binding issue by
commenting out a few lines of your Makefile:
https://flash.rochester.edu/pipermail/flash-users/2024-May/008664.html

And a handy new user tip that you can Google search the mailing list with a
search query like this:
site:https://flash.rochester.edu/pipermail/flash-users iso_c_binding

Hope this gets you up and running!

Leland

________________
Leland Ellison PhD
Pacific Fusion
Lead - Modeling and Simulations

On Thu, Jun 5, 2025 at 9:55 PM David Montgomery <dsmont80 at gmail.com> wrote:

> All,
>
> I’m a FLASH newbie, and just installed FLASH4.8 on a laptop running MacOS
> 12.7.6, following Leland Ellison’s post "Installing FLASH on macOS from
> scratch” posted 06/13/2023.
>
> Everything seemed to install successfully, and I edited the Makefile.h as
> noted in his step 7.
>
> My Makefile.h is attached
>
> And I updated all the *.py setup scripts in FLASH4.8/bin to "/usr/bin/env
> python3” as noted in Step 8.
>
> I then tried his step 9:
>
> cd FLASH4.8
> ./setup -auto Sedov
>
> Changing his typo from -audo to -auto
>
> When I got the following error:
>
> make
> rm -f reorder.sh
> /opt/homebrew/bin//mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8
> -Wuninitialized -fallow-argument-mismatch  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8
> -DNZB=1 -DN_DIM=2 Cpp_interface.F90
> *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 searched the Users posts, and found a previous post stating to include "-fallow-argument-mismatch”
> in FFLAGS_OPT, FFLAGS_DEBUG, and FFLAGS_TEST.
>
> But per Leland’s Mac install instructions that has already been done.
>
> See my attached Makefile.h
>
> Any help please?
>
> David Montgomery
> LANL Guest Scientist
> LANL (retired)
>
> _______________________________________________
> 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/20250605/210e83a2/attachment.htm>


More information about the flash-users mailing list