|
[Sponsors] |
August 25, 2009, 06:23 |
Running fluent in UNIX
|
#1 |
Member
Jorge Muņoz
Join Date: Apr 2009
Posts: 56
Rep Power: 17 |
Hi everybody!
I have a problem and I'd be very grateful if someone could help me... I'm working with UNIX and I want to run FLUENT. According to what I found, if u write fluent 3d is enough to start a 3d-fluent session, something very easy. However I cannot. Whenever i write it it gives me a message on fluent telling me it wasnt possible to connect any license. However, when i write just fluent and then in the launch window i select 3d version it works, so it means there isnt any problem related with number of licenses and so on. I'm wondering if there is something i should have activated to open fluent by the command fluent 3d cause... I called the FLUENT technical support and they told me something about environmental variables... Do you have any idea?? Please, i really need help cause i dont know what else to do... thanks in advance, Jorge. |
|
August 25, 2009, 06:40 |
|
#2 |
Member
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 17 |
if possible tell me what your supporter has told you, you should write a line, which probably the supporter has told you, in your .bashrc file.
|
|
August 25, 2009, 06:47 |
|
#3 |
Member
Jorge Muņoz
Join Date: Apr 2009
Posts: 56
Rep Power: 17 |
Hi!
Sorry but i cannot understand u...what do u mean? If u want i can put what the supporter told me in the mail, but it's in spanish...he told me to check if the following environmental variables were activated name : FLUENTLM_LICENSE_FILE y value: 7241@nameofserver · name:ANSYSLMD_LICENSE_FILE y value : 1055@nameofserver · name:ANSYSLI_SERVERS y value : 2325@nameofserver He told me as well to see if there is any variable named LM_LICENSE_FILE. In this case i should delete it. The point is that i dont know how to check them and delete/modify them... can u help me? Si |
|
August 25, 2009, 07:00 |
|
#4 |
Member
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 17 |
dear Jorge
I have worked with linux cores, I am not sure whether these commands are the same in linux and unix or no, but at least you have the chance to try it, in your command line write -cd -gedit .bashrc This way you will open your .bashrc file. This file is where you should write your environmental variables and save it. Then by rebooting your computer your problem may vanish. e.g. In linux we write the following line in .bashrc to assign the variable, ANSYSLMD_LICENSE_FILE, with its value: $ANSYSLMD_LICENSE_FILE=1055@nameofserver MOHSEN |
|
August 25, 2009, 07:05 |
|
#5 |
Member
Jorge Muņoz
Join Date: Apr 2009
Posts: 56
Rep Power: 17 |
Hi!
First, sorry but i think it's Linux and not UNIX what i'm working with (Red Hat), so it's good. Then i tried what u told me, writing in the bashrc file and I could, but what about deleting the other variable? how could i do that?? |
|
August 25, 2009, 07:11 |
|
#6 |
Member
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 17 |
all variables should exist in your .bashrc file. if there isn't any that means that such variable doesn't exist.
if you have defined variables correctly, when you write the following line in the command line its value should be shown. -$(the name of the variable with upper case) |
|
August 25, 2009, 07:17 |
|
#7 |
Member
Jorge Muņoz
Join Date: Apr 2009
Posts: 56
Rep Power: 17 |
Hi!
I included here what is written in the bashrc file. As u can see there is nothing but what i've just written. about checking the value fo the new variables i tipped "echo $VARIABLE" and it worked. # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions $FLUENTLM_LICENSE_FILE=7241@stokes.enerflu.upm.es $ANSYSLMD_LICENSE_FILE=1055@stokes.enerflu.upm.es $ANSYSLI_SERVERS=2325@stokes.enerflu.upm.es Is there any way to see if the other one (LM_LICENSE_FILE) exists? And another thing. My desire is to be able to open fluent in unix by writing the command fluent 3d as it should be, but it doesnt work. What is the solution?? Because maybe this isnt the solution and we're spending time on other topic...Sorry but i'm quite new with linux/unix world and this is why i'm asking all this stuff... thanks a lot for ur help Mohsen. |
|
August 25, 2009, 07:37 |
|
#8 |
Member
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 17 |
the thing i know is that the variable is not defined when it is not in your .bashrc file. you'd better send me the complete error you get when you try running fluent. i'll work on that and next time i log on i'll let you know if i got any result.
A BIENTOT |
|
August 25, 2009, 07:47 |
|
#9 |
Member
Jorge Muņoz
Join Date: Apr 2009
Posts: 56
Rep Power: 17 |
HI Moshen,
Thanks a lot for ur help. Please, find attached the scans where u can see the error. The first one is related to what i write, as i told, just the command "fluent 3d". Then, in the second one u can see the error FLUENT gives. I also include the FLUENT variables obtained when u write "fluent 3d -env". http://i723.photobucket.com/albums/w...munoz/unix.jpg http://i723.photobucket.com/albums/w...oz/fluent1.jpg http://i723.photobucket.com/albums/w...oz/Dibujo1.jpg http://i723.photobucket.com/albums/w...oz/Dibujo2.jpg Any help is welcome, so i'll wait for ur advice, Jorge. |
|
August 26, 2009, 05:15 |
|
#10 |
Member
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 17 |
hi
the only thing i could find for you is try running fluent by writting the following command in your command line: -fluent -x11 A BIENTOT |
|
August 26, 2009, 05:59 |
|
#11 |
Member
Jorge Muņoz
Join Date: Apr 2009
Posts: 56
Rep Power: 17 |
Hi Moshen!
What u've just proposed is what i wanted to avoid. I mean, typping -x11 opens a launch window where u define the session u want to work with. What I wanted was to write the command in the shell in order to not work with the interface. However, dont worry anymore. The problem is solved. I managed it and now it works perfectly. Thanks a lot for ur help and attention. Regards, Jorge. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel speedup Fluent Gigabit Ethernet Myrinet etc | tehache | OpenFOAM Installation | 5 | September 7, 2009 06:51 |
[Commercial meshers] Problem in running mesh imported from fluent to foam | vishal | OpenFOAM Meshing & Mesh Conversion | 2 | February 6, 2009 11:05 |
Running Fluent on an SGI Altix machine | Jonathan Vogt | FLUENT | 1 | March 19, 2008 02:35 |
Running Fluent on Red Hat Linux WS version 4 | Bob | FLUENT | 1 | September 4, 2005 06:01 |
FLUENT 5.2.3 running on PIII 733 | Burley Wang | FLUENT | 7 | April 19, 2000 07:03 |