[Moabusers] Fwd: Query resources programmatically
chris
chris at clusterresources.com
Mon Apr 30 04:06:02 MDT 2007
Hi Feiyi,
Have you looked at our API document
http://www.clusterresources.com/products/mwm/docs/a.hinterfacing.shtml I
think the best method of querying moab would be using our xml api.
Please let me know if I can be of further help.
Regards,
Feiyi Wang wrote:
> I am not sure if the following message was sent ... I apologize if you
> receive it twice.
>
> Feiyi
>
> ---------- Forwarded message ----------
> From: *Feiyi Wang * <fwang2 at gmail.com <mailto:fwang2 at gmail.com>>
> Date: Apr 25, 2007 7:03 PM
> Subject: Query resources programmatically
> To: moabusers at supercluster.org <mailto:moabusers at supercluster.org>
>
> Hi, folks -
>
> Are there Moab API's that allow me to query resources such how many
> total nodes available and the attributes associated with each node?
> Information that is similar to the output of "mdiag -n".
>
> I have browsed Moab workload manager's C API, the documented API there
> are mostly job oriented, not really any global resource view that I am
> looking for. The source code from Moab src/server/sample.c seem
> provided a way of doing that by calling MCDoCommand(), but I could not
> get it compiled right, nor can I find any documents about this API.
>
> Any information is much appreciated.
>
> Feiyi
>
> ---
> Oak Ridge National Lab.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> moabusers mailing list
> moabusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/moabusers
>
--
Chris Vaughan
EMEA Systems Engineer
Cluster Resources, Ltd.
Direct - UK Office: +44 (0)1223 437 132
US Headquarters: +1 801 717 3700
Skype: supercomputer1
www.clusterresources.co.uk
More information about the moabusers
mailing list