Skip to main content

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

Roland, Beth, Claudia,

 

You touched on something that has really make life difficult – the “on some machines one cannot set the environment” – (which leads to the .ssh trick that was discussed on this list).  Do you know how the machine is set so that the BASH environment cannot be set (and more importantly, how to fix it?) we have some systems in XSEDE with this characteristic, which makes them really difficult to use.  Looking for clues ….

 

Thanks,

 

Jay

 

 

From: ptp-dev-bounces@xxxxxxxxxxx [mailto:ptp-dev-bounces@xxxxxxxxxxx] On Behalf Of Beth Tibbitts
Sent: Monday, December 05, 2011 10:00 PM
To: Parallel Tools Platform general developers
Subject: Re: [ptp-dev] Fwd: Git Configuration

 

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


Inactive hide details for Roland Schulz ---12/05/2011 08:02:44 PM---Hi, When non-interactive shells are launched BASH_ENV is reRoland 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> 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


Inactive hide details for Claudia Knobloch ---12/05/2011 05:24:39 AM---Hi, we run into a little problem here in Jülich. One of 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>

To:


<
ptp-dev@xxxxxxxxxxx>,

Date:


12/05/2011 05:24 AM

Subject:


[ptp-dev] Fwd: Git Configuration

Sent by:


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
https://dev.eclipse.org/mailman/listinfo/ptp-dev




--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
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