Geodise Compute Toolbox Functions Command Function Command Function gd_certinfo Returns information about the user's certificate gd_proxyinfo Returns information about the user's proxy certificate gd_chmod Changes file permissions of a file on a Globus resource gd_proxyquery Queries whether a valid proxy certificate exists gd_condorsubmit Submits a job through a Globus resource to a Condor pool gd_putfile Puts a remote file using GridFtp gd_createproxy Creates a Globus proxy certificate for the user's credentials gd_rmdir Deletes a remote directory using GridFtp gd_destroyproxy Destroys the local copy of the user's Globus proxy certificate gd_rmfile Deletes a remote file using GridFtp gd_fileExists Tests the existence of files and directories on a Globus resource gd_serverMetrics Performs a number of tests to Globus resources gd_getfile Retrieves a remote file using GridFtp gd_testAuthentication Tests the authentication to a Globus resource gd_jobkill Kills a Globus GRAM specified by job handle gd_testFileTransfer Tests file transfer to a Globus resource gd_jobpoll Queries the status of a Globus GRAM job until complete gd_testJobSubmission Tests the job submission to a Globus resource gd_jobstatus Gets the status of a Globus GRAM job gd_timeAuthentication Times authentication to a Globus resource gd_jobsubmit Submits a compute job to a Globus GRAM job manager gd_timeFileTransfer Times file transfer to a Globus resource gd_listjobs Returns all the job handles belonging to the user gd_timeJobSubmission Times job submission to a Globus resource gd_makedir Creates a remote directory using GridFtp gd_transferFile Performs a third-party file transfer using GridFTP © Geodise Project, University of Southampton, 2001-2004. http://www.geodise.org/ gd_condorsubmit Command Submits a job through a Globus resource to a Condor pool • Syntax handle = gd_condorsubmit(classAD_Structure, RSL_Structure,… resourceManagerContact, filesystemType) • Inputs – classAD_Structure: A structure describing Condor submit description file – RSL_Structure: A structure describing Globus resource specification – resourceManagerContact: A string describing the Grid resource – filesystemType: 'NFS' for a shared filesystem. (Optional) • Output: – handle: A string showing the handle for a successfully submitted job. © Geodise Project, University of Southampton, 2001-2004. http://www.geodise.org/ Using gd_condorsubmit 1. Define your ClassAD as a Matlab structure. 2. Define your RSL as a Matlab structure. 3. Make a job submission to the Globus server. © Geodise Project, University of Southampton, 2001-2004. http://www.geodise.org/ SESC Computation Client • Geodise Identity Manager – createIDmanager - Initialises an IDmanager to authenticate with Web Services – queryIDmanager - Queries credentials contained within IDmanager • SESC Computation Client – – – – – – grid_submit - submits a job to the SESC Computation Manager grid_platform - creates a job requirements structure grid_status - Retrieves the status of a job grid_poll - Polls the status of a job grid_results - Retrieves the results of a job sesc_configuration – Utility function to specify configuration file © Geodise Project, University of Southampton, 2001-2004. http://www.geodise.org/ Grid Support Functions and Tools • Support functions and tools allow end users to – Verify that the specific Grid resources they require are available by checking basic functionality such as authentication, file transfer, and job submission, – Check that their applications and files exist on the Grid resource, – Make sure that user security settings are configured correctly. • Matlab functions are available. • They are also integrated to the workflow editor. © Geodise Project, University of Southampton, 2001-2004. http://www.geodise.org/ Available Matlab Functions Command Function gd_fileExists Tests the existence of files and directories on a Globus resource gd_testAuthentication Tests the authentication to a Globus resource gd_testFileTransfer Tests file transfer to a Globus resource gd_testJobSubmission Tests the job submission to a Globus resource gd_timeAuthentication Times authentication to a Globus resource gd_timeFileTransfer Times file transfer to a Globus resource gd_timeJobSubmission Times job submission to a Globus resource © Geodise Project, University of Southampton, 2001-2004. http://www.geodise.org/ Data Architecture Client Grid Geodise Database Toolbox Matlab Functions Globus Server GridFTP Java clients CoG Geodise Database Web Services Apache SOAP Location Service SOAP Authorisation Service GUI SOAP Metadata Archive & Query Services © Geodise Project, University of Southampton, 2001- 2004. http://www.geodise.org/ Metadata Database