How to run fluent in LINUX
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 |
Re: How to run fluent in LINUX
Try : in the shell window ;
>module load fluent >fluent All the best, Sri. |
Re: How to run fluent in LINUX
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 |
Re: How to run fluent in LINUX
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. |
Re: How to run fluent in LINUX
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 |
Re: How to run fluent in LINUX
BTW, If you want everybody to be able to use fluent, then it's easier to put it in /etc/profile
|
Re: How to run fluent in LINUX
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 |
Re: How to run fluent in LINUX
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 |
Re: How to run fluent in LINUX
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 |
Re: How to run fluent in LINUX
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 |
Re: How to run fluent in LINUX
:-D
ap |
Re: How to run fluent in LINUX
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 |
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. |
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 :-( |
I am afraid to say I gave up on it.
Much appreciate it if someone comes across with a reliable solution. Cheers, Ivan. |
Quote:
|
Solution:
[root@server]# cd /ansys_inc/v130/fluent/bin/ [root@server]# ./fluent That's the proper route, nor the other :D /ansys_inc/v130/fluent/fluent13.0.0 I hope it works for you |
Hi IvanCFD,
Did you solve the problem? The last solution given didn't work for me. Any help would be really appreciated! |
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 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 |
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! |
fluent for linux 64 bit
please put fluent link for linux 64 bit thanks very much
|
[QUOTE=Paola;322945First, 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...[/QUOTE]
On my home computer: Code:
uname -m and it is 64-bit system. I use FLUENT_ARCH=lnamd64 because of FLUENT_ARCH is FLUENT architecture, not architecture of the system! And u use FLUENT_ARCH=lnx86 because you have x86 fluent package. Tuning Ubuntu (64-bit) to run Fluent 6.3.26 link: http://www.cfd-online.com/Forums/flu...64-bit.html#20 |
Oh! That was why I was all mess up at the begining :)
Ok, so is it a Fluent with a lnx86 architecture appropiated for my system 64bit? Thank you, villager! |
:) I think so)
I run Gambit 2.3 x86 with FLUENT_ARCH=lnx86 and Fluent 6.3 with FLUENT_ARCH=lnamd64 on my amd64. I think,if somebody use Intel x64 processors, he must specify FLUENT_ARCH=lnia64. You can run x86 programms in 64-bit system, but you cant't run 64-bit programms in 32-bit system. :) So, when you buying (or downloading) fluent, check its version to be compatible with your computer. |
In addition...
Quote:
|
Quote:
|
Hi There I am using Fluent in Linux and am using .jou file with following commands;
file read-case file name.cas file read-data file name.dat file auto-save data-frequency 0 solve update-physical-time file auto-save data-frequency 100 solve dual-time-iterate 500 50 file write-case end-file name-1.cas file write-data end-file name-1.dat exit yes There is an error in the above mention code because I could save data files at every 100 intervals. Can anyone help me with this? |
All times are GMT -4. The time now is 09:43. |