Objet : Developers list for StarPU
Archives de la liste
- From: "SYLVAND, Guillaume" <guillaume.sylvand@airbus.com>
- To: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
- Subject: [Starpu-devel] Starpu & Trace
- Date: Wed, 17 Aug 2016 09:41:50 +0000
- Accept-language: fr-FR, en-US
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=guillaume.sylvand@airbus.com; spf=Pass smtp.mailfrom=guillaume.sylvand@airbus.com; spf=None smtp.helo=postmaster@airbus-sf2.airbus.gmessaging.net
- Ironport-phdr: 9a23:N9lhFxHtqvvoUj0qv8Hfjp1GYnF86YWxBRYc798ds5kLTJ74r8qwAkXT6L1XgUPTWs2DsrQf2rOQ6fmrATxIoc7Y9itTKNoUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdazLE4Lfx/66y/q1s8WKJV4Z3XznOPgqfF329VyX7ZhOx9M6a+4Y8VjgmjNwYeNYxGdldxq4vi3XwYOOxqNl6DlaoPk79sRNAu3QdqU8SqFEXnx9azhmrJ6jiR6WBxCT72EETyAanwRFByDB7QrmRdH+vCzguec72S+APMSwQ6p+EWC5865xUAKthCoZOjoR9GDMltc2g6xcuh2s4R152Y/dJo+PYqlEc7vZbO8dECB6b+JvfgptRsuTcooLC+McOOsS593yuloKqRKjAATqH/Lr1DZOilf/3Lcwzv9nGgbDil8OBdUL5T7vnfHLHYE+Faia0ajMyTzeav4ckWPy9YnMdhk8pPzKRqN0b8PXxWEmFhnPk07WoovgaWDGnt8RunSWurIzHdmkjHQq/ll8
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
Hi Girls & Boys, I am currently using starpu to generate traces for H-matrix on my Mac, and I have some troubles... First, it seems that the codelet name, when it appears in the paje trace, is limited to 32 characters on linux (and 24 on mac, dont know why). To overcome this limitation, I have increased FXT_MAX_PARAMS in fxt and recompiled it, but I need to patch starpu with the joint patch to set _starpu_last_codelet_symbol to its new "exact" size. The patch seems to work for me... Second, when I use pj_dump to convert the file paje.trace, I get an error :
Coming from this line in the trace:
that put t123145303375872 in the state "S", where t123145303375872 is defined as a "User Thread"
The problem is that "S" in not a valid state for "UT", but for "T" (at least, this is my understanding of the bug). As anyone allready seen this ? I have a workaround for this bug : in starpu_fxt.c line 803, calling user_thread_set_state() - that is availlable but commented as "unused" - instead of thread_set_state(). Is this a valid correction ? Thx, GS -- Guillaume SYLVAND Airbus Group Innovations / INRIA Bordeaux Sud-Ouest Std : +33 (0)5 35 00 26 27 GSM : +33 (0)6 72 87 47 36 Fax : +33 (0)5 61 16 88 05 -------------------------- Postal Adress: Inria Bordeaux – Sud-Ouest HiePACS Team 200 avenue de la vieille tour 33405 Talence Cedex France The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. |
index 749cc17..0a4d650 100644
--- a/src/debug/traces/starpu_fxt.c
+++ b/src/debug/traces/starpu_fxt.c
@@ -276,7 +278,7 @@ static unsigned get_colour_symbol_blue(char *name)
static double last_codelet_start[STARPU_NMAXWORKERS];
/* _STARPU_FUT_DO_PROBE4STR records only 4 longs */
-char _starpu_last_codelet_symbol[STARPU_NMAXWORKERS][4*sizeof(unsigned
long)];
+char
_starpu_last_codelet_symbol[STARPU_NMAXWORKERS][(FXT_MAX_PARAMS-4)*sizeof(unsigned
long)];
static int last_codelet_parameter[STARPU_NMAXWORKERS];
#define MAX_PARAMETERS 8
static char
last_codelet_parameter_description[STARPU_NMAXWORKERS][MAX_PARAMETERS][FXT_MAX_PARAMS*sizeof(unsigned
long)];
@@ -533,7 +535,7 @@ static void thread_set_state(double time, const char
*prefix, long unsigned int
diff --git a/src/debug/traces/starpu_fxt.h b/src/debug/traces/starpu_fxt.h
index 0ab5a89..d2de7f4 100644
--- a/src/debug/traces/starpu_fxt.h
+++ b/src/debug/traces/starpu_fxt.h
@@ -38,7 +39,7 @@
#include <starpu.h>
#include "../../../include/starpu_fxt.h"
-extern char
_starpu_last_codelet_symbol[STARPU_NMAXWORKERS][4*sizeof(unsigned long)];
+extern char
_starpu_last_codelet_symbol[STARPU_NMAXWORKERS][(FXT_MAX_PARAMS-4)*sizeof(unsigned
long)];
void _starpu_fxt_dag_init(char *dag_filename);
void _starpu_fxt_dag_terminate(void);
- [Starpu-devel] Starpu & Trace, SYLVAND, Guillaume, 17/08/2016
- Re: [Starpu-devel] Starpu & Trace, Samuel Thibault, 22/08/2016
- Message indisponible
- Re: [Starpu-devel] Starpu & Trace, SYLVAND, Guillaume, 22/08/2016
- Re: [Starpu-devel] Starpu & Trace, Samuel Thibault, 22/08/2016
- Re: [Starpu-devel] Starpu & Trace, SYLVAND, Guillaume, 22/08/2016
- Re: [Starpu-devel] Starpu & Trace, Samuel Thibault, 22/08/2016
- Message indisponible
- Re: [Starpu-devel] Starpu & Trace, SYLVAND, Guillaume, 22/08/2016
Archives gérées par MHonArc 2.6.19+.