Browse Source

Do not whine too much if the debug path couldn't be created or written to

Samuel Thibault 10 years ago
parent
commit
b6c1e56068
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/core/perfmodel/perfmodel.c
  2. 2 2
      src/core/perfmodel/perfmodel_history.c

+ 2 - 2
src/core/perfmodel/perfmodel.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009-2014  Université de Bordeaux
+ * Copyright (C) 2009-2015  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013, 2014  Centre National de la Recherche Scientifique
  * Copyright (C) 2011  Télécom-SudParis
  *
@@ -498,7 +498,7 @@ void _starpu_create_sampling_directory_if_needed(void)
 		_starpu_mkpath_and_check(_perf_model_dir_bus, S_IRWXU);
 
 		/* Performance debug measurements */
-		_starpu_mkpath_and_check(_perf_model_dir_debug, S_IRWXU);
+		_starpu_mkpath(_perf_model_dir_debug, S_IRWXU);
 
 		directory_existence_was_tested = 1;
 	}

+ 2 - 2
src/core/perfmodel/perfmodel_history.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2009-2014  Université de Bordeaux
+ * Copyright (C) 2009-2015  Université de Bordeaux
  * Copyright (C) 2010, 2011, 2012, 2013, 2014  Centre National de la Recherche Scientifique
  * Copyright (C) 2011  Télécom-SudParis
  *
@@ -1443,7 +1443,7 @@ void _starpu_update_perfmodel_history(struct _starpu_job *j, struct starpu_perfm
 		if (f == NULL)
 		{
 			_STARPU_DISP("Error <%s> when opening file <%s>\n", strerror(errno), per_arch_model->debug_path);
-			STARPU_ABORT();
+			return;
 		}
 		_starpu_fwrlock(f);