Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] ptp/slurm: How to redefine location of .eclipsesettings aka Generic SLURM Batch fails

Greg,
The solution that you provided works in the situations I have tested so far (normal remote launch).

To implement your recommendation, I "unjarred" the resource bundle:
org.eclipse.ptp.rm.jaxb.configs_1.0.0.201509091505.jar,
modified the file that you cited below: slurm-generic-batch.xml,
then "rejarred" the bundle .


Any insight into why the cited line was commented out?
Will this be repaired in a future release?

Should I update the bug reports (489103 , 479083), detailing the cited work-around?
 
------------------------------

Message: 3
Date: Fri, 11 Mar 2016 10:16:51 -0500
From: Greg Watson <g.watson@xxxxxxxxxxxx>
To: PTP User list <ptp-user@xxxxxxxxxxx>
Subject: Re: [ptp-user] Correction ---- ptp/slurm: How to redefine
        location        of .eclipsesettings -- $HOME is not mounted on compute nodes.
Message-ID: <12EF0B86-5E34-4055-ACDB-8A009E1D6531@xxxxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

I would start by uncommenting line 285 of slurm-generic-batch.xml. I?m not sure what the default file-staging-location should be, but I think this should be the same as the ?directory? attribute of the submit-batch command.

If this doesn?t help, you can start trying to debug this by enabling the debugging options in Preferences>Parallel Tools>Target Configurations. In particular, the Command Debugging Options should show what command is actually being run. You could also monitor the .eclipsesettings directory to make sure the file is getting created (it may have a different name each launch, I?m not sure).

If this proved unhelpful, I would move to debugging the source. Let me know if you would like more information on this.

Greg

> On Mar 7, 2016, at 1:04 PM, John Robinson <jsrobin@xxxxxxxxx> wrote:
>
>
>
>
>
> It appears that the error occurs even in cases where the home directory is mounted on compute nodes.
>
> I submitted the the problem, along with a similar problem for debug launches as
> bug id: 489103 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=489103> . After submitting the bug, I found that a similar issue had occured last year as bug id: 479083 <https://bugs.eclipse.org/bugs/show_bug.cgi?id=479083> .
>
> Do you have any idea as to how to best "debug" this problem?
>
>
> Sincerely,
> John Robinson
>
>
>
>
> --------------------------------------------------------------------------------------------------------
>
> Date: Tue, 1 Mar 2016 13:03:28 -0500
> From: Greg Watson <g.watson@xxxxxxxxxxxx <mailto:g.watson@xxxxxxxxxxxx>>
> To: PTP User list <ptp-user@xxxxxxxxxxx <mailto:ptp-user@xxxxxxxxxxx>>
> Subject: Re: [ptp-user] ptp/slurm: How to redefine location of
>         .eclipsesettings -- $HOME is not mounted on compute nodes.
> Message-ID: <AD36A169-CA18-494D-9790-9B928F9224B4@xxxxxxxxxxxx <mailto:AD36A169-CA18-494D-9790-9B928F9224B4@xxxxxxxxxxxx>>
> Content-Type: text/plain; charset=utf-8
>
> I?m a bit puzzled as to why it matters if the home directories are mounted on the compute nodes or not. Normally the batch script would be placed in $HOME/.eclipsettings/?managed_file_for_script, then the sbatch command executed with this path as an argument. This would happen on the login node, so should be independent of the compute nodes. Can you try creating a simple script, put it in $HOME/.eclipsesettings/foo, then run ?sbatch $HOME/.eclipsesettings/foo? from the command line on the login node?
>
> Greg
>
> > On Mar 1, 2016, at 9:59 AM, John Robinson <jsrobin@xxxxxxxxx <mailto:jsrobin@xxxxxxxxx>> wrote:
> >
> >
> > The subject spells out the root of the problem.
> >
> > When PTP (on generic slurm) prepares a run configuration, it puts the
> > related batch file in $HOME/.eclipsesettings directory.
> >
> > If the aforementioned directory is not on the compute nodes, then the launch will fail
> > with an error ---- "sbatch Exited with value: 1, sbatch err: Unable to open file .eclipsesettings/ccc....managed_file_for_script  ..... job submit failed"
> >
> >
> > Changing the value of the environment variable HOME in the ".bashrc" or in the ptp configuration information dialog used to configure remote module loading will not change the outcome (the code may be using "getent passwd" which will ignore $HOME settings).
> >
> > The "home" directory is used to specify ptpDirectory and other directories and files which may not exist on the compute nodes.
> >
> > This means in particular, on large numbers of compute clusters and HPCs ( I have never worked on one in which "home" directories are mounted ) the Eclipse/PTP project is horrible broken "out of the box".
> >
> > Is there some fix that will work in this case (home directory never mounted on compute nodes) ?
> >
> > _______________________________________________
> > ptp-user mailing list
> > ptp-user@xxxxxxxxxxx <mailto:ptp-user@xxxxxxxxxxx>
> > To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/ptp-user <https://dev.eclipse.org/mailman/listinfo/ptp-user>
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dev.eclipse.org/mailman/private/ptp-user/attachments/20160311/ed8bd6e6/attachment.html>

------------------------------

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-user

End of ptp-user Digest, Vol 112, Issue 4
****************************************



--
Sincerely
    John S. Robinson

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Mailvelope v0.13.1

xsFNBFUgh/kBEACUx4miULXp9F7yNGZVoG4HNcWkuh19CV4xm+i5ehMkiNn5
vNq8qF7IKvTmInEHZjKTbKQbMtwElduIrpxigUrvx4Cnk3C7gSEdxz1zwWKI
QBbk1CbQZyxd1wM+R0Xg5SpusjV805aTTHBDulLKthT1qdZ52wc20Fsa7eGK
O9nyZEojwfAPAILYpYAzBT8VgA6NBNzVIPBpuZCooLMqP1Mm1aJjUbn1rsvq
gdVsgYUiQCGAFTpiLh1VJST41R3AOi0Y6KST8fQO4YH6GUi1Yw2cDwXvISpJ
A5kGRqHb/7bIHQU3mbhEpFfD/fv56r9TqXRcsdGwbzpGLEwOCiYJRl8PVuO6
j4TBKSD7yobnPzv4jHBKkx6XtfDKIK7OTrSsf7mqGYpeQs4gAmR0QXCAqNyG
FqFYloj+2o6TTLMAeTX6VkKMEyqG9ErmRNz8+rbB/ZU7APEz34/8hL/EAy/f
ZAHrpi1L9XaaIvc31EJNeiUI/ERiSzxHQOcvDLDGBA5SfFDZe6rztsAVp8m+
7mhK0rmwGigW29WjKk/wk1RjYw5r8Yls1QucIz8gLdhVAXjbPXWzrbRrvtBm
qfKPJKkvkq4Y9nHR2RciON3G1J5kepr0lmM/RZOK/K1EKHIPsf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