 Signed-off-by: Diana Guttman <diana.r.guttman@intel.com>
 ---
  Makefile.include |  3 ++-
- krylov/pcg.c     | 20 ++++++++++++++++
+ krylov/pcg.c     | 24 +++++++++++++++++++
  test/amg.c       | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--
- 3 files changed, 92 insertions(+), 3 deletions(-)
+ 3 files changed, 96 insertions(+), 3 deletions(-)
 
 diff --git a/Makefile.include b/Makefile.include
 index b73ccce..ec2f9b1 100644

    (pcg_data -> converged) = 0;
 
    (*(pcg_functions->CommInfo))(A,&my_id,&num_procs);
@@ -476,6 +487,15 @@ hypre_PCGSolve( void *pcg_vdata,
       }
    }
 
+#ifdef GEOPM
+   geopm_prof_exit(region_id);
+#endif
+
+#ifdef GEOPM
+   geopm_prof_region("PCGSolveLoop", 0, &region_id);
+   geopm_prof_enter(region_id);
+#endif
+
    while ((i+1) <= max_iter)
    {
       /*--------------------------------------------------------------------
diff --git a/test/amg.c b/test/amg.c
index fb5ccb5..9c606f9 100644
--- a/test/amg.c

From c85f3d5f9368a2ae1e47a5dc0ada286d5a14e17c Mon Sep 17 00:00:00 2001
From: Diana Guttman <diana.r.guttman@intel.com>
Date: Tue, 18 Sep 2018 21:23:35 +0000
Subject: [PATCH] Adding geopm markup to CORAL 2 AMG.
