Ubuntu :: Adding Ifort To Path At Startup?

Feb 17, 2010

I just downloaded intel's fortran compiler, ifort. However, I seem to have to add it to path for every single terminal I open using:

Code:
source <install-dir>/bin/ifortvars.sh <arg>

I immediately think that there should be a way of doing this automatically at startup. However, this isnt just pointing to where ifort is, but running a shell script, which evidently only affects a single terminal session.

View 5 Replies


ADVERTISEMENT

Fedora :: Add Path In .bashrc By Commenting Out Old Path And Adding New One - Command Source ~/bashrc

Jun 14, 2011

When I add some path in .bashrc by commenting out old path and adding new one like this:

#EXPORT HOME_PLAY=/home/gem/old_play
EXPORT HOME_PLAY=/home/gem/play
EXPORT PATH=$PATH:HOME_PLAY

After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.

View 10 Replies View Related

Ubuntu :: Adding A Location To PATH?

Aug 27, 2010

Quote:

Select a starter package from the table at the top of this page and download it to your development computer. To install the SDK, simply unpack the starter package to a safe location and then add the location to your PATH.How do I add a location to PATH?

View 1 Replies View Related

Programming :: Adding Directory To The Path?

Apr 2, 2009

I have made the installation of Qt4 in my Fedora/MacBookPro. It also got a first compiling and running a simple program. The point is that for the compiler to run I need to point out every time where the bin is located, as that:

$ /home/threader/kinetic/bin/qmake -project

I have tried the following, but it still doesn't work:

# script
#-----------------------------------------------------------#
# /etc/bashrc or /home/threader/.bash_profile
# config to Qt compiler

[code]....

View 5 Replies View Related

Ubuntu :: MATLAB Installation - Adding Directory To $PATH

May 27, 2010

I've followed the guide here for installing MATLAB. The installation completed successfully, however, the launcher created doesn't launch MATLAB as MATLAB isn't installed anywhere pointed to by $PATH. What's the best way of solving this - adding MATLAB's directory to $PATH (in which case how do I go about doing so), or (re)installing MATLAB to somewhere already in $PATH?

View 2 Replies View Related

General :: Potential - With Adding /usr/local/[s]bin To Root's Path?

Mar 2, 2011

I've noticed that the root account $PATH does not include /usr/local/bin or /usr/local/sbin by default. Are there any potential issues that could arise from adding those directories to the path? If so, what is the best way to make sure your shell finds executables in those directories, without affecting the stability and security of the system?

View 2 Replies View Related

Red Hat / Fedora :: Permanently Adding File Location To User Path?

Aug 20, 2010

I have added the smbd file location to the path of root. I can now execute it from any location. I noticed after reboot of the machine (RHEL 5) that this file location is no longer in the path. How do I make this permanent?

View 1 Replies View Related

Software :: Adding Sth - To All Users PATH Variable - Sudo Included

Aug 3, 2010

I've installed rubygems on ubuntu, but it has a known issue that the rubygems' bin/ directory is not in the PATH. I know about exporting the PATH variable, and adding it to .bashrc, but I'd like to configure it so that every user has it on his PATH, even if he tries to run it with sudo. Where should I export the PATH variable then?

View 2 Replies View Related

Ubuntu :: PATH Variable Set At Startup?

Jul 29, 2011

I need to set PATH environment variables so they will be set every tie I startup ubuntu. Is there a startup script that will do this, and where is it located?

View 2 Replies View Related

Ubuntu :: Installed A Program But Can't Find Its Path For Startup Manager?

Nov 15, 2010

I installed a new program called the "Android Notifier Desktop 0.2.1" and within the program it say to use the systems startup manager to start the program with every system boot.I have no idea where to begin looking for the programs file and main start up link.

View 9 Replies View Related

Security :: What Files Does PATH Variable Get Set During Startup

Jan 25, 2010

Looking to add lines to these files that echos date/time pwd and who am I to a log file so I can see if they ever get altered.

View 4 Replies View Related

