Return-Path: X-Original-To: apmail-airavata-dev-archive@www.apache.org Delivered-To: apmail-airavata-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92C7D19CA7 for ; Wed, 27 Apr 2016 20:36:22 +0000 (UTC) Received: (qmail 46089 invoked by uid 500); 27 Apr 2016 20:36:22 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 46039 invoked by uid 500); 27 Apr 2016 20:36:22 -0000 Mailing-List: contact dev-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list dev@airavata.apache.org Received: (qmail 46028 invoked by uid 99); 27 Apr 2016 20:36:22 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2016 20:36:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id CCE41180233 for ; Wed, 27 Apr 2016 20:36:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=nd.edu Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id zn7U1k2PQRyx for ; Wed, 27 Apr 2016 20:36:19 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 72DC45F256 for ; Wed, 27 Apr 2016 20:36:19 +0000 (UTC) Received: by mail-io0-f181.google.com with SMTP id 190so52551133iow.1 for ; Wed, 27 Apr 2016 13:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nd.edu; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=wFI0f99WdBJ+O0rB7vqNWoLfANDJg2XKEzB3g6rN1AE=; b=PNz9lWArQf5mC4qKbONTusCr4ALrCWZYrJwPua2wK7JMtSoqL8LEYZVst+iokEKfrw 73bQP9sBp51lXHbIpRHRGRnHDJCmLvXJiaoHzwhsiDJh+njohSRaw9uURBbSLF9+u5fb 722/85GiiilX6wsEGlfc3XLjYjiLOD3I3mDMT4mo0qKHudjALNXwtjX4iwXskZWxIWr3 6Cz9UWHXjyTPfvPzJx111J3bjJq9wqiAmqGo/g/dbwI6DFKx2aanyI2Y5Vpjy2BZBSYE WOHZGT+Z2soCPaeCFSW51ceHPE9OF2HTXonGaeu0yjVfHwQIpPCsMuH9jskl1JoFnYOe l/Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wFI0f99WdBJ+O0rB7vqNWoLfANDJg2XKEzB3g6rN1AE=; b=cksfDwOGN+rVR0MS5b6FWxxSeGJCvMidGRQQ9h+/TAvmyptu+4sa2ZbZ4r/7M9K6kL PJCLPzPMUymUZ9p0ZSaVAY1ZsK/hhMN1TNl06N2uc2fof/i7SXCyuqSC3+69RYJClKPp Xy6bDYPfVvkvs7n/VVfB40r3aPn7ypDGiQ1K5jA2Q+SbP3VQk8z6aM/Sfw0RZphUQlvS iS44q5JnXCOQrILVq7/yN2KJInNHmakFEHHo0a1IkrNhpuZ8QVEnW/1lwmvLXlCXNCkb 4xNcXVfdtfqccQQbOYa6iQQthwFUavMUC1Y2pr9qJx+TVA0A7xWmnosWAN9mC2OFy0z8 ezrw== X-Gm-Message-State: AOPr4FUwT0sS/tYPP6Gly+DUX0dy0Br0k21lbu0rpgi5nGON8KDi+9y8TvIV4HOuACy507YnqeSLf7b5iZq4DfOl X-Received: by 10.107.172.65 with SMTP id v62mr13133799ioe.5.1461789378659; Wed, 27 Apr 2016 13:36:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.44.66 with HTTP; Wed, 27 Apr 2016 13:35:39 -0700 (PDT) In-Reply-To: References: From: Jeffery Kinnison Date: Wed, 27 Apr 2016 16:35:39 -0400 Message-ID: Subject: Re: Planning for In-Situ Application and Resource Monitoring [GSoC Project] To: dev@airavata.apache.org Content-Type: multipart/alternative; boundary=94eb2c059220a7139c05317d5cce --94eb2c059220a7139c05317d5cce Content-Type: text/plain; charset=UTF-8 Thanks Suresh, I was hoping that I could stick with Python for the meat of the project, not just because it's the language I'm most comfortable with, but also thanks to the fact that it's fairly ubiquitous on HPC systems. I'll take a look at either interfacing the POC with RabbitMQ or converting it entirely to their Python bindings. If anyone has any alternative suggestions, they would be much appeciated. Jeff K. On Wed, Apr 27, 2016 at 4:20 PM, Suresh Marru wrote: > Hi Jeff, > > On Apr 27, 2016, at 4:08 PM, Jeffery Kinnison > wrote: > > Hi Dev Team, > > I'd like to develop a plan for implementing my GSoC project in conjunction > to getting my development environment up and running. This is my first > substantial experience with Open Source software development on this scale, > so thank you in advance for bearing with me. > > > You did great during proposal (hence you have a project), just continue > the same. At worse you will hear a lot of RTFM which is a common encounter > in open source. I will let you google for it. > > The full project proposal can be found at > https://cwiki.apache.org/confluence/display/AIRAVATA/GSoC+Proposal+-+In+Situ+Simulation+Analysis+Using+Airavata > > The idea is to allow Airavata users to look behind the curtain at jobs > they are running and enable automatic response to conditions encountered as > jobs run, both at the system and application level. This will likely > require a lightweight server to run alongside each job, which will > communicate with the Airavata server. > > I have a prototype for the lightweight server ( > https://github.com/jeffkinnison/simstream) written in Python, however I > know that Apache software is typically Java-based. The question here is one > of whether or not the prototype can be rolled into Airavata, or if I need > to begin looking into Java-based solutions. > > > No, you do not need to port your simstream to Java, infact. Since your > application demeon will need to run on HPC compute nodes, Java will not be > a good fit there. I think you should stick to python. For the communication > with Airavata, one suggestion will be to send a AMQP message which Airavata > listens to. You can follow this tutorial as a start - > https://www.rabbitmq.com/tutorials/tutorial-one-python.html. Others may > have different suggestions. > > The other initial question I have is one of how the Airavata server > submits jobs. From what I can tell, Airavata sends batch scripts to > connected computing resources, and my thinking right now about how to > deploy the lightweight server is to add its startup logic to the submit > scripts. Is this the correct thinking? > > > Yes thats exactly right. As you might see from other discussions, the > cloud based submissions might not have a batch script, but its fair to > assume your server will be launched one way or another. > > > Again, thank you for answering these questions, and I'm looking forward to > working with everyone this summer. > > > Keep them coming. > > Suresh > > > Best, > Jeff K. > > > --94eb2c059220a7139c05317d5cce Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks Suresh,

