Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Modules in CAM with name ending in .in

nuvolet

Toni Viudez
Member
Greetings,

Is there anyone who knows why there are some modules in components/cam/src/physics/cam ending in .in?
For instance in this particular path, there are 3 : physics_buffer.F90.in, subcol_pack_mod.F90.in and subcol_utils.F90.in.

Thanks in advance
 

nusbaume

Jesse Nusbaumer
CSEG and Liaisons
Staff member
Hi Toni,

The files with *.F90.in endings are source code templates that are used by a “genf90” script to create the same general fortran routines but for multiple different variable input types and dimensions. You should be able to find this script (which contains a comment header describing what it does) in your CESM source code here:

<CESM>/cime/CIME/non_py/externals/genf90/genf90.pl

Where <CESM> is wherever you downloaded CESM or CAM.

Hope that helps, and if you still have questions as to why these files exist or what is happening with them just let me know.

Thanks, and have a great day!

Jesse
 
Top