Skip to content

Commit

Permalink
Merge remote-tracking branch 'jmccreight/bug_mass_errors' into bug_ma…
Browse files Browse the repository at this point in the history
…ss_errors
  • Loading branch information
jmccreight committed Sep 24, 2023
2 parents da95bf3 + 09a93e2 commit db29041
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file added bin/prms_win_gfort_dbl_prec.exe
Binary file not shown.
Binary file removed bin/prms_win_ifort_mixed_prec.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions prms_src/prms5.2.1/makelist_double_precision
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ endif
# This is a shortcut to alleviate errors when parsing parameter inputs in soltab.
ifeq ($(detected_OS), Windows)
ifeq ($(FC), gfortran)
FFLAGS = $(OPTLEVEL) -fno-second-underscore -fallow-argument-mismatch
FFLAGS = -freal-4-real-8 $(OPTLEVEL) -fno-second-underscore -fallow-argument-mismatch
endif
else
ifeq ($(FC), gfortran)
Expand All @@ -99,7 +99,7 @@ endif

ifeq ($(detected_OS), Windows)
ifeq ($(CC), gcc)
CFLAGS = $(OPTLEVEL) -D$(ARC) -D_UF -Wall
CFLAGS = -Dfloat=double $(OPTLEVEL) -D$(ARC) -D_UF -Wall
endif
else
ifeq ($(CC), gcc)
Expand Down
2 changes: 1 addition & 1 deletion test_data/generate/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def pytest_addoption(parser):
def exe():
platform = sys.platform.lower()
if platform == "win32":
exe_name = "prms_win_ifort_mixed_prec.exe"
exe_name = "prms_win_gfort_dbl_prec.exe"
elif platform == "darwin":
if processor() == "arm":
exe_name = "prms_mac_m1_ifort_dbl_prec"
Expand Down

0 comments on commit db29041

Please sign in to comment.