This patch has been applied and is available in the newly released patch 19.
--
Joshua Butikofer
Cluster Resources, Inc.
[EMAIL PROTECTED]
Voice: (801) 717-3707
Fax: (801) 717-3738
--------------------------
Åke Sandgren wrote:
> Attached patch fixes a bug in mprof that ignored jobs with QOS set in
> jobtraces when mprof was called without -Q
>
>
>
> ------------------------------------------------------------------------
>
> diff -ru site/src/server/mprof.c amd64_ubuntu606/src/server/mprof.c
> --- site/src/server/mprof.c 2006-10-23 18:42:31.000000000 +0200
> +++ amd64_ubuntu606/src/server/mprof.c 2007-03-14 12:30:12.000000000
> +0100
> @@ -2316,6 +2316,7 @@
> while (ptr < tail)
> {
> LineCount++;
> + Offset = 0;
>
> if (MTraceLoadWorkload(ptr,&Offset,&tmpJ,msmProfile,&Version) == SUCCESS)
> {
> @@ -2338,7 +2339,7 @@
> if ((Profile.Host[0] != '\0') &&
> (strcmp(Profile.Host,J->MasterHostName)))
> continue;
>
> - if ((J->Cred.Q != NULL) && !strstr(Profile.QOSList,J->Cred.Q->Name))
> + if ((J->Cred.Q != NULL) && (Profile.QOSList[0] != '\0') &&
> !strstr(Profile.QOSList,J->Cred.Q->Name))
> continue;
>
> if (Profile.UserNameList[0][0] != '\0')
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mauiusers mailing list
> [email protected]
> http://www.supercluster.org/mailman/listinfo/mauiusers
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers