Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] remote build of synchronized fortran project - ptp under windows

If I understand it correctly, the "native" environment means the environment variables already
set on the local machine outside of Eclipse. The "specified" environment means the variables that
are set inside Eclipse. The specified environment is always appended.

Thus if Windows environment variables are set in C/C++ preferences, they will always be included.
It doesn't matter where the build occurs. (PTP synchronized projects simply forward the build
command created by CDT, the plug-in that manages C/C++ projects.)

Remote environment variables are a combination of what is set in CDT and what is already
configured on the remote system. PTP's "environment management system," though, provides
a way to load modules on the remote system.


John

On Fri, Apr 24, 2015 at 9:08 AM, Rocky Dunlap <rocky.dunlap@xxxxxxxx> wrote:
I wonder if the text of these two could be clarified?

Replace native environment with specified one"
instead of "Append variables to native environment

It's not obvious what they mean and which one is the "native" environment and which one is "specified" and how they relate to the remote environment.

Rocky 

On Fri, Apr 24, 2015 at 12:36 AM Tijskens Engelbert <Engelbert.Tijskens@xxxxxxxxxxxxx> wrote:
John,
Thanks for your reply, 
did try that already, without success, 
 - how can i know what is in the “specified" one?
 - when i make a new build configuration, i must make a copy of one of the local build configurations. how can i make sure that it takes the remote environment variables? 
 - i specified some (windows) environment variables in eclipse -> preferences -> C/C++ -> build -> environment. will these be copied/appended to the remote environment?
kindest regards,
bert
 
On 23 Apr 2015, at 18:15, John Eblen <jeblen@xxxxxxx> wrote:

Hi

By default, local environment variables are included in the build. To change this, go to:
Project -> properties -> C/C++ Build -> Environment

and select ""Replace native environment with specified one"
instead of "Append variables to native environment"


John

On Thu, Apr 23, 2015 at 3:05 AM, Tijskens Engelbert <Engelbert.Tijskens@xxxxxxxxxxxxx> wrote:
Hi all,
I am a long time eclipse fan under mac osx and linux and now I am using PTP (latest release) for a students project that accesses our HPC cluster. The students that have Linux or Mac OSX are running fine, but the ones that have windows have trouble with remote building their projects.
i make separate DebugRemote and ReleaseRemote build configuration. The active synchronize configuration is set to the remote connection and running "make all” in a remote terminal works fine. However, when building the project within eclipse it complains that it can’t find /bin/bash. I could fix that by removing the PATH environment variable in the build configuration. /bin/bash is found but other errors emerge. it looks as if some windows environment variables containing backslashes have made their way into the remote build but i cannot figure out how that happens. I am probably overlooking something, or i dont know where to look.
Can anyone give me a clue, or perhaps point me to a tutorial of how to correctly setup remote build configurations in eclipse under windows?
many thanks in advance

bert



Dr [Engel]bert Tijskens
HPC Analyst/Consultant

Flemish Supercomputer Center    vscentrum.be
HPC core facility CalcUA                uantwerp.be/calcua
Computational mathematics               www.uantwerpen.be/en/rg/cma

University of Antwerp
Middelheimlaan1 G.309, B-2020 Antwerp, Belgium

engelbert.tijskens@xxxxxxxxxxxxx
++32 3 265 3879




_______________________________________________
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

_______________________________________________
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

Dr [Engel]bert Tijskens
HPC Analyst/Consultant

Flemish Supercomputer Center vscentrum.be 
HPC core facility CalcUA uantwerp.be/calcua
Computational mathematics www.uantwerpen.be/en/rg/cma

University of Antwerp 
Middelheimlaan1 G.309, B-2020 Antwerp, Belgium


_______________________________________________
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

_______________________________________________
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


Back to the top