Ok, sorry, I was in a meeting.

I’ve now created a hip chat account, but I’m not sure how to use it.

I’ll follow up with another email.

From: Suresh Marru [mailto:[email protected]]
Sent: Tuesday, February 17, 2015 2:28 PM
To: [email protected]
Cc: Nipurn Doshi
Subject: Re: New Use Case and output file question

Hi Spiros,

Can you please describe what issues do you see when creating an experiment? Are 
you also trying to use a local Airavata instance? If not, we need to make sure 
the IP Address you have installed is unblocked to talk to the demo Airavata 
instance which powers the 
test-drive.airavata.org<http://test-drive.airavata.org>.

May be Nipurn (cc’ed) can get in touch with you in Airavata Instant Messenger - 
https://airavata.hipchat.com/chat

This is a hip chat, it might ask you to sign up, if you prefer to login as 
guest user, you can try this - https://www.hipchat.com/gkzJyHoot

Suresh


Can you please

On Feb 17, 2015, at 1:49 PM, Mihalakopoulos, Spiro 
<[email protected]<mailto:[email protected]>> 
wrote:

Hi Suresh and all,

I’ve installed Laravel and got the code from github, but can still only create 
and search Projects and Experiments.

I think I need a user with admin privileges to be able to create Computer 
Resources, Applications… etc., and can’t seem to find how to do that.

Thanks,
Spiros


From: Mihalakopoulos, Spiro [mailto:[email protected]]
Sent: Thursday, February 12, 2015 1:02 PM
To: [email protected]<mailto:[email protected]>
Cc: Spiro Mihalakopoulos; Nipurn Doshi
Subject: RE: New Use Case and output file question

Ok! Yes, thanks for the links Suresh.


From: Suresh Marru [mailto:[email protected]]
Sent: Thursday, February 12, 2015 12:58 PM
To: [email protected]<mailto:[email protected]>
Cc: Spiro Mihalakopoulos; Nipurn Doshi
Subject: Re: New Use Case and output file question

Hi Spiros,

Please use this version of the PHP Reference Gateway - 
https://github.com/SciGaP/laravel-pga

This version uses a php framework called Laravel, so you may want to make sure 
you followed the pre-requisist steps listed at - 
http://laravel.com/docs/5.0#install-laravel

Suresh

On Feb 11, 2015, at 9:51 AM, Mihalakopoulos, Spiro 
<[email protected]<mailto:[email protected]>> 
wrote:

Hi all,

This email is to say hi and to let you know that we at Umass Med School have 
decided to use Airavata as a framework for building a Gateway to our cluster. I 
am employed as an HPC Scientific Programmer and will be leading (and probably 
doing it mostly myself ☺) this project. If you want more details regarding our 
plans, please let me know, since I don’t want to bore you with the details in 
this first email.

I also have a technical question. I’ve added simple applications, along the 
lines of Add, Echo, Multiply … etc. without a problem. I’ve also added an 
application that takes an input file as an InputDataObjectType of type 
DataType.URI. However, I must be doing something wrong when trying to generate 
output files i.e., OutputDataObjectType of type DataType.URI.

RegisterSampleApplicationsUtils.createAppOutput("output_file", "", 
DataType.URI);

It seems to work fine with strings still, since if in my script I put something 
like this:

echo 
"output_file='file://localhost:///opt/lampp/htdocs/PHP-Reference-Gateway/experimentData/spiros340e527dece195a74ac7455fbcc6f6fa/spiros_c.eps'<file:///\\localhost:\opt\lampp\htdocs\PHP-Reference-Gateway\experimentData\spiros340e527dece195a74ac7455fbcc6f6fa\spiros_c.eps'>"

Then it picks up the string.

My question is: how do I declare in the script that I want an actual file, not 
a string?
I’ve tried:

output_file='file://localhost:///opt/lampp/htdocs/PHP-Reference-Gateway/experimentData/spiros340e527dece195a74ac7455fbcc6f6fa/spiros_c.eps'<file:///\\localhost:\opt\lampp\htdocs\PHP-Reference-Gateway\experimentData\spiros340e527dece195a74ac7455fbcc6f6fa\spiros_c.eps'>

output_file=”file://localhost:///opt/lampp/htdocs/PHP-Reference-Gateway/experimentData/spiros340e527dece195a74ac7455fbcc6f6fa/spiros_c.eps<file:///\\localhost\opt\lampp\htdocs\PHP-Reference-Gateway\experimentData\spiros340e527dece195a74ac7455fbcc6f6fa\spiros_c.eps>”

and with the keywords “set”, “declare”, and “export” in front of “output_file” 
but have had no success.

I think I’m missing something in the whole concept of output files, but as a 
first step to better understand output files within Airavata, I would like to 
know how to hardcode sth. like that in the script and see it appear as a… URI 
type? For example, as a string it shows up like this:

array(1) { [0]=> object(Airavata\Model\Workspace\Experiment\DataObjectType)#15 
(4) { ["key"]=> string(11) "output_file" ["value"]=> string(127) 
"'file://localhost:///opt/lampp/htdocs/PHP-Reference-Gateway/experimentData/spiros340e527dece195a74ac7455fbcc6f6fa/spiros_c.eps'<file:///\\localhost:\opt\lampp\htdocs\PHP-Reference-Gateway\experimentData\spiros340e527dece195a74ac7455fbcc6f6fa\spiros_c.eps'>"
 ["type"]=> int(0) ["metaData"]=> NULL } }

But the array is empty when I try one of the above lines in the script 
(output_file= …).

Thanks in advance,
Spiros

Reply via email to