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

Fortran version error

freddyzhangy

Freddy Zhang
New Member
Hello,

I have run into an issue when building CESM1.2.2.1 where a module cannot be read because it was created by a different GNU Fortran version. The current Fortran version on my machine is 7.3.0. Should I change my Fortran compiler version on my machine, or is there a better way of resolving this error? If I should change my Fortran compiler, what version should I change it to? I have attached my Macros and the build log when I try to build the case.

Thanks,
Freddy
 

Attachments

  • Macros.txt
    824 bytes · Views: 0
  • csm_share.bldlog.200828-180043.txt
    1.8 KB · Views: 0

freddyzhangy

Freddy Zhang
New Member
EDIT: I have been looking around and found out that the shr_kind_mod.mod file uses module version 10. I'm pretty sure the fortran compiler on my machine should be able to read files with version 10. Is there a way to check which module versions my fortran compiler can run?

Thanks
 
Top