Skip to content

Commit

Permalink
fix: autotools hdf5 compiler check (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored Apr 30, 2024
1 parent e429ebd commit 648cbcf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ check-code-coverage: check
.PHONY: check-code-coverage

clean-local:
-rm -rf .mods coverage-data coverage-report
-rm -rf .mods coverage-data coverage-report test.nc
else
clean-local:
-rm -rf .mods
-rm -rf .mods test.nc
endif

install-data-hook:
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ AC_MSG_CHECKING([if HDF5 version causes floating point exceptions with set flags
AC_RUN_IFELSE([AC_LANG_PROGRAM([], [[
use netcdf
integer i, j
j = nf90_open("test.nc", NC_WRITE, i)
j = nf90_create("test.nc", NC_WRITE, i)
]])], [hdf5_fpe_bug=no], [hdf5_fpe_bug=yes])
AC_MSG_RESULT([$hdf5_fpe_bug])
if test $hdf5_fpe_bug = yes; then
Expand Down
2 changes: 1 addition & 1 deletion test_fms/monin_obukhov/test_monin_obukhov2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ for p in r4 r8
do
cp ${top_srcdir}/test_fms/monin_obukhov/input.${p}.nml input.nml
test_expect_success "test monin_obukhov_mod (${p})" "mpirun -n 1 ./test_monin_obukhov_${p}"
rm input.nml
rm -f input.nml
done

test_done

0 comments on commit 648cbcf

Please sign in to comment.