Debian :: Adding A Startup Sound To Squeeze?

May 14, 2011

I wanted to customize my debian a little bit by adding a startup sound but I can't figure out how.

I'm using Gnome and Debian 6 Squeeze

View 6 Replies View Related

Ubuntu :: XFCE - Configuring Startup Apps / Adding Custom Keyboard

Jun 20, 2011

I am new to XFCE and I'd like to ask few question about usage:
1. How can I disable dragging windows through workspaces? I like them to stay at one.
2. How do you configure startup applications?
3. Why XFCE menu doesn't show some of my custom icons? (png, tried more than one, for custom launcher - eclipse)
4. How do I add custom keyboard? (ALT+SHIFT switching)
5. I restarted laptop and all my applications re-opened after restart. I do not want that. How to disable this?

View 9 Replies View Related

General :: How To Run A Program Containing Lapack Subroutines Using Ifort Compiler

Dec 6, 2010

How to run a program containing lapack subroutines using ifort compiler?

View 1 Replies View Related

General :: Make: Ifort: Command Not Found ERROR 127

Feb 26, 2010

I am completely new to linux and am trying to run a Fortran program for class. I typed in "make C=R" and it ran through a long list of things and then came up with that error.

View 1 Replies View Related

Fedora :: Adding Server Startup Script To Service Commands?

Sep 7, 2011

I just installed tomcat server in linux and for shutdown and startup, i have to run the script inside $tomcat/bin folder (startup.sh and shutdown.sh) manually.

I want to add tomcat as service and i want to execute as service commands like /sbin/service tomcat start/stop.

View 7 Replies View Related

General :: Adding Cairo-Dock To The List Of Startup Applications?

Dec 14, 2010

I'm running Ubuntu maverick meercat 10.10. I don't think it's very necessary to mention my hardware to get an answer to this question.I found out about the Cairo-Dock and fell in love with it. It annoys the hell out of me to have to start it every time I boot. I navigate to- System> Preferences> Startup ApplicationsUnder the startup programs tab I click on add... Now what??? Put the name as Cairo... what about the command. I don't know what file to navigate to.

View 3 Replies View Related

General :: Difference Between PATH=$PATH:$1 & PATH=$1:$PATH?

Jan 16, 2011

I found the following function in /etc/profile file.

[Code]...

1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??

2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH

View 14 Replies View Related

Ubuntu :: After Adding 'killall Gnome-panel' To The Startup Applications Does The Panel Fail To Load Altogether

Dec 4, 2010

Regarding the gnome-panel in Ubuntu (64 bit).... I discovered some time ago that I wasn't the only one who routinely (every login) had their gnome-panel appear butchered, for which Alt-F2 then 'killall gnome-panel' would easily fix.

Having become impatient with this over the past 8 months, I decided I would automate the process and so cofiguring the startup applications seemed like a perfectly logical choice to me. Turns out I was wrong. After adding 'killall gnome-panel' to the startup applications not only does the panel fail to load altogether now, but Alt-F2 doesn't even work.

I tried Ctl-Alt-F1 and working with the graphics-free mode thinking I could somehow navigate to the startup apps config file and edit it, but I don't know where it is or how to edit it without logging in as root and I certainly don't know of any 'root password'.

View 9 Replies View Related

OpenSUSE Install :: Get The Message That "ifort" Is Not A Known Command?

Jul 26, 2011

I have just upgraded to 11.4 in two steps from 11.2, and it works,except for two problems.

1. I have Intel Fortran installed, but now when I try to compile, I get the message that "ifort" is not a known command. It is present in the man files and I checked that the folder fortvars.sh is present in the directory that the login file .bashrc points to. What might have happened, and what can I do to restore "ifort" without reinstalling Fortran?

2. When I type a text now, the system stops regularly accepting what I type, and I have to click on the place where I am typing in order to continue. This happens aboput once or twice in a given line. What causes this?

View 1 Replies View Related

General :: Move A File To Some Path And Create That Path When It Doesn't Exist?

Oct 8, 2010

