Skip to content

Commit b64eb34

Browse files
Merge pull request #244 from NCAR/build_fixes
Build fixes
2 parents 1c983d5 + afc2719 commit b64eb34

File tree

8 files changed

+18
-13
lines changed

8 files changed

+18
-13
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ individual files.
2222

2323
The changes are now listed with the most recent at the top.
2424

25+
**June 18 2021 :: build fixes for PGI compiler and intel compiler osx. Tag: v9.11.1**
26+
27+
- mkmf.templates fixes for intel.osx and pgi
28+
- input.nml fix for obs_total_error
29+
- path_names fix for test_quad_*_interp
30+
2531
**June 8 2021 :: New observation converter for Solar Induced Fluorescence (SIF). Tag: v9.11.0**
2632

2733
- Converter for harmonized SIF retrievals

assimilation_code/programs/obs_total_error/work/input.nml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
output_obs_def_mod_file = '../../../../observations/forward_operators/obs_def_mod.f90'
2121
input_obs_qty_mod_file = '../../../../assimilation_code/modules/observations/DEFAULT_obs_kind_mod.F90'
2222
output_obs_qty_mod_file = '../../../../assimilation_code/modules/observations/obs_kind_mod.f90'
23-
obs_types_files = '../../../../observations/forward_operators/obs_def_AIRS_mod.f90',
23+
obs_type_files = '../../../../observations/forward_operators/obs_def_AIRS_mod.f90',
2424
'../../../../observations/forward_operators/obs_def_AOD_mod.f90',
2525
'../../../../observations/forward_operators/obs_def_AURA_mod.f90',
2626
'../../../../observations/forward_operators/obs_def_COSMOS_mod.f90',

build_templates/mkmf.template.intel.osx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,14 @@
2525
# -check <keywords> enables/disables more specific runtime checks.
2626
# keywords: [arg_temp_created,bounds,overflow,format,pointers,uninit]
2727
# -warn <keywords> the level of warning messages issued.
28-
# keywords: [alignments, argument_checking, declarations,
28+
# keywords: [alignments, declarations,
2929
# errors, fileopt, general, ignore_loc,
3030
# stderrors, truncated_source, uncalled,
3131
# uninitialized, unused, usage, all]
3232
# -fp-stack-check catches conditions where the FP stack is not correct.
3333
# Typically this is when a real function is called as if it were a
3434
# subroutine, OR a subroutine is called as if it were a function (return
3535
# values left of FP stack OR too much data is taken off the FP stack)
36-
# -vec-reportN controls how much diagnostic output is printed about
37-
# loops vectorized by the compiler. N = 0 is silent,
38-
# N can have values up to 5.
3936
# -traceback tells the compiler to generate extra information in the
4037
# object file to provide source file traceback information
4138
# when a severe error occurs at run time
@@ -141,13 +138,13 @@ LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf
141138
#LDFLAGS = $(INCS) -Wl,-stack_size,10000000 $(LIBS)
142139

143140
# for Intel 10.x and beyond:
144-
FFLAGS = $(INCS) -O2 -m64 -heap-arrays -vec-report0 -assume buffered_io
141+
FFLAGS = $(INCS) -O2 -m64 -heap-arrays -assume buffered_io
145142
LDFLAGS = $(INCS) $(LIBS)
146143

147144
# for development or debugging, use this instead:
148-
# FFLAGS = -g -C -check noarg_temp_created -fpe0 -vec-report0 \
145+
# FFLAGS = -g -C -check noarg_temp_created -fpe0 \
149146
# -fp-model precise -ftrapuv -traceback \
150-
# -warn argument_checking,declarations,uncalled,unused $(INCS)
147+
# -warn declarations,uncalled,unused $(INCS)
151148
#
152149
# If you get this error: libimf.so: warning: warning: feupdateenv is not implemented
153150
# try adding: -limf -lm to your LIBS line.

build_templates/mkmf.template.pgi.linux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ LD = pgf90
8787

8888
INCS = -I$(NETCDF)/include
8989
LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf
90-
FFLAGS = -O $(INCS)
90+
FFLAGS = -O -Mbackslash $(INCS)
9191
LDFLAGS = $(FFLAGS) $(LIBS)
9292

9393
# for development or debugging, use this for flags:
9494
# FFLAGS = -g -gopt -Mbounds -Mchkfpstk -Mchkptr -Mchkstk -Mpgicoff \
9595
# -Mdclchk -Meh_frame -traceback -Minform=inform \
96-
# -Mflushz -Ktrap=fp -pc 64 $(INCS)
96+
# -Mflushz -Ktrap=fp -pc 64 -Mbackslash $(INCS)
9797

9898
# <next few lines under version control, do not edit>
9999
# $URL$

build_templates/mkmf.template.pgi.osx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ LD = pgf90
6868

6969
INCS = -I$(NETCDF)/include
7070
LIBS = -L$(NETCDF)/lib -lnetcdff -lnetcdf
71-
FFLAGS = -O $(INCS)
71+
FFLAGS = -O -Mbackslash $(INCS)
7272
LDFLAGS = $(FFLAGS) $(LIBS)
7373

7474
# for development or debugging, use this for flags:
75-
#FFLAGS = -g -Ktrap=fp -pc 64 $(INCS)
75+
#FFLAGS = -g -Mbackslash -Ktrap=fp -pc 64 $(INCS)
7676

7777
# <next few lines under version control, do not edit>
7878
# $URL$

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
author = 'Data Assimilation Research Section'
2222

2323
# The full version, including alpha/beta/rc tags
24-
release = '9.11.0'
24+
release = '9.11.1'
2525
master_doc = 'README'
2626

2727
# -- General configuration ---------------------------------------------------

models/model_mod_tools/work/path_names_test_quad_irreg_interp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ assimilation_code/modules/observations/obs_kind_mod.f90
66
assimilation_code/modules/utilities/ensemble_manager_mod.f90
77
assimilation_code/modules/utilities/netcdf_utilities_mod.f90
88
assimilation_code/modules/utilities/null_mpi_utilities_mod.f90
9+
assimilation_code/modules/utilities/options_mod.f90
910
assimilation_code/modules/utilities/parse_args_mod.f90
1011
assimilation_code/modules/utilities/random_seq_mod.f90
1112
assimilation_code/modules/utilities/sort_mod.f90

models/model_mod_tools/work/path_names_test_quad_reg_interp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ assimilation_code/modules/observations/obs_kind_mod.f90
66
assimilation_code/modules/utilities/ensemble_manager_mod.f90
77
assimilation_code/modules/utilities/netcdf_utilities_mod.f90
88
assimilation_code/modules/utilities/null_mpi_utilities_mod.f90
9+
assimilation_code/modules/utilities/options_mod.f90
910
assimilation_code/modules/utilities/parse_args_mod.f90
1011
assimilation_code/modules/utilities/random_seq_mod.f90
1112
assimilation_code/modules/utilities/sort_mod.f90

0 commit comments

Comments
 (0)