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

Help: Installing Fluent/Gambit in Mandrake Linux

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 15, 2005, 16:25
Default Help: Installing Fluent/Gambit in Mandrake Linux
  #1
ken
Guest
 
Posts: n/a
hi, i'm new to linux so this question can sound a little silly.

Following the instructions provided by fluent inc, i type ./fluent_install when i'm in the cdrom directory.

The returned msg was: bash: ./fluent_install: /bin/sh: bad interpreter: Permission denied

What should i do?
  Reply With Quote

Old   April 15, 2005, 16:31
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #2
pUl|
Guest
 
Posts: n/a
A quick search on google revealed this:

"That error typically comes when trying to execute on non Linux filesystems. Don't waste time and try executing on FAT partitions for example. Always use *NIX filesystems like ext2/3, reiserfs, xfs."

But guess what, Try:

sh ./fluent_install

[root@HOSTNAME pwd]#sh ./fluent_install
  Reply With Quote

Old   April 15, 2005, 16:36
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #3
pUl|
Guest
 
Posts: n/a
And ensure that you're 'root' user before running the script if you want to install fluent in the default /usr/local/Fluent.Inc directory.
  Reply With Quote

Old   April 15, 2005, 16:47
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #4
ken
Guest
 
Posts: n/a
Even though i am the only user, and presumably the root user, i still got the "you do not have write permission" msg. What's next?
  Reply With Quote

Old   April 15, 2005, 18:05
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #5
pUl|
Guest
 
Posts: n/a
Usually the only user is never the root user. But if you are the first thing to do is to create a normal user and use it from now on. Which partition are you trying to install it to and who mounted that partition?

Can you exactly cut and paste the error message?
  Reply With Quote

Old   April 15, 2005, 19:15
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #6
ken
Guest
 
Posts: n/a
hmm.. it should be the linux partition. Mount? Isn't it automatically mounted? Here's the msg from terminal:

This installation will create a directory called Fluent.Inc/ which will contain all the files needed for this software.

Installation directory for Fluent.Inc/: /usr/local Error: You do not have write permission in /usr/local.
  Reply With Quote

Old   April 15, 2005, 19:56
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #7
pUl|
Guest
 
Posts: n/a
There you go. You're not allowed to write to /usr/local. Get hold of the Administrator (root) and ask him to do the installation.
  Reply With Quote

Old   April 15, 2005, 19:58
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #8
pUl|
Guest
 
Posts: n/a
Did not mean to sound like a Male Chauvinist :P So get hold of him/her and then install.
  Reply With Quote

Old   April 15, 2005, 21:36
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #9
ken
Guest
 
Posts: n/a
what the ... how do I get the Admin!? I am the Admin. I just installed linux and I'm the only user in this entire basement where I'm working. And nobody uses linux except me! its drivin me nuts...
  Reply With Quote

Old   April 15, 2005, 21:38
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #10
pUl|
Guest
 
Posts: n/a
Goodie, then you do know the root password. Issue an 'su' command at a terminal, it should ask you to enter the root password. Once you're in your prompt usually turns from a '$' to '#'. Now, you can issue sh ./fluent_install and carry on. If you still face problems, do let me know.
  Reply With Quote

Old   April 15, 2005, 22:55
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #11
ken
Guest
 
Posts: n/a
yep. it works! But thats not the end of the install process.... I need to add path/fluent.inc/bin in the C shell. Is this "C" shell the terminal program (Shell-Konsole)?

How can I add this to the $home/.cshrc?

*I have not the slightest idea what those unix terms mean*
  Reply With Quote

Old   April 15, 2005, 23:32
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #12
Harish
Guest
 
Posts: n/a
i do not know what text editor you use in *nix. The sequence is as follows . Do it from ur account rather than root account

$ emacs .cshrc

the file will open in the end of the file add these two lines

PATH=$PATH:/fluent.inc/bin export PATH

Make sure to type the exact path name. Once done close and restart ur shell.

-H
  Reply With Quote

Old   April 15, 2005, 23:52
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #13
ken
Guest
 
Posts: n/a
yep. I followed your instructions. Thanks. How do I check its working?

The license file is installed in another computer. Do I need to install flexlm? I did that anyway...

And then I did this: setenv LM_LICENSE_FILE something@somthing

but the setenv command is not found. Any suggestions?

  Reply With Quote

Old   April 16, 2005, 11:22
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #14
pUl|
Guest
 
