| View previous topic :: View next topic |
| Author |
Message |
tonycurtis
Joined: 12 May 2009 Posts: 6
|
Posted: Thu Jan 07, 2010 11:40 am Post subject: exit code from pgaccelinfo (9.0-4) |
|
|
I wanted to put pgaccelinfo in a script and so checked its exit code as part of the sanity checking. The exit code was 192. Does this mean anything and/or how do you interpret it?
(2 C1060 cards in this machine, if that helps) |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Thu Jan 07, 2010 2:24 pm Post subject: |
|
|
Hi tonycurtis,
| Quote: | | Does this mean anything | Nope, right now it's meaningless. I'll get our engineers to update it so that it returns "0" if it finds an accelerator or "1" if it encountered an error or no accelerators were found.
We've missed the 10.1 release, so look for it in 10.2 next month.
Thanks,
Mat |
|
| Back to top |
|
 |
tonycurtis
Joined: 12 May 2009 Posts: 6
|
Posted: Fri Jan 08, 2010 8:50 am Post subject: |
|
|
| Quote: | | Nope, right now it's meaningless. |
I suspected that, but was being polite :-)
Also, a 1-line-per-card summary format would be nice for scripting purposes. |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Jan 08, 2010 10:56 am Post subject: |
|
|
| Quote: | | Also, a 1-line-per-card summary format would be nice for scripting purposes. |
Sure I can put a request in. Just to clear, can you post a simple example of what format you'd like?
Thanks,
Mat |
|
| Back to top |
|
 |
tonycurtis
Joined: 12 May 2009 Posts: 6
|
Posted: Mon Jan 11, 2010 9:02 am Post subject: |
|
|
I was thinking just something like
| Code: | 0 Tesla C1060
1 Tesla C1060 |
although if you wanted to get all fancy and stuff, a % formatting string could be nice too, e.g.
| Code: | | pgaccelinfo --short "%n %d" |
could mean the same as above (device number, description). |
|
| Back to top |
|
 |
|