diff --git a/config/cesm/machines/config_compilers.xml b/config/cesm/machines/config_compilers.xml index 3f162da11b2..a59a4bde9da 100644 --- a/config/cesm/machines/config_compilers.xml +++ b/config/cesm/machines/config_compilers.xml @@ -895,6 +895,12 @@ using a fortran linker. -DNO_MPIMOD + + + -fallow-argument-mismatch -fallow-invalid-boz + -ldl diff --git a/config/cesm/machines/config_machines.xml b/config/cesm/machines/config_machines.xml index 5bedb16ce41..dd44f083bb1 100644 --- a/config/cesm/machines/config_machines.xml +++ b/config/cesm/machines/config_machines.xml @@ -559,76 +559,76 @@ This allows using a different mpirun command to launch unit tests mkl - gnu/9.1.0 - openblas/0.3.6 + gnu/10.1.0 + openblas/0.3.9 pgi/20.4 /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/intel/19.1.1/ - esmf-8.1.1-ncdfio-mpt-g + esmf-8.2.0b10-ncdfio-mpt-g /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/intel/19.1.1/ - esmf-8.1.1-ncdfio-mpt-O + esmf-8.2.0b10-ncdfio-mpt-O /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/intel/19.1.1/ - esmf-8.1.1-ncdfio-mpiuni-g + esmf-8.2.0b10-ncdfio-mpiuni-g /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/intel/19.1.1/ - esmf-8.1.1-ncdfio-mpiuni-O + esmf-8.2.0b10-ncdfio-mpiuni-O - /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/9.1.0/ - esmf-8.1.0b41-ncdfio-mpt-g + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/10.1.0/ + esmf-8.2.0b10-ncdfio-mpt-g - /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/9.1.0/ - esmf-8.1.0b41-ncdfio-mpt-O + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/10.1.0/ + esmf-8.2.0b10-ncdfio-mpt-O - /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/9.1.0/ - esmf-8.1.0b41-ncdfio-openmpi-g + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/10.1.0/ + esmf-8.2.0b10-ncdfio-openmpi-g - /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/9.1.0/ - esmf-8.1.0b41-ncdfio-openmpi-O + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/10.1.0/ + esmf-8.2.0b10-ncdfio-openmpi-O - /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/9.1.0/ - esmf-8.1.0b41-ncdfio-mpiuni-g + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/10.1.0/ + esmf-8.2.0b10-ncdfio-mpiuni-g - /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/9.1.0/ - esmf-8.1.0b41-ncdfio-mpiuni-O + /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/gnu/10.1.0/ + esmf-8.2.0b10-ncdfio-mpiuni-O /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ - esmf-8.1.0b41-ncdfio-mpt-g + esmf-8.2.0b10-ncdfio-mpt-g /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ - esmf-8.1.0b41-ncdfio-mpt-O + esmf-8.2.0b10-ncdfio-mpt-O /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ - esmf-8.1.0b41-ncdfio-openmpi-g + esmf-8.2.0b10-ncdfio-openmpi-g /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ - esmf-8.1.0b41-ncdfio-openmpi-O + esmf-8.2.0b10-ncdfio-openmpi-O /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ - esmf-8.1.0b41-ncdfio-mpiuni-g + esmf-8.2.0b10-ncdfio-mpiuni-g /glade/p/cesmdata/cseg/PROGS/modulefiles/esmfpkgs/pgi/20.4/ - esmf-8.1.0b41-ncdfio-mpiuni-O + esmf-8.2.0b10-ncdfio-mpiuni-O mpt/2.21 @@ -637,7 +637,7 @@ This allows using a different mpirun command to launch unit tests mpt/2.22 - netcdf-mpi/4.7.4 + netcdf-mpi/4.8.0 pnetcdf/1.12.2 @@ -3052,35 +3052,35 @@ This allows using a different mpirun command to launch unit tests module module - + - intel20.1/20.1.217 - intel20.1/szip/2.1.1 - cmake/3.17.3 - curl/7.70.0 + intel20.1/20.1.217 + intel20.1/szip/2.1.1 + cmake/3.17.3 + curl/7.70.0 - intel20.1/hdf5/1.12.0 - intel20.1/netcdf/C_4.7.4-F_4.5.3_CXX_4.3.1 + intel20.1/hdf5/1.12.0 + intel20.1/netcdf/C_4.7.4-F_4.5.3_CXX_4.3.1 - impi20.1/19.7.217 - impi20.1/hdf5/1.12.0 - impi20.1/netcdf/C_4.7.4-F_4.5.3_CXX_4.3.1 - impi20.1/parallel-netcdf/1.12.1 + impi20.1/19.7.217 + impi20.1/hdf5/1.12.0 + impi20.1/netcdf/C_4.7.4-F_4.5.3_CXX_4.3.1 + impi20.1/parallel-netcdf/1.12.1 - impi20.1/esmf/8.0.1-intelmpi-64-g + impi20.1/esmf/8.0.1-intelmpi-64-g - impi20.1/esmf/8.0.1-intelmpi-64-O + impi20.1/esmf/8.0.1-intelmpi-64-O - intel20.1/esmf/8.0.1-mpiuni-64-g + intel20.1/esmf/8.0.1-mpiuni-64-g - intel20.1/esmf/8.0.1-mpiuni-64-O + intel20.1/esmf/8.0.1-mpiuni-64-O diff --git a/scripts/lib/CIME/build.py b/scripts/lib/CIME/build.py index 92e7000926d..ae0938e475a 100644 --- a/scripts/lib/CIME/build.py +++ b/scripts/lib/CIME/build.py @@ -58,9 +58,13 @@ def xml_to_make_variable(case, varname, cmake=False): varvalue = case.get_value(varname) if varvalue is None: return "" - if type(varvalue) == type(True): + if isinstance(varvalue, bool): varvalue = stringify_bool(varvalue) - return "{}{}=\"{}\" ".format("-D" if cmake else "", varname, varvalue) + + if cmake or isinstance(varvalue, str): + return "{}{}=\"{}\" ".format("-D" if cmake else "", varname, varvalue) + else: + return "{}={} ".format(varname, varvalue) ############################################################################### def uses_kokkos(case):