Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Fwd: Git Configuration

Hi,

the BASH_ENV is set, but the PATH in the environment did not include git. We created in the folder .ssh a file called environment. Into the file we copied something like

PATH = /.../git:....

This is working for us. Only for my interest, is it planned to enable an configuration of the git path?

Kind regards,
Claudia

On 12/06/11 04:59, Beth Tibbitts wrote:
Thanks guys. You answered some of the questions I had about how and why this works the way it does.
FWIW for the PTP tutorial on the NCSA forge machine, it used tcsh (in the training IDs we set up ) and we got that to work;  like Corey I usually would rather use bash.
I updated the FAQ page with some of your remarks.

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511

[cid:1__=0ABBF3CDDF863BE08f9e8a93df938@xxxxxxxxxx]Roland Schulz ---12/05/2011 08:02:44 PM---Hi, When non-interactive shells are launched BASH_ENV is read. If BASH_ENV is not set on your system



From:

Roland Schulz<roland@xxxxxxx>


To:

Parallel Tools Platform general developers<ptp-dev@xxxxxxxxxxx>,


Date:

12/05/2011 08:02 PM


Subject:

Re: [ptp-dev] Fwd: Git Configuration (ENVIRONMENT)


Sent by:

ptp-dev-bounces@xxxxxxxxxxx
________________________________



Hi,

When non-interactive shells are launched BASH_ENV is read. If BASH_ENV is not set on your system than it is not possible to set any environment variables. Bash reads for interactive shells ( ~/.bash_profile, ~/.bash_login, or ~/.profile for login shells  and ~/.bashrc for non-login shells). But for non-interactive shells it does not have any default and it depends on the system configuration. Most systems, I have access to, have it configured to read ~/.bashrc. But not all; and on those I cannot can set the environment.

Roland

On Mon, Dec 5, 2011 at 7:07 AM, Beth Tibbitts<tibbitts@xxxxxxxxxx<mailto:tibbitts@xxxxxxxxxx>>  wrote:

Claudia
See http://wiki.eclipse.org/PTP/FAQ#Q:_My_remote_or_synchronized_project_doesn.27t_find_the_remote_environment_variables_correctly
You need to make sure that a non-interactive shell gets the right environment setup.
Altho, based on my expericence, .bashrc is the one it calls.
Interactive shells can call .profile or .bash_profile (need to update that wiki page)

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511

[cid:1__=0ABBF3CDDF863BE08f9e8a93df938@xxxxxxxxxx]Claudia Knobloch ---12/05/2011 05:24:39 AM---Hi, we run into a little problem here in Jülich. One of our users tried out



From:

Claudia Knobloch<c.knobloch@xxxxxxxxxxxxx<mailto:c.knobloch@xxxxxxxxxxxxx>>


To:

<ptp-dev@xxxxxxxxxxx<mailto:ptp-dev@xxxxxxxxxxx>>,


Date:

12/05/2011 05:24 AM


Subject:

[ptp-dev] Fwd: Git Configuration


Sent by:

ptp-dev-bounces@xxxxxxxxxxx<mailto:ptp-dev-bounces@xxxxxxxxxxx>

________________________________




Hi,

we run into a little problem here in Jülich. One of our users tried out
the feature synchronized projects and could not synchronized his project
with the system Jugene.

Git is installed on Jugene, but not automatically loaded. I put the
module load command into the .bashrc, but the command

ssh user@jugene [command]

does not load the .bashrc file. Is it possible to configure the path of
git, like

ssh user@jugene /usr/.../git?

Kind regards,
Claudia Knobloch

------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx<mailto:ptp-dev@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/ptp-dev





--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov<http://cmb.ornl.gov/>
865-241-1537<tel:865-241-1537>, ORNL PO BOX 2008 MS6309_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev






Back to the top