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 D12A618F47 for ; Thu, 25 Feb 2016 08:10:54 +0000 (UTC) Received: (qmail 85912 invoked by uid 500); 25 Feb 2016 08:10:54 -0000 Delivered-To: apmail-airavata-dev-archive@airavata.apache.org Received: (qmail 85859 invoked by uid 500); 25 Feb 2016 08:10:54 -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 85849 invoked by uid 99); 25 Feb 2016 08:10:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Feb 2016 08:10:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 05659C0476 for ; Thu, 25 Feb 2016 08:10:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.997 X-Spam-Level: * X-Spam-Status: No, score=1.997 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id w6E30j1T-9PI for ; Thu, 25 Feb 2016 08:10:51 +0000 (UTC) Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0130.outbound.protection.outlook.com [157.56.112.130]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 6C55A5F1EF for ; Thu, 25 Feb 2016 08:10:50 +0000 (UTC) Received: from DB5PR01CA0013.eurprd01.prod.exchangelabs.com (10.162.149.151) by VI1PR0101MB1728.eurprd01.prod.exchangelabs.com (10.166.139.24) with Microsoft SMTP Server (TLS) id 15.1.415.20; Thu, 25 Feb 2016 08:10:42 +0000 Received: from AM1FFO11FD020.protection.gbl (2a01:111:f400:7e00::154) by DB5PR01CA0013.outlook.office365.com (2a01:111:e400:51b7::23) with Microsoft SMTP Server (TLS) id 15.1.409.15 via Frontend Transport; Thu, 25 Feb 2016 08:10:41 +0000 Authentication-Results: spf=pass (sender IP is 137.224.8.151) smtp.mailfrom=wur.nl; airavata.apache.org; dkim=none (message not signed) header.d=none;airavata.apache.org; dmarc=bestguesspass action=none header.from=wur.nl; Received-SPF: Pass (protection.outlook.com: domain of wur.nl designates 137.224.8.151 as permitted sender) receiver=protection.outlook.com; client-ip=137.224.8.151; helo=scomp5307.wurnet.nl; Received: from scomp5307.wurnet.nl (137.224.8.151) by AM1FFO11FD020.mail.protection.outlook.com (10.174.64.209) with Microsoft SMTP Server (TLS) id 15.1.422.5 via Frontend Transport; Thu, 25 Feb 2016 08:10:41 +0000 Received: from scomp5294.wurnet.nl (10.92.78.3) by scomp5307.wurnet.nl (10.90.7.217) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Thu, 25 Feb 2016 09:10:41 +0100 Received: from mail-qg0-f48.google.com (209.85.192.48) by scomp5294.wurnet.nl (10.92.78.3) with Microsoft SMTP Server (TLS) id 15.0.1076.9; Thu, 25 Feb 2016 09:10:40 +0100 Received: by mail-qg0-f48.google.com with SMTP id b67so34480885qgb.1 for ; Thu, 25 Feb 2016 00:10:40 -0800 (PST) X-Gm-Message-State: AG10YORoIozdfowvPp0/GkjBIlGHyXJ3+98dWAna3qlrzJyGcC6OfQCefN0bzcRm1tOJvJEFy3VcNkqNYtRXVg== X-Received: by 10.140.173.133 with SMTP id t127mr58110895qht.23.1456387839543; Thu, 25 Feb 2016 00:10:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.233.223.193 with HTTP; Thu, 25 Feb 2016 00:10:20 -0800 (PST) In-Reply-To: References: From: Eric Kuyt Date: Thu, 25 Feb 2016 09:10:20 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Adding a SGE resourceJobManagerType To: "dev@airavata.apache.org" Content-Type: multipart/alternative; boundary="001a1139afa0d4e5cf052c93b714" X-Originating-IP: [209.85.192.48] X-ClientProxiedBy: scomp5295.wurnet.nl (10.92.78.4) To scomp5294.wurnet.nl (10.92.78.3) X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;AM1FFO11FD020;1:5Iw8cnrnWWzGxCMAwP+4wggQ0euDZ4zW4h1RrCYkC7jF1pLSldPNL3j+ySmbiv4n9g4PItO/urZVI67CqVuopUxUd98joARy3g49IaDMz+1njEFaidywHjYiG+WhwGhWFuFY/3wpWW2MEmBV9PwchQzGjFCrsv8JdI5yQetESKcpBKBKCKWxmZUxGblB3RisYIVyYmxZ0mWD8g9wCYW+w9LT3V+128rsUBWxuf4gApzJT1BhAExE3V7IpbVJ0vbiDxgCFHaXIOQgpolMPHZJjMeEwk8okj0K8E/txyPhXpffg/ZPjt5H5CS07R/xkvAvPPba+k1HMHGbBikjpm5yUlbqebsOqqiJau93t2VYITMT4Pe/JDGtWl2WbXpQLXy1Sr2UgDzyPa/51Ha7B44t5A== X-Forefront-Antispam-Report: CIP:137.224.8.151;CTRY:NL;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(2980300002)(438002)(377454003)(199003)(252514010)(189002)(53754006)(24454002)(164054003)(69224002)(19617315012)(2501003)(86362001)(3480700003)(2906002)(5008740100001)(1096002)(87936001)(1220700001)(512874002)(6116002)(586003)(93516999)(19625305001)(98316002)(76176999)(93886004)(50986999)(63696999)(11100500001)(3846002)(2351001)(6806005)(106466001)(61726006)(54356999)(2950100001)(42186005)(66066001)(55446002)(450100001)(189998001)(59536001)(92566002)(107886002)(5001960100002)(110136002)(74482002)(61266001)(19580405001)(5004730100002)(16799955002)(16601075003)(84326002)(15975445007)(19580395003)(16297215004)(24704002)(55456009);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0101MB1728;H:scomp5307.wurnet.nl;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0101MB1728;2:jrPFAvHOtsbONrlEm4XR6ILorGwZAX0s5aM/HF382WNL9RyyeCXPRbCiH+TXcR1VzWtHGhPrrXEfr5MX9cq8oLMNIFu7iLm31xypv5t67XsYRTgb9+4UUh055Dr+GwArstoxo2u0oGn+y4vLZgj1iQ==;3:0ng/tBIG7eqj98B4qc1vQM6tDnF3B1/3853bOfL0IN7DLybbEJviDYu85Mj6Pl9gpU13YFgcMqfXGkj83x7WmrnOuwrBilRdVT/qE/ModzO7G2wYuH3duLOQ4XkPCkKbaplWwTZSh6g74LfYuQNR//WGNvy53Uj/x1dsdba/BsL6mQDVeYm93DLVop2cnLkXvv//zliWiP2k2XW2c7fA7dx1nX9LaxN9E2hB9PIePqVJjbxqCwPDzBWNpkPbKdfTm+wDpX9X3HSeno8jIcYNzw==;25:4es28P2hotz2sriRo/EDNL/mwwj8C4iU6pqOPvcmnEtzrNoWpuTKfZ0AneAqpQM0ZCHUCbLd+/VNJDl+gPEI4zyxlfnpYHdAoTIxsrXjKT+OranXzjq/HY+yRAosH/fQFuChUDO0S9HPm0aW6917WF47GTt2HCH3yHrxoUZbE8mwhVdXNFuJlEvx55PkZLs+tAoFPwE3P/k0sdxcQ5JG+F5rpkcilr/2P6bEnheCdIaTzdGpqhymLeF2i2dQFDjS1chRkKkwlN6VdlRURSstGt/xuBzmmbkALQSJCBiz9bxWYnhJWuj0VJB02rEL53gTlKaLYFntvua8Z+NRQlyXiA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(8251501001);SRVR:VI1PR0101MB1728; X-MS-Office365-Filtering-Correlation-Id: 5e6bba47-3d33-49db-d15b-08d33dbb271a X-Microsoft-Exchange-Diagnostics: 1;VI1PR0101MB1728;20:716MLsCZIP6NrwrrnukaHMJ8LUBbl4mvrj45K8CyBR2y6FQlDbWtriJ/cALlVpzrY0/gbhsZtAa8hFbWNmFWIa/jZalJPjNkMqKm/DCR95M7P8rbgM7Ptbj9Jh3pd41MjdBumTHF7DbDiY9JYLMrw7MpBSuNbdtYf7i8jrAcNVWGCjZBeL4r1LfgBG5FcWovPHBrzJRTOqYQoE4Ofph7Z7/ugOcFtRjuS1O0RKR++o0Gwj/2zvQdm/+qbPssgM5w7Cll0rENs1XRkYF040PHHE49+HijVnMyQO8umjw8mD6DMDSBUg+qvFgMmknomAza70Omd/IugaAx1Qx1KLQ/0As9CmTCFWyuNjmFjiYzuEfs93tmWIIG+z9ZJcMxcXKoS5DMpqNNrWAFuCr6dsAKrSzrTciidpmcILj2/Vz5F3QKNqiBBHqF9tBeLsV5qjE3X6ojY2GdeMBpUft+PqzuYG+eufCJ7NWq1JbnQJaF0ILOWEDLNcTCW/Wqf7gfFmBr X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(13017025)(13023025)(13024025)(13018025)(8121501046)(13015025)(3002001)(10201501046);SRVR:VI1PR0101MB1728;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0101MB1728; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0101MB1728;4:AatmpXyBe3LGWmSWJ9PADVTBD1NZEo57ex/1b7xaiLfQJEjyPuZaBJoYfU2n9h3EJli+w79AN4ArEJGJjuytcBsCan3iQocI17uYFJp7Wgh4nI6NxHvOWN4FKl5mgzQ/3qTZTStmiHWB0chdjDohepmJ/5j69hb6nuWfMFIx+pLU6S21HkuaplNclnL5SZFxPF/PmL3N+o0aA2f4FVCPeg+WxGLXaIg/tmwaAmAhRDdEU57PPqoaBXP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QOj7FKLwG+Vxjc=3D?= X-Microsoft-Exchange-Diagnostics: 1;VI1PR0101MB1728;5:BiEiFU3B4HCnQzcd61D7BfC735qcfuXv9iPVFF/KkOXMxyBNz4C1mRjn9QtFSBw8g25/AIg4yxmALzf/0cTRf61zbu2NGPNfv3Z8iaPJzwwGGtv4sWTd2DYI/biMoFsz7u4xw7/HnL0lXYNjShcqQw==;24:ou/uDPu21a/6ByJeyy9w3fDoT6PErXYWY7I3cK/X2hn9dHEyy43+4M0x8aFPkRvEs8CDHxSgHOGj7OTCrGySYNAfvqwIO2prvDkz1dORxfQ= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: wur.nl X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2016 08:10:41.2995 (UTC) X-MS-Exchange-CrossTenant-Id: 27d137e5-761f-4dc1-af88-d26430abb18f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=27d137e5-761f-4dc1-af88-d26430abb18f;Ip=[137.224.8.151];Helo=[scomp5307.wurnet.nl] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0101MB1728 --001a1139afa0d4e5cf052c93b714 Content-Type: text/plain; charset="UTF-8" Hey everyone, thanks for all the enthusiastic reactions, I think I can play around with this tomorrow. I noticed earlier however that the pbs file generated for univa grid engine was giving an error code on qsub. Will read in univa today and if it is supposed tot be backwards compatible. Eric On 24 February 2016 at 22:15, Pierce, Marlon wrote: > Hi Eric, did this work for you? > > From: Suresh Marru > > Reply-To: "dev@airavata.apache.org" < > dev@airavata.apache.org> > Date: Wednesday, February 24, 2016 at 10:30 AM > To: Airavata Dev > > Subject: Re: Adding a SGE resourceJobManagerType > > SGE - Sun Grid Engine is the old variant of Univa Grid Engine, so you > should pick UGE in Airavata and should be good to go. SGE/UGE implement PBS > protocol so parsing should be similar. Lonestar4 used to have UGE, so email > parsing should be similar to that. > > Suresh > > > On Feb 24, 2016, at 10:17 AM, Shameera Rathnayaka > wrote: > > Hi Eric, > > There are couple of things you need to do to add a new jobmanager type. > > 1. Configure your SGE resource type in gfac yaml config file > (airavata/modules/configuration/server/src/main/resources/gfac-config.yaml.config). > As you can see you need to provide an output parser and email parser for > your SGE, Unless you can't use existing implementations you need to come up > with your own implementations of these interfaces. > > 2. Don't modify thrift generated file, instead add your new > ResourceJobManagerType to > airavata/thrift-interface-descriptions/data-models/resource-catalog-models/compute_resource_model.thrift > file and generate thrift classes. > > 3. Come up with SGE JobConfiguration class, and modify > org.apache.airavata.gfac.impl.Factory#getJobManagerConfiguration method to > provide it. You should have xslt template for your SGE script file. > > let us know if you hit any issue while you following these steps. > > Thanks, > Shameera. > > On Wed, Feb 24, 2016 at 9:53 AM Chathuri Wimalasena > wrote: > Hi Eric, > > To understand what you did, you added a new ResourceJobManagerType in the > thrift definition as "SGE" ? I assume you generate thrift stubs after > adding it. For that, you need to have thrift 0.93 installed in your system. > > Thanks.. > Chathuri > > On Wed, Feb 24, 2016 at 9:03 AM, Eric Kuyt eric.kuijt@wur.nl>> wrote: > Hey all, I am playing around with airavata and when I can run jobs on my > SGE using PBS but the parsing of qsub / qstat fails. So my jobs never leave > the Executing state. > > Now I try to make my own SGEJobConfiguration class. > Created the class plus outputParser in org.apache.airavata.gfac.impl.job > > - add SGE in > /airavata-gfac-impl/src/main/java/org/apache/airavata/gfac/impl/Factory.java > > - add SGE in > /airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManagerType.java > > - add SGE to > airavata-php-gateway/app/libraries/Airavata/Model/Job/Types.php in PGA. > > What should the next step be? if I Wanted to create my own SGEOutputparser? > PGA now gives me a Required field 'resourceJobManagerType' is unset! when > I select SGE in the list. > > Thanks, > > Eric > > > -- > Central Veterinary Institute of Wageningen UR (CVI) > Department of Infection Biology > PO box 65, 8200 AB Lelystad, NL > Visiting address: ASG, Edelhertweg 15, 8219 PH Lelystad > > Tel: +31-(0)320-293391 > Fax: +31-(0)320-238153 > E-mail: eric.kuijt@wur.nl > Web: http://www.cvi.wur.nl > > -- > Shameera Rathnayaka > > -- Central Veterinary Institute of Wageningen UR (CVI) Department of Infection Biology PO box 65, 8200 AB Lelystad, NL Visiting address: ASG, Edelhertweg 15, 8219 PH Lelystad Tel: +31-(0)320-293391 Fax: +31-(0)320-238153 E-mail: eric.kuijt@wur.nl Web: http://www.cvi.wur.nl --001a1139afa0d4e5cf052c93b714 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey everyone, thanks for all the enthusiastic rea= ctions, I think I can play around with this tomorrow.=C2=A0
<= br>
I noticed earlier however that the pbs file generated for= univa grid engine was giving an error code on qsub. Will read in univa tod= ay and if it is supposed tot be backwards compatible.

