Software :: Installing Sun Grid Engine - Set Your Environment Variable
Aug 20, 2010
I am trying to install sun grid engine. Doing my ME in madurai, Thiagarajar engineering college. While loading files on workstation, it shows set ur environment variable. But I set that variable as sge-root, also checked it with echo command.
It basically stats Octave and run a file I typed after. So if I need to submit it through sun grid engine how would I type it in command line or how should I do it in the sun grid engine control panel. I tried qsub -o <my path> -e <my path> run_octave Myfile.m (Myfile.m is the file I need to run)
I've looked through the forums and found that installing openmotif may fix my problem. I tried it but to no avail. Here is my challenge, I'm trying to install Grid Engine on my VMWare fedora installation. I get this dependency error:
Quote: rpm -i sun-sge-bin-linux24-x64-6.2-5.x86_64.rpm error: Failed dependencies: libXm.so.3()(64bit) is needed by sun-sge-bin-linux24-x64-6.2-5.x86_64 libXp.so.6()(64bit) is needed by sun-sge-bin-linux24-x64-6.2-5.x86_64 sun-sge-common = 6.2 is needed by sun-sge-bin-linux24-x64-6.2-5.x86_64
I installed the latest version of openmotif and when I do a search for the two files, there is no libxm.so.3 but libxp.so.6 is there. When I try to install the rpm again I still get the exact same error.
I am somewhat familiar with SGE (Sun Grid Engine, now Oracle Grid Engine) commands but am having a problem when running parallel jobs.
Present Machine configuration: machine I - 12 cpus machine II - 12 cpus machine III - 12 cpus .... so on ... One_machine - 16 cpus
(I have all machine of 12 cpus and 1 machine having 16 cpus)
I want to schedule jobs on these machine such that if I ask for 12 cpus - my jobs should execute on any of the machines which has all 12 free cpus (eg machine I or machine II) in this case.
Eg. suppose I ask for 24 cpus
Option I : 12@machine1 12@machine2 ----- I need this
Options II : 10@machin1 10@machine2 4@machine3 ---- I don't need such a distribution
Hence, Option I is ideal here. Also, when running 12 jobs on machine1 (say) - even if all 12 cpus are not being used at some instance of time, none of the 12 cpus should be freed. In short, until my run finishes, all blocked cpus should remain blocked.
If you may understand, the purpose here is to run some performance tests.
I am supposed to create an environment variable with the PRINTER variable, which should resolve to the word sales. Would the command be like this?: env PRINTER - NAME=SALES (is this the command to create that variable with resolving the word sales to it?)
I'm trying to add 2 new environment variables (Debian . I have created a "/etc/profile.d/java.sh" file and in it I have added these lines (and just for the record, I've also tried adding those line to the profile file with the same results as explained below).
The first variable "XAPPLRESDIR" is added just fine (I check by doing echo $XAPPLRESDIR). The second variable is not added. Here's what I discovered though, if I change the variable name to LD_LIBRARY_PATK (I change the word "path" into something else) then it works just fine... So how am I supposed to add this variable? I need it to be named just that...
Well on a Rsps forum it says that the reason i keep crashing in the client is cause my Envieronment Variable isnt set for Java. i was wondering how to do this.please make it deatailed since i am new to ubuntu and i dont know most of the things like usr/java
how to set environment variable as i am getting following message during ./configure.
checking for GtkGLExt - version >= 1.0.0... *** pkg-config cannot find gtkglext-1.0 >= 1.0.0 *** Set the environment variable PKG_CONFIG_PATH to point to the correct
I'm setting my CLASSPATH in /etc/profile.d/jre.sh. In a login shelleverything is fine. In an xterm window, the CLASSPATH consists of two of every intended entry.In jre.sh I am doing aCode:export CLASSPATH=$CLASSPATH:/many/paths/to/jarsSo I'm guessing this is getting run twice in the xterm case. Can someone explain what's going on here and what I should do to remedy this?
I'm trying to configure subclipse with JAVAHL for ganymede. I have everything installed and the right version of the JAVAHL.
I have seen that a lot of people uses java.library.path in the eclipse.ini file to set it up or just write a script for launching eclipse.
I have read about the .gnomerc file but i couldn't find it or create one and make it work. I'm using a 9.04 ubuntu.. is there anyway to configure an environment variable for gnome? What i want is just click on the shotcut and have it working, not having to run a script or all that stuff.
I just upgraded to 10.10, I use Tilda (terminal client) on my desktop but now when I type "clear" it says "TERM environment variable not set." instead of clearing the screen. Also commands like "tree" does not show folders and iles in color like they did before upgrading.
I have just installed Ubuntu onto my machine and my question is if it automatically comes with the PATH environment variable?If so, how do I add something such as python.exe to the PATH environment variable?
I am trying to create a launcher which runs virtual box from a custom config directory. For this I have to set an environment variable first then call VirtualBox command. From terminal it looks like:
i have to set environment variables , after the installation of intel(R)MKL for linux OS given in intel mkl user guide, which are INCLUDE, LD_LIBRARY_PATH, MANPATH,LIBRARY_PATH, CPATH, FPATH, NLSPATH using the script file which, in my case,is "mklvarsem64t.sh"How can i set these environment variables?Do i need to set all these variables?
In C, there's a global variable 'environ'. With the help of linux manual, I know it's defined in <unistd.h>. But the fowllowing program is also right without <unistd.h>:
When I put a "test" target in my Makefile containing Code: @echo "CXX= $(CXX)" it tells me "CXX= g++". But I have nothing in the Makefile assigning any value to CXX, and as far as I can tell I have no CXX environment variable (no "CXX" appears when I run the shell command "env", and "echo $CXX" returns a blank line. So where's the g++ value coming from. Is this just built into Gnu Make, or is there a configuration file for make somewhere?
I have been trying to change my PATH environment variable to no avail. I am using Jessie i386 with MATE. Using my .bashrc file works but not well because with subshells the modifications get repeated. I want the change to occur on login.
I tried modifying ~/.profile ~/.bash_profile /etc/profile and /etc/environment and one or two others but in no case did my change get picked up even after logging out and in again and even after rebooting. I searched the Internet and found each of the above places to make the change but they don't seem to work with Jessie.
I am happy to say that after almost a week of wandering around the INTERNET and posting desperate questions to our Ubuntu forums on how to set paths etc., I have finally begun to understand just how environment variables and path setting works. I must say, it wasn't all reading this or that, but rather making changes to my paths that helped me to understand. Anyway, if anyone who does not understand environment variables is reading this, then I recommend reading this
HTML Code: http://java.sun.com/docs/books/tutorial/essential/environment/paths.html and this HTML Code: http://www.belugalake.com/java/pathsetting.html
OK- I have 1 last question for my fellow linux users. Lets say I opened up $HOME /.profile and did some editing, and later decided to undo all of my changes but I forgot exactly what changes I made so now I want to set the default in there. How would I accomplish this? How do I set the defaults for any ~/.bashrc or ~/.cshrc type of files that I change.
I use Emacs and there's a bug that highlights everything whenever you use the ver scroll bar with your mouse. (My bad: Only wimps use Emacs in a window.) The workaround is to start Emacs with this on a command line:
Code: $ GDK_NATIVE_WINDOWS=1 emacs where "$" is the shell prompt. Q: how can I put this environment variable in the Emacs lauch icon? Or how/where can I put this in a .bash* file and have it activated (without relogging in)? I've forgotten so much of my Unix cave man skills with Ubuntu. . .
I use Emacs and there's a bug that highlights everything whenever you use the ver scroll bar with your mouse. (My bad: Only wimps use Emacs in a window.) The workaround is to start Emacs with this on a command line:
Code:
$ GDK_NATIVE_WINDOWS=1 emacs
where "$" is the shell prompt. Q: how can I put this environment variable in the Emacs lauch icon? Or how/where can I put this in a .bash* file and have it activated (without relogging in)? I've forgotten so much of my Unix cave man skills with Ubuntu. . .
im quite new to Unix stuff Im in need to add a script to be executed, in to /etc/inittab for that i need to get the path to my java installation. I have set the JAVA_HOME env variable already, my question is whether we can use JAVA_HOME in inittab? i mean, are those env variables are crated by the time inittab starts? if so, how can i add the entry
currently im having is like this pse:5:respawn:su - <username> -c "$JAVA_HOME/other-path/pp.sh run" is there any issue with the syntax?
i ran into a problem while isntalling xine player on fedora 11, i first of all installed its core engine 'xine-lib' successfully with standard prefix! when i run the './configure' for its frontend (xine-ui) it gives this error.
No package 'libxine' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XINE_CFLAGS and XINE_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.