Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Using PTP with Sun Grid Engine(SGE) Scheduler

I opened bug #391972 for the script problem.

Greg

On Oct 15, 2012, at 11:06 AM, Greg Watson wrote:

> Hi Antelmo,
> 
> Regarding the disappearing script problem. I have seen this happen before and I think it's a bug. For some reason the managed file handler seems to think that the script file needs to be removed after the job is submitted. I've spent some time trying to track the problem down, but it's difficult to reproduce consistently, so I haven't had much success so far. I suggest for now that you keep a copy of the script in case it happens again. I will open a bug on this to make sure it gets tracked.
> 
> The "destination: cannot be empty" message comes from the validator on the "Queue" combo (it should really say "Queue: cannot be empty"). I just want to check that you have actually selected something from the "Queue" combo on the windows machine since it's not visible in the picture? However, if you have selected something, then this sounds like a bug also, since the validator should be satisfied at this point. There are some subtle differences in handling UI events between the platforms, so it's possible this is causing the problem. You could try removing the validator (line 62 of the gridengine-generic-batch.xml file) to see if the message goes away.
> 
> Regards,
> Greg
> 
> 
> On Oct 12, 2012, at 4:04 PM, Antelmo Aguilar wrote:
> 
>> Hello Greg,
>> 
>> I was wondering if you could help me out with a new problem I encountered.  I had told you in a previous e-mail that the submission script I imported would disappear when I tried creating a "Parallel Application" Run Configuration that used "Grid-Engine-Generic-Batch".  Well, I did not know why it would disappear since I did not have much experience with Eclipse before.  After a week or so, I went back to see if I could run an mpi program in the cluster using PTP.  So I followed the PTP tutorial again and this time when I was importing the submission script, I noticed that the "Apply" and "Revert" buttons became clickable.  So when I clicked "Apply", the imported submission script did not disappear and I was able to run an MPI program in our cluster through Eclipse.  The only thing I did before I got it to work was update PTP so I assumed that there might have been a bug before that prevented the "Apply" and "Revert" buttons to become clickable and it got fixed with the update.  So afterwards, I tried to run a job with Eclipse again, but this time with a Windows machine(I had been using Linux before).  So I was able to build my program, but I encountered the same error I had encountered before in the Linux machine.  The "Apply" and "Revert" buttons were not clickable.  But now, since I had more exposure to eclipse, I noticed an error whenever I chose the Connection name.  It said "destination: cannot be empty".  I have attached two pictures, one shows what error I get after I choose the connection name in a Linux machine and the other shows the error I get after I choose the connection name in a Windows machine.  Hopefully the error message gives you a clue as to what is wrong with my setup in the Windows machine.  Sorry for the long back story, but I thought it might be helpful for you to know what I did to get it to work in my Linux machine.  I would be happy to give you any information that you might need.
>> 
>> Thank you,
>> Antelmo Aguilar
>> ________________________________________
>> From: ptp-user-bounces@xxxxxxxxxxx [ptp-user-bounces@xxxxxxxxxxx] On Behalf Of Greg Watson [g.watson@xxxxxxxxxxxx]
>> Sent: Tuesday, September 04, 2012 6:20 PM
>> To: PTP User list
>> Subject: Re: [ptp-user] Using PTP with Sun Grid Engine(SGE) Scheduler
>> 
>> Antelmo,
>> 
>> Currently the only way to change the shell is to import the configuration into your workspace, modify it, then use the modified configuration when you select a target system configuration in the resources tab.
>> 
>> To import the configuration into your workspace, right click in the project explored and select 'Import…' Then open 'Resource Managers' and select 'Resource manager definition from plug-in'. Click 'Next>' then choose the 'Grid Engine-Generic-Batch' from the drop down. You should end up with a folder called 'resourceManagers' containing an XML file. You can edit this file, change its name, etc. Locate the '/bin/bash' line in the XML file and change it to '/bin/csh' or whatever. It should show up in the resource tab when you select a target system configuration.
>> 
>> Regards,
>> Greg
>> 
>> On Aug 28, 2012, at 2:25 PM, Antelmo Aguilar wrote:
>> 
>>> Hello Greg,
>>> 
>>> I am trying to do what you suggested, but I have not had any luck.   I tried changing the settings under "Grid Engine Settings", but I noticed that those settings default to to using bash, but we use cshell by default in our cluster.  Is there a way of changing the default shell?  I tried importing a script that I use to submit jobs, but I really have not had much success with it because after I import it and then I move to a different tab such as applications, the script that I imported gets removed from "Import Grid Engine Script".  I have attached two pictures that show what I get when I try to use the settings under "Grid Engine Settings" and when I try importing a script I have.  Also, for some reason the "Run" button is not clickable.  Do I need to setup the correct settings under resources first in order to be able to click "Run".  I really appreciate the help.
>>> 
>>> Thanks,
>>> Antelmo Aguilar
>>> ________________________________________
>>> From: ptp-user-bounces@xxxxxxxxxxx [ptp-user-bounces@xxxxxxxxxxx] On Behalf Of Greg Watson [g.watson@xxxxxxxxxxxx]
>>> Sent: Monday, August 20, 2012 1:31 PM
>>> To: PTP User list
>>> Subject: Re: [ptp-user] Using PTP with Sun Grid Engine(SGE) Scheduler
>>> 
>>> Hi Antelmo,
>>> 
>>> You need to use the 'Grid Engine-Generic-Batch' target system type when creating a run configuration. This should work with most GE implementations. If you want to manually configure monitoring for GE, switch to the System Monitoring Perspective, and create a new monitor. For 'Monitor Type', choose 'Grid Engine'.
>>> 
>>> If this doesn't work for you system, you may need to import a configuration into your workspace, then customize the commands so they are correct. I can give you more information on this if necessary.
>>> 
>>> Regards,
>>> Greg
>>> 
>>> On Aug 15, 2012, at 3:00 PM, Antelmo Aguilar wrote:
>>> 
>>>> Hello everyone,
>>>> 
>>>> I have downloaded and updated PTP and I would like to set it up so that it can be used in our cluster.  I have looked in the documentation, but I have not seen any clear instructions on how to setup PTP with SGE,  I have see some reference to how to set it up with PBS, but nothing about SGE.  I would greatly appreciate some guidance in this issue.
>>>> 
>>>> Thank you,
>>>> Antelmo Aguilar
>>>> _______________________________________________
>>>> ptp-user mailing list
>>>> ptp-user@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/ptp-user
>>> 
>>> _______________________________________________
>>> ptp-user mailing list
>>> ptp-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/ptp-user
>>> <Screenshot.png><Screenshot-1.png>_______________________________________________
>>> ptp-user mailing list
>>> ptp-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/ptp-user
>> 
>> _______________________________________________
>> ptp-user mailing list
>> ptp-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ptp-user
>> _______________________________________________
>> ptp-user mailing list
>> ptp-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ptp-user
> 
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top