From 33db88f1508bb0d304b2d08c94915adc4a9a0d65 Mon Sep 17 00:00:00 2001
From: SYLVAND Guillaume <guillaume.sylvand@airbus.com>
Date: Thu, 22 Dec 2016 14:59:11 +0100
Subject: [PATCH] Replace morse_error() by morse_fatal_error() when tag size is
 insufficient

---
 runtime/starpu/control/runtime_descriptor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/runtime/starpu/control/runtime_descriptor.c b/runtime/starpu/control/runtime_descriptor.c
index 5bd0ca720..fe0312012 100644
--- a/runtime/starpu/control/runtime_descriptor.c
+++ b/runtime/starpu/control/runtime_descriptor.c
@@ -150,13 +150,13 @@ void RUNTIME_desc_create( MORSE_desc_t *desc )
 
         /* Check that we won't create overflow in tags used */
         if ( (lnt*lmt) > ((uintptr_t)(1UL<<tag_sep)) ) {
-            morse_error("RUNTIME_desc_create", "Too many tiles in the descriptor for MPI tags");
+            morse_fatal_error("RUNTIME_desc_create", "Too many tiles in the descriptor for MPI tags");
             return;
         }
         assert(lmt*lmt<=(1<<tag_sep));
 
         if (desc->id >= 1UL<<(tag_width-tag_sep)) {
-            morse_error("RUNTIME_desc_create", "Number of descriptor available in MPI mode out of stock");
+            morse_fatal_error("RUNTIME_desc_create", "Number of descriptor available in MPI mode out of stock");
             return;
         }
         assert( desc->id < (1UL<<(tag_width-tag_sep)) );
-- 
GitLab