Explorar o código

more verbose error

Samuel Thibault %!s(int64=15) %!d(string=hai) anos
pai
achega
97b782ed69
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      tools/starpu_fxt_tool.c

+ 3 - 1
tools/starpu_fxt_tool.c

@@ -1,5 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
+ * Copyright (C) 2011  Université de Bordeaux 1
  * Copyright (C) 2011  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -91,8 +92,9 @@ static void paje_output_file_init(void)
 	out_paje_file = fopen(out_paje_path, "w+");
 	if (!out_paje_file)
 	{
+		fprintf(stderr,"error while opening %s\n", out_paje_path);
 		perror("fopen");
-		STARPU_ABORT();
+		exit(1);
 	}
 
 	write_paje_header(out_paje_file);