--- config_compilers.xml.old    2015-11-18 16:15:10.000000000 +0000
+++ config_compilers.xml        2015-11-18 16:16:08.000000000 +0000
@@ -850,4 +850,11 @@
   <TRILINOS_PATH>$(TRILINOS_PATH)</TRILINOS_PATH>
 </compiler>

+<compiler MACH="legion">
+  <MPICC>mpiicc</MPICC>
+  <MPIFC>mpiifort</MPIFC>
+  <ADD_SLIBS>-L/shared/ucl/apps/HDF/5-1.8.15-Intel_2015/lib -L$(NETCDF_PATH)/lib -lnetcdff -lnetcdf</ADD_SLIBS>
+</compiler>
+
+
 </config_compilers>

--- config_compilers.xml.old	2018-07-12 14:49:05.000000000 +0100
+++ config_compilers.xml	2018-07-12 14:49:45.000000000 +0100
@@ -850,4 +850,11 @@
   <TRILINOS_PATH>$(TRILINOS_PATH)</TRILINOS_PATH>
 </compiler>
 
+<compiler MACH="legion">
+  <MPICC>mpiicc</MPICC>
+  <MPIFC>mpiifort</MPIFC>
+  <ADD_SLIBS>-L/shared/ucl/apps/HDF/5-1.8.15-Intel_2015/lib -L$(NETCDF_PATH)/lib -lnetcdff -lnetcdf -mkl</ADD_SLIBS>
+</compiler>
+
+
 </config_compilers>

Add mkl (needed by clm4.5) to build.
Add mkl (needed by clm4.5) to build.