Posts: n/a
No offense, but hey relax a bit will ya. This isn't your Windows world. Take it slowly. Instructions on how to install fluent are provided in the User-Sevices center. You might want to go through them slowly and note down any steps that you do not think you are comfortable with. Then raise those issues here before installing. This is the biggest mistake with most n00bs. They think everything is best done by point and click and bingo before you know it you've done something irreversible. So go through those instructions and check. I see you mentioned that the license file/server already exists on another server. If you exactly describe how things are setup in your netowork, then perhaps you need not even install fluent on your machine (assuming that a copy is installed elsewhere on the network). All you might need to do is export an NFS filesystem from the other machine and mount it locally for use. This way, you can use the license off the other machine and run it locally on your processor. If you want us to help you out, please take it slowly.

Hope this helps.

Best Regards,

pUl|
  Reply With Quote

Old   April 16, 2005, 12:14
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #15
samir
Guest
 
Posts: n/a
One more thing;

When u're done with installing fluent, make sure you remind your admin to get you give u SUDO power so u dont have to call him everytime. (Linux is certainly not user friendly, but its got its own advantages). And I hope your not using a 64 bit processor coz most softwares have a different version for such 64 bit. I did go throught it and at the end I think I will stick to Linux. Have a good time.
  Reply With Quote

Old   April 16, 2005, 14:36
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #16
ken
Guest
 
Posts: n/a
no problem. Its my first foray into linux and I must say the instructions don't cater to first time users. I do not understand what those steps means and just blindly typed in the commands. Not a good way to learn things, yes, but I need to get Fluent up to meet some project deadlines...and linux can come later. Thanks to everyone who responded for your patience.

In our network, only the license is stored in the server, all other copies of Fluent are installed locally and can't be accesed. (Previouly I was using Fluent off a server on another network via X windows)
  Reply With Quote

Old   April 16, 2005, 19:11
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #17
pUl|
Guest
 
Posts: n/a
Well, depending on how good your rapport is with the server admin, if you can get him to export just that directory (/usr/local/Fluent.Inc/) using NFS (expanded: Network File System), you can then mount it locally on your machine and start using Fluent (using YOUR CPU resources, NOT the servers'). When you use an X emulator such as Hummingbird Exceed for XWin32 or CygWin etc. etc. then you are actually running Fluent off the host machine using its resources.

Please note that you cannot simply INSTALL fluent or gambit onto a local machine without having a license for that machine. Although license files are independant of OS IIRC, every license file is specific to a particular Network Hostname and the physical hardware address of your ethernet card. Without a license file tuned to your system there is no way you are installing it locally and getting it to run (unless of course you are working with an cracked copy)

Hope this helps
  Reply With Quote

Old   April 17, 2005, 09:04
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #18
ap
Guest
 
Posts: n/a
Just two consideration. If you're the only user of FLUENT on that machine, you don't need to be root at all to install it.

FLUENT runs perfectly if you install it, for example, in a subdirectory of your home, like

/home/user_name/bin/Fluent.Inc

If you follow these steps, you have to change the .bashcrc file in your home directory. It's an hidden file, so you have to show them first.

If you use KDE, just choose the proper function from the View menu of konqueror. If you use GNOME, choose View->Preferences and check the option which allows you to see hidden files.

Open your .bashrc file and add the path to your FLUENT installation, as said in the file /Fluent.Inc/bin/Read.Me

The licence problem stay the same.

Best regards,

ap

  Reply With Quote

Old   April 17, 2005, 19:02
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #19
pUl|
Guest
 
Posts: n/a
ap has a point, however I would not recommend this method. Primarily because, it is very easy to mess up with Fluent's files as they now have write perimissions open on them by the user. Especially for a person new to Linux, this can prove to become a problem later on. It is best recommended that Fluent be installed to a directory owned and grouped by root.
  Reply With Quote

Old   April 18, 2005, 17:43
Default Re: Help: Installing Fluent/Gambit in Mandrake Lin
  #20
ap
Guest
 
Posts: n/a
It's exactly the same situation the user has under Windows. If you don't touch the Fluent.Inc directory, there's no problem. However you can always set permissions to this directory to be readonly with the command:

chmod -R 555 /home/user_name/Fluent.Inc

but I don't see the problem if you're the only user of FLUENT.

Best regards, ap
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LINUX Experts: Help with installing ANSYS workbench faisal_durr ANSYS 1 May 30, 2014 09:07
Dual Boot Windows and Linux and Go Open Source andyj Main CFD Forum 2 October 21, 2010 17:49
My experience Installing Elmer (Open Source Multi physics programme) on Linux Ahmed Main CFD Forum 3 August 10, 2010 14:42
Mandrake Linux and Fluent... easycad FLUENT 1 February 15, 2005 11:09
Fluent on Mandrake Linux Shaoping Shi FLUENT 1 August 24, 2002 08:53


All times are GMT -4. The time now is 00:27.