I was hoping th= at I could stick with Python for the meat of the project, not just because = it's the language I'm most comfortable with, but also thanks to the= fact that it's fairly ubiquitous on HPC systems.

I'l= l take a look at either interfacing the POC with RabbitMQ or converting it = entirely to their Python bindings. If anyone has any alternative suggestion= s, they would be much appeciated.

Jeff K.

On Wed, Apr 27, 2016 at 4:2= 0 PM, Suresh Marru <smarru@apache.org> wrote:
Hi Jeff,

On Apr 27, 2016, at 4:08= PM, Jeffery Kinnison <Jeffery.D.Kinnison.1@nd.edu> wrote:

Hi Dev Team,

I'd like t= o develop a plan for implementing my GSoC project in conjunction to getting= my development environment up and running. This is my first substantial ex= perience with Open Source software development on this scale, so thank you = in advance for bearing with me.

You did great during proposal (hence you have a pr= oject), just continue the same. At worse you will hear a lot of RTFM which = is a common encounter in open source. I will let you google for it.=C2=A0

The idea is to allow Airavata users to look behin= d the curtain at jobs they are running and enable automatic response to con= ditions encountered as jobs run, both at the system and application level. = This will likely require a lightweight server to run alongside each job, wh= ich will communicate with the Airavata server.

I have a p= rototype for the lightweight server (https://github.com/jeffkinnison/simstream= ) written in Python, however I know that Apache software is typically J= ava-based. The question here is one of whether or not the prototype can be = rolled into Airavata, or if I need to begin looking into Java-based solutio= ns.

No, y= ou do not need to port your=C2=A0simstream to Java, infact. Since your appl= ication demeon will need to run on HPC compute nodes, Java will not be a go= od fit there. I think you should stick to python. For the communication wit= h Airavata, one suggestion will be to send a AMQP message which Airavata li= stens to. You can follow this tutorial as a start -=C2=A0htt= ps://www.rabbitmq.com/tutorials/tutorial-one-python.html. Others may ha= ve different suggestions.=C2=A0

=
The other initial ques= tion I have is one of how the Airavata server submits jobs. From what I can= tell, Airavata sends batch scripts to connected computing resources, and m= y thinking right now about how to deploy the lightweight server is to add i= ts startup logic to the submit scripts. Is this the correct thinking?

Yes thats exactly r= ight. As you might see from other discussions, the cloud based submissions = might not have a batch script, but its fair to assume your server will be l= aunched one way or another.=C2=A0


Again, thank you for a= nswering these questions, and I'm looking forward to working with every= one this summer.

Ke= ep them coming.=C2=A0

Suresh


Best,
Jeff K.=C2=A0


--94eb2c059220a7139c05317d5cce--