Skip to content

Commit

Permalink
ci3
Browse files Browse the repository at this point in the history
  • Loading branch information
mjreno authored and mjreno committed Sep 14, 2023
1 parent fde0c30 commit f9f8a8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,15 @@ else
netcdf = fc.find_library('netcdff', dirs: [ nc_dir / '.libs' ], required : true, static : true)
ncclib = fc.find_library('netcdf', dirs: [ ncc_libdir ], required : true)
nc_incdir = include_directories([ nc_dir, ncc_incdir ])
#TODO: fix
dependencies += [ ncclib ]
endif
#netcdf = dependency('netcdf', language : 'fortran', required : false)
if netcdf.found()
with_netcdf = true
#add_project_dependencies(netcdf, language: 'fortran')
extra_cmp_args += [ '-D__WITH_NETCDF__' ]
dependencies += [ netcdf, ncclib ]
dependencies += [ netcdf ]
else
with_netcdf = false
endif
Expand Down
4 changes: 2 additions & 2 deletions src/Utilities/Idm/IdmSimulation.f90
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ subroutine simnam_load(paramlog)
character(len=LINELENGTH) :: line
!
#if defined(__WITH_NETCDF__)
print *, 'MF6 NETCDF'
print *, trim(nf90_inq_libvers())
!print *, 'MF6 NETCDF'
!print *, trim(nf90_inq_libvers())
write(iout, '(a)') 'MF6 NETCDF: '//trim(nf90_inq_libvers())
#endif
!
Expand Down

0 comments on commit f9f8a8c

Please sign in to comment.