I use this command:

Code:

find ./ -atime +360

to figure out the files that haven't been accessed since 360 days. The command above will return results like this:

Code:

/uploads/2010/02/some-file-name.ext
/uploads/2009/08/another-file-name.ext
... etc

I'm taking here about tins of directories, thousands of files. I'm looking to find a command that makes me able to move the results above to another path, and to create that path once it doesn't exist like below:

Code:

mv /uploads/2010/02/some-file-name.ext /old-files/uploads/2010/02/some-file-name.ext

But I want the executed command to create this path

Code:

/old-files/uploads/2010/02/

If it doesn't exist.

View 6 Replies View Related

Programming :: Java Applet Not Loading Image With Relative Path But With Absolute Path / Resolve It?

Jul 17, 2009

Java applet not loading image with relative path(e.g. images/1.jpg) but loads image with absolute path(i.e. from /root/user/images/1.jpg) . This is a problem when i want to host the applet on web server

View 2 Replies View Related

General :: Forcing An Absolute Path Where A Relative Path Is Expected

Feb 21, 2011

I have a program that takes a relative path as input appends it to a some path string to get the actual path.

Now all I can input is the relative path. So if I want to go one level above my input will be ../mypath.

If I know the depth of the path used internally, I can use .. as many times to go to the root directory and then give the absolute path. But suppose I do not know the depth of the directory, can I construct a relative path string such that it considers it as a relative path. One way could be to have enough .. in the path string so that I can force an absolute path for some maximum depth of path.

Is there some path string syntax that I am not aware of but can achieve this?

View 2 Replies View Related

General :: Deleted Path Variable - How To Return To The Original Path Value

Apr 26, 2011

Experimenting with shell variables, accidentally deleted the path variable how could I return to the original path value. What kinds of problems will I have if I don't have a path variable.

View 3 Replies View Related

Red Hat / Fedora :: Appending A Path To PATH Variable Permanently?

Oct 21, 2010

how to add a path to PATH variable permanently so that it remains persisent even after closing shell and rebooting the system when i added a path, to variable it remained there as long as i didn't closed the shell. but when i reopened it ,changed were undone.

View 2 Replies View Related

General :: Change Windows Path To Unix Path?

Sep 14, 2009

I have a path c:windowsackup I need this string to be changed into /windows/back/up I used the command -bash-3.00$ echo windackup | sed 's/\//g' but the output is windbackup

View 7 Replies View Related

General :: Change Absolute Path To Relative Path?

May 31, 2011

Current script:-

prefix=user@my-server:
find . -depth -type d -name .git -printf '%h�' | while read -d "" path ; do (
cd "$path" || exit $?

[code]....

How shall i go about changing the absolute path to relative path, so that /home/git/mirror/android/adb/ndk.git gets converted to /mirror/android/adb/ndk.git //echo <command> "$prefix$PWD.git" ?? - anything for relative path?

View 7 Replies View Related

SUSE / Novell :: Add Path To $PATH Variable?

Apr 19, 2009

I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts.

View 2 Replies View Related

Programming :: Can I Get Absolute Path Without Giving A "path" But Inode Number By C

Aug 13, 2010

Does anyone know how to get the path with a inode number by C programming?
Or can I get the absolute path without giving a "path" but a inode number by C?

like this: get_path(unsigned inode);
not such this function: getcwd(".", xxx);
taowuwen@gmail.com

View 7 Replies View Related

Fedora :: 12 And VMTools - The Path "" Is Not Valid Path To The Gcc Binary

Mar 23, 2010

running Windows 7 64bit with VMware Workstation 7.01-build 227600. I have some knowledge of Linux, I have installed f12 and have updated the system as of 03/22/2010. All updates completed successfully.

1) How do I install VMTools on the f12 (after mounting the CD/DVD tool package)

2) How do I update the gcc files it says are dependencies?

Here's what I get on installation:Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel

and then I am prompted for this input from the install script:

Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]

and this is where I get stuck. How do I get around this or satisfy the requirements for the install?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved