Information Technology Reference
In-Depth Information
<?php
$url="http://<UrlGatewayFrontend>:8080/wspgrade/RemoteServlet";
// remote submission of the workflow
$id=shell_exec("curl -k -F m=submit -F pass=$pwd -F
wfdesc=@workflow.xml -F inputzip=@inputs.zip -F
portmapping=@portmapping.txt $url");
while(true)
{
// get the status of the submitted workflow
$status=shell_exec("curl -k -F m=info -F ID=$id -F
pass=$pwd $url");
if(strcmp("error", $status)==0)
{
break;
}
else if(strcmp("finished", $status)==0)
{
// download the output and log files of the submitted workflow
when its status is finished
shell_exec("curl -k -F m=download -F ID=$id -F pass=$pwd -o
output.zip $url");
}
}
?>
The remote API is implemented as a servlet installed as one of the services of the
front-end WS-PGRADE/gUSE components discussed in Sect. 13.2 . The HTTP web
server also exposes some HTML/JavaScript web pages embedded into the mobile
application by means of the Objective-C UIWebView class (e.g., the mobile graph
editor utility).
13.2.3 Computing Resources
The VisIVO Science Gateway and VisIVO Mobile currently exploit the Cometa
Consortium grid [COMETA] and an High Performance Computing (HPC) cluster.
The grid infrastructure is distributed in seven sites in Sicily. All sites have the same
hardware and software con
guration allowing high interoperability and realizing an
homogeneous environment. The computing infrastructure is based on IBM Blade
Centre, each containing up to 14 IBM LS21 blades interconnected with the low
latency In
niband-4X network, to provide HPC functionalities on the grid. There
are currently about 2,000 CPU cores and more than 200 TBs of disk storage space
available on this HPC e-Infrastructure. The HPC cluster is hosted at the INAF
Search WWH ::




Custom Search