pcp
[Top] [All Lists]

Processing multiple archives with pmie

To: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Subject: Processing multiple archives with pmie
From: Jason Rappleye <jason.rappleye@xxxxxxxx>
Date: Fri, 30 Jul 2010 16:02:05 -0700
Hi,

This is using pcp-3.3.3.

I'm trying to use pmie to process multiple archives simultaneously. I suspect this won't be a requirement and I'll be able to accomplish what I want to by processing the files individually.

The first problem I ran into is that pmie enters an infinite loop when -a is specified more than once. The fix is easy:

--- pragmatics.c.orig   2010-07-28 12:11:47.409291652 -0700
+++ pragmatics.c        2010-07-28 12:12:12.695042681 -0700
@@ -500,6 +500,7 @@
            pmDestroyContext(handle);
            return 0;
        }
+        b = b->next;
     }

     /* put archive record on the archives list */


However, with that patch in place, it only processes the first archive specified on the command line.

I wanted to see if anyone was familiar with this issue before I dig in.

Thanks,

Jason

--
Jason Rappleye
System Administrator
NASA Advanced Supercomputing Division
NASA Ames Research Center
Moffett Field, CA 94035








<Prev in Thread] Current Thread [Next in Thread>