PDA

View Full Version : need help to set environment


Sid Alam
08-15-2002, 06:12 PM
I am not sure where this message should be posted.
I am doing a project on grid computing implemented in Java.

Basically in laymans term grid computing is making powerful applicatins by using unused CPU's by networking computers. (Not important)
To do this I need to run a tool called Globus that provide much of the grid services.

I have downloaded this tool but getting some problems. It tells me that I need to:

(1) download the Grid toolkit
(2) set GLOBUS_LOCATION in your environment, and run 'build_gpt'.

How do I do this latter bit, that is set the environment???? (I am using Linux.)

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

Here is the installation page. http://www.globus.org/gt2/install/index.html

Note only the begining of the page is relevant to me, that is upto header "Building from a Source Distribution".

john5211
08-15-2002, 08:42 PM
Hi Sid,

In general, suppose I want to assign the string 'example' to the environmental variable 'TEST'. Then the syntax would be (from the command prompt):

<i>export TEST=example</i>

(notice no spaces, by the way). If you just want to set the variable once, then you can execute it from the command line, and it will not be present the next time you start the shell. If you want to set it every time, you can put it in your .bashrc, in /etc/bashrc, /etc/profiles, or /etc/zshrc.

John

Sid Alam
08-15-2002, 10:30 PM
In linux what is the best way to uninstall programs?
In windows the applications usually have their own "Uninstall tools", if they don't one could use the "Windows COntrol Panel" to install and remove programs.

john5211
08-15-2002, 11:04 PM
Hi Sid,

It depends on how you installed it to begin with:

If it was from an RPM, then (as root) type rpm -e [packagename].

If you installed the sources, then at some point you made a makefile (so you did whatever configuration you had to do, then you ran 'make' and 'make install'). Go to the place where you installed it, hope the makefile is still there, and type 'make uninstall.' If you lost the makefile, you can sometimes recover it by reinstalling the software (so install it and then immidiately uninstall it).

If you installed binaries from a tarball, then look for a readme file that tells you where the program put everything, and delete those files. Some companies/programmers include an uninstallation script. If you can find one of these, then run it.

Good Luck,

John

Sid Alam
08-16-2002, 10:01 AM
I am setting up the Globus environment as mentioned on further reading, I have found out that I need to have Perl installed. From my understanding Perl is another programming language? (Or a scripting language).

Does Perl come with linux, because I think the gcc compiler does???

john5211
08-16-2002, 01:19 PM
Hi Sid,

Yes, Pearl comes with linux. Use the Mandrake software installer to search the installable software database for packages with pearl in the title and you should find it.

John