CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

Running fluent in UNIX

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 25, 2009, 05:23
Default Running fluent in UNIX
  #1
Member
 
Jorge Muņoz
Join Date: Apr 2009
Posts: 53
Rep Power: 8
L3munoz is on a distinguished road
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.
L3munoz is offline   Reply With Quote

Old   August 25, 2009, 05:40
Default
  #2
Member
 
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 7
mohsen zendehbad is on a distinguished road
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.
mohsen zendehbad is offline   Reply With Quote

Old   August 25, 2009, 05:47
Default
  #3
Member
 
Jorge Muņoz
Join Date: Apr 2009
Posts: 53
Rep Power: 8
L3munoz is on a distinguished road
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
L3munoz is offline   Reply With Quote

Old   August 25, 2009, 06:00
Default
  #4
Member
 
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 7
mohsen zendehbad is on a distinguished road
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
mohsen zendehbad is offline   Reply With Quote

Old   August 25, 2009, 06:05
Default
  #5
Member
 
Jorge Muņoz
Join Date: Apr 2009
Posts: 53
Rep Power: 8
L3munoz is on a distinguished road
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??
L3munoz is offline   Reply With Quote

Old   August 25, 2009, 06:11
Default
  #6
Member
 
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 7
mohsen zendehbad is on a distinguished road
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)
mohsen zendehbad is offline   Reply With Quote

Old   August 25, 2009, 06:17
Default
  #7
Member
 
Jorge Muņoz
Join Date: Apr 2009
Posts: 53
Rep Power: 8
L3munoz is on a distinguished road
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.
L3munoz is offline   Reply With Quote

Old   August 25, 2009, 06:37
Default
  #8
Member
 
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 7
mohsen zendehbad is on a distinguished road
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
mohsen zendehbad is offline   Reply With Quote

Old   August 25, 2009, 06:47
Default
  #9
Member
 
Jorge Muņoz
Join Date: Apr 2009
Posts: 53
Rep Power: 8
L3munoz is on a distinguished road
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.
L3munoz is offline   Reply With Quote

Old   August 26, 2009, 04:15
Default
  #10
Member
 
MOHSEN Zendehbad
Join Date: Aug 2009
Posts: 35
Rep Power: 7
mohsen zendehbad is on a distinguished road
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
mohsen zendehbad is offline   Reply With Quote

Old   August 26, 2009, 04:59
Default
  #11
Member
 
Jorge Muņoz
Join Date: Apr 2009
Posts: 53
Rep Power: 8
L3munoz is on a distinguished road
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.
L3munoz is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel speedup Fluent Gigabit Ethernet Myrinet etc tehache OpenFOAM Installation 5 September 7, 2009 05:51
Problem in running mesh imported from fluent to foam vishal OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 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 05:01
FLUENT 5.2.3 running on PIII 733 Burley Wang FLUENT 7 April 19, 2000 06:03


All times are GMT -4. The time now is 23:25.