|
[Sponsors] |
July 31, 2004, 01:38 |
How to run fluent in LINUX
|
#1 |
Guest
Posts: n/a
|
Hi...
I have recently installed fluent in linux. But I am unable to start it. The error message given is: "bash: fluent: command not found" Any help given is greatly appreciated. Thanks Selina |
|
July 31, 2004, 04:00 |
Re: How to run fluent in LINUX
|
#2 |
Guest
Posts: n/a
|
Try : in the shell window ;
>module load fluent >fluent All the best, Sri. |
|
July 31, 2004, 05:45 |
Re: How to run fluent in LINUX
|
#3 |
Guest
Posts: n/a
|
bash uses an "envirnoment variable" called PATH to tell it where to look for programs.
If you type: echo $PATH it will give you a list of directories (seperated by colons) if the list does not include the directory you installed fluent, then you will need to add it, by typing PATH=/opt/pkg/Fluent.inc/bin:$PATH (note this is assuming fluent is installed in /opt/pkg/Fluent.inc/ ) This just works for your current terminal, if you want to make it permenant, you will have to add it to a hidden file called .bashrc Rob |
|
August 2, 2004, 07:32 |
Re: How to run fluent in LINUX
|
#4 |
Guest
Posts: n/a
|
In the fluent installation guide it says you have to alter the .bash_profile (hidden) file by adding the following lines
PATH=/fluent6/Fluent.Inc/bin:$PATH export PATH Assuming fluent is installed in dir /fluent6. That works for me and I am running RedHat 9. |
|
August 5, 2004, 08:24 |
Re: How to run fluent in LINUX
|
#5 |
Guest
Posts: n/a
|
On SuSE Linux 9 and 9.1, you have to add the following lines to the hidden file /home/.bashrc
PATH=<path-to-FLUENT.INC-directory>/Fluent.inc/bin:$PATH export PATH The same settings works for GAMBIT too. This makes settings permanent for the user the .bashrc file belongs to. Hi ap |
|
August 5, 2004, 08:35 |
Re: How to run fluent in LINUX
|
#6 |
Guest
Posts: n/a
|
BTW, If you want everybody to be able to use fluent, then it's easier to put it in /etc/profile
|
|
August 5, 2004, 12:39 |
Re: How to run fluent in LINUX
|
#7 |
Guest
Posts: n/a
|
Yes, but in such a case, it is better to use /etc/profile.local instead of changing /etc/profile because there are chances that the changes to /etc/profile will be lost during system upgrades.
Hi ap |
|
August 5, 2004, 13:15 |
Re: How to run fluent in LINUX
|
#8 |
Guest
Posts: n/a
|
Real linux distributions don't overwrite configuration files. Besides, I imagine if your system makes use of a /etc/profile.local, there's probably (or should be) a comment at the top of /etc/profile telling you to go change that instead!
Rob |
|
August 5, 2004, 13:31 |
Re: How to run fluent in LINUX
|
#9 |
Guest
Posts: n/a
|
Yes, there's the comment of course.
My comment is referred to SuSE Linux, which is what I use (and cited in my previous post) and which uses the /etc/profile.local file. P.S. Real linux distributions? Are there virtual ones? I just know there are usable distributions and unusable ones ;-) Hi ap |
|
August 5, 2004, 14:38 |
Re: How to run fluent in LINUX
|
#10 |
Guest
Posts: n/a
|
lol.
It was just a joke, but maybe quite a cultural one. I know not everybody who reads this is English... sorry For the record, I use debian. Rob |
|
August 5, 2004, 15:52 |
Re: How to run fluent in LINUX
|
#11 |
Guest
Posts: n/a
|
:-D
ap |
|
August 6, 2004, 00:01 |
Re: How to run fluent in LINUX
|
#12 |
Guest
Posts: n/a
|
Hi Rob,Sri,Andrew, ap,
Thanks for all the help and suggestions given. I have managed to get Fluent to work in RHL9. Very grateful. Seriously, you guys are better at providing technical support than FLUENT. Thanks again!!!! Selina |
|
January 25, 2011, 16:36 |
|
#13 |
Member
Ivan
Join Date: Aug 2009
Posts: 63
Rep Power: 17 |
Hi Rob, I reckon you might be of great help to me.
I am newer at using Fluent on Red Hat. I have just installed it but don't manage to make it work. Once I have installed it and am in the folder /home/iroldanb/Fluent.Inc/fluent6.3.26/bin I type fluent 3d and nothing worked, it said: bash: fluent: command not found Then I did this in that very folder: $ FLUENT_ARCH=lnx86 $ export FLUENT_ARCH and when typing again to run fluent I get the same error. Then I did what Andrew suggests above here, in the folder /home/iroldanb/Fluent.Inc/bin I type PATH=/home/iroldanb//Fluent.Inc/bin:$PATH export PATH and back to the executable fluent is, if I type once more fluent 3d the error I get is: Error: directory /home/iroldanb/Fluent.Inc/fluent6.3.26/fluent[0-9]* does not contain a valid arch. Set the environment variable FLUENT_ARCH and try again. I'm sure I'm doing something silly. Any help? Thanks a lot beforehand. Regards, Ivan. Last edited by IvanCFD; January 25, 2011 at 16:38. Reason: corrections |
|
June 16, 2011, 07:37 |
|
#14 |
New Member
Tomas
Join Date: Jun 2011
Posts: 3
Rep Power: 15 |
Hello,
I have a similar problem: [root@server bin]# uname -a Linux server 2.6.18-164.10.1.el5 #1 SMP Wed Dec 30 18:35:28 EST 2009 x86_64 x86_64 x86_64 GNU/Linux [root@server bin]# echo $FLUENT_ARCH lnamd64 [root@server bin]# ./fluent Error: directory /ansys_inc/v130/fluent/fluent13.0.0/fluent[0-9]* does not contain a valid arch. Set the environment variable FLUENT_ARCH and try again. [root@serv fluent13.0.0]# pwd /ansys_inc/v130/fluent/fluent13.0.0 [root@serv fluent13.0.0]# ls addons client cpropep ic3m isat launcher lnamd64 packages src vki bin cortex gtpower info KINetics lib multiport realgas tgrid wave Any solution? I don't know what to do :-( Last edited by Tomasete; June 16, 2011 at 08:25. |
|
June 20, 2011, 06:32 |
|
#15 |
Member
Ivan
Join Date: Aug 2009
Posts: 63
Rep Power: 17 |
I am afraid to say I gave up on it.
Much appreciate it if someone comes across with a reliable solution. Cheers, Ivan. |
|
June 20, 2011, 08:24 |
|
#16 |
New Member
Tomas
Join Date: Jun 2011
Posts: 3
Rep Power: 15 |
||
June 21, 2011, 08:48 |
|
#17 |
New Member
Tomas
Join Date: Jun 2011
Posts: 3
Rep Power: 15 |
Solution:
[root@server]# cd /ansys_inc/v130/fluent/bin/ [root@server]# ./fluent That's the proper route, nor the other /ansys_inc/v130/fluent/fluent13.0.0 I hope it works for you |
|
September 5, 2011, 04:22 |
|
#18 |
New Member
Paola Alpresa Gutiérrez
Join Date: Sep 2011
Posts: 10
Rep Power: 15 |
Hi IvanCFD,
Did you solve the problem? The last solution given didn't work for me. Any help would be really appreciated! |
|
September 5, 2011, 10:59 |
|
#19 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Paola,
You need to first know where you have installed Fluent. If you don't know, open a terminal window and type: Code:
sudo updatedb locate fluent This file bin/fluent is the launcher. The easiest way to launch is by first nothing the path to "bin/fluent", and then typing in the terminal: (substituting your own path for mine) Code:
cd /apps/ansys/13.0/v130/fluent/fluent13.0.0/bin ./fluent |
|
September 5, 2011, 11:17 |
|
#20 |
New Member
Paola Alpresa Gutiérrez
Join Date: Sep 2011
Posts: 10
Rep Power: 15 |
Thank you for the quick answer, stuart, I finally solved the problem!
In case it may help other people: First, my computer has an architecture: x86_64 (you can see it with "uname -m" command). So I had to set the variable FLUENT_ARCH equal to lnx86, the best thing is to add this line to file .bashrc: FLUENT_ARCH=lnx86 export FLUENT_ARCH Second thing was that I have to launch ./fluent from this directory: ../Fluent.Inc/bin/ (instead of this ../Fluent.Inc/fluent6.3.26/bin/). I can also be added to .bashrc: alias fluent='(personal_path)/Fluent.Inc/bin/fluent' I'm really glad I found this forum. Best! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
parallel fluent setting in linux | m2montazari | FLUENT | 3 | October 10, 2011 17:42 |
FLUENT in Windows Serial and Linux Parallel | sham83 | FLUENT | 0 | June 1, 2011 00:38 |
Dual Boot Windows and Linux and Go Open Source | andyj | Main CFD Forum | 2 | October 21, 2010 17:49 |
Fluent for linux | Patryk | FLUENT | 0 | July 20, 2009 20:04 |
Fluent Remote Simulation Facility Service (RSF) di | Rami | FLUENT | 2 | June 4, 2008 06:38 |