Eric =C2=A0

On 24 February 2016 at 22:15, Pierce, Marlon <marpierc@iu.= edu> wrote:
Hi Eric, did th= is work for you?

From: Suresh Marru <smarru@apache.o= rg<mailto:smarru@apache.org= >>
Reply-To: "dev@airavata.apache.org<mailto:dev@airavata.apache.org>" <dev@airavata.apache.org<mailto:dev@airavata.apache.org>>
Date: Wednesday, February 24, 2016 at 10:30 AM
To: Airavata Dev <dev@airavat= a.apache.org<mailto:dev@a= iravata.apache.org>>
Subject: Re: Adding a SGE resourceJobManagerType<= br>
SGE - Sun Grid Engine is the old variant o= f Univa Grid Engine, so you should pick UGE in Airavata and should be good = to go. SGE/UGE implement PBS protocol so parsing should be similar. Lonesta= r4 used to have UGE, so email parsing should be similar to that.

Suresh


On Feb 24, 2016, at 10:17 AM, Shameera Rathnayaka <shameerainfo@gmail.com<mailto:shameerainfo@gmail.com>> wrote:

Hi Eric,

There are couple of things you need to do to add a new jobmanager type.

1. Configure your SGE resource type in gfac yaml config file (airavata/modu= les/configuration/server/src/main/resources/gfac-config.yaml.config).=C2=A0= As you can see you need to provide an output parser and email parser for y= our SGE, Unless you can't use existing implementations you need to come= up with your own implementations of these interfaces.

2. Don't modify thrift generated file, instead add your new ResourceJob= ManagerType to airavata/thrift-interface-descriptions/data-models/resource-= catalog-models/compute_resource_model.thrift=C2=A0 file and generate thrift= classes.

3. Come up with SGE JobConfiguration class, and modify org.apache.airavata.= gfac.impl.Factory#getJobManagerConfiguration method to provide it. You shou= ld have xslt template for your SGE script file.

let us know if you hit any issue while you following these steps.

Thanks,
Shameera.

On Wed, Feb 24, 2016 at 9:53 AM Chathuri Wimalasena <kamalasini@gmail.com<mailto:kamalasini@gmail.com>> wrote:
Hi Eric,

To understand what you did, you added a new ResourceJobManagerType in the t= hrift definition as "SGE" ? I assume you generate thrift stubs af= ter adding it.=C2=A0 For that, you need to have thrift 0.93 installed in yo= ur system.

Thanks..
Chathuri

On Wed, Feb 24, 2016 at 9:03 AM, Eric Kuyt <eric.kuijt@wur.nl<mailto:eric.kuijt@wur.nl>> wrote:
Hey all, I am playing around with airavata= and when I can run jobs on my SGE using PBS but the parsing of qsub / qsta= t fails. So my jobs never leave the Executing state.

Now I try to make my own SGEJobConfiguration class.
Created the class plus outputParser in org.apache.airavata.gfac.impl.job
- add SGE in /airavata-gfac-impl/src/main/java/org/apache/airavata/gfac/imp= l/Factory.java

- add SGE in /airavata-data-models/src/main/java/org/apache/airavata/model/= appcatalog/computeresource/ResourceJobManagerType.java

- add SGE to airavata-php-gateway/app/libraries/Airavata/Model/Job/Types.ph= p in PGA.

What should the next step be? if I Wanted to create my own SGEOutputparser?=
PGA now gives me a Required field 'resourceJobManagerType' is unset= ! when I select SGE in the list.

Thanks,

Eric


--
Central Veterinary Institute of Wageningen UR (CVI)
Department of Infection Biology
PO box 65, 8200 AB Lelystad, NL
Visiting address: ASG, Edelhertweg 15, 8219 PH Lelystad

Tel:=C2=A0 += 31-(0)320-293391
Fax: +31-(0)= 320-238153



--
=
Central Veterinary Institut= e of Wageningen UR (CVI)
Department of Infection Biology
PO box 65, 8= 200 AB Lelystad, NL
Visiting address: ASG, Edelhertweg 15, 8219 PH Lelys= tad
=C2=A0
Tel:=C2=A0 +31-(0)320-293391=
Fax: +31-(0)320-238153
E-mail: eric.kuijt@wur.nl
We= b: http://www.cvi.wur.n= l
--001a1139afa0d4e5cf052c93b714--