[FLASH-USERS] Conductivity.F90 compiling first causing error

Gabe Xu gabe.xu at uah.edu
Sat Aug 2 11:48:55 EDT 2025


Hello,

I've successfully gotten the Docker image of flash4-deps to run the Sedov
simulation, but it's a bit slow. I'm now trying to get it to run in WSL,
but getting an odd error. During make, the WSL version has a fatal error in
Conductivity.F90 since it tries to compile before cond_interface.F90 and so
forth:

Conductivity.F90:42:7:

   42 |   use cond_interface,  ONLY: cond_getCv
      |       1
Fatal Error: Cannot open module file ‘cond_interface.mod’ for reading at
(1): No such file or directory
compilation terminated.
make: *** [Makefile:132: Conductivity.o] Error 1


It looks like it's trying to call .mod files that don't exist because the
necessary F90 files haven't been compiled. I compared it against the Docker
version of the same simulation during make, and the Docker version does a
different compile order and starts with the interface and data files first.
The WSL version calls the main physics file for other physics too, like it
runs Burn .F90 , then Burn_init .F90 , then Burn_interface.F90. But in that
case there doesn't appear to be calls to the latter mod in the earlier
files, so no fatal error.

It's the same FLASH4.8 code for both instances, so it's something to do
with how WSL and Docker are set up differently in their dependencies? Any
suggestions would be appreciated before I reset my WSL install again.

Thank you,
Gabe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250802/9ff14a77/attachment.htm>


More information about the flash-users mailing list