Skip to content

Commit

Permalink
Rename emcsfc_snow2mdl.fd programs with .F90 extention. (#399)
Browse files Browse the repository at this point in the history
Remove 'free form' compiler option from CMakeLists.txt.

Fixes #394
  • Loading branch information
GeorgeGayno-NOAA committed Mar 10, 2021
1 parent 66b6982 commit 00e75ac
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sorc/emcsfc_snow2mdl.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
# George Gayno, Mark Potts

set(fortran_src
driver.f
grib_utils.f
model_grid.f
program_setup.f
snow2mdl.f
snowdat.f)
driver.F90
grib_utils.F90
model_grid.F90
program_setup.F90
snow2mdl.F90
snowdat.F90)

if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -FR -convert big_endian -assume byterecl")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -r8 -convert big_endian -assume byterecl")
elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ffree-form -fdefault-real-8 -fconvert=big-endian")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fdefault-real-8 -fconvert=big-endian")
endif()

set(exe_name emcsfc_snow2mdl)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 00e75ac

Please sign in to comment.