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

help wanted to Install OpenFOAM 11 on SunOS version 59

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2005, 10:55
Default I try to install OpenFOAM 1.1
  #1
New Member
 
Guodong Jin
Join Date: Mar 2009
Location: Berlin, Berlin, Germany
Posts: 2
Rep Power: 0
gd_jin is on a distinguished road
I try to install OpenFOAM 1.1 on SunOS version 5.9:

Checking basic setup...
-------------------------------------------------------------------------------
Shell: tcsh
Host: rdhsun
OS: SunOS version 5.9
User: guodong
User_config: /home/guodong/.cshrc
Foam_config: /home/guodong/.OpenFOAM-1.1/cshrc sourced correctly.
-------------------------------------------------------------------------------



it does not work yet. The installation testing errors always appear as follows:


Software versions
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
gcc 3.4.2
WARNING: Conflicting installations:
foam settings: /bin/gcc
current path : /usr/local/bin/gcc
CRITICAL ERROR

java 1.4.2_05 /home/guodong/OpenFOAM/solaris/j2re1.4.2_05/bin/java
gzip 1.3 /usr/bin/gzip
gtar *** not installed ***

icoFoam *** not installed ***
CRITICAL ERROR

-------------------------------------------------------------------------------

Anyone who has installed it on the same operation system sucessfully, please give me some helps in detail, thank you very much.
gd_jin is offline   Reply With Quote

Old   April 7, 2005, 11:21
Default Have you altered the foam vari
  #2
jasonb
Guest
 
Posts: n/a
Have you altered the foam variables for the location of gcc? It is looking in /bin, but on your system it appears to be located in /usr/local/bin.

Also, you don't have gtar installed, which I think is required to untar the OpenFOAM source.

I have built OpenFOAM for Solaris 5.8. Don't know if this will work on 5.9. You can download the binaries for 5.8 from the download site.

Jason
  Reply With Quote

Old   April 7, 2005, 11:55
Default hello, Jason. Thank you ver
  #3
New Member
 
Guodong Jin
Join Date: Mar 2009
Location: Berlin, Berlin, Germany
Posts: 2
Rep Power: 0
gd_jin is on a distinguished road
hello, Jason.

Thank you very much for your help but I am sorry that I am new to unix operation system. would you please
tell me:

1) how to change the foam variables for the location of gcc to make the paths consistent;

2) how to untar the OpenFOAM source because I just decompressed each the downloaded
files according to the homepage of OpenFOAM using the command like this : tar xzf filename.

Look forward to your further help.

Best regards

Guodong Jin
gd_jin is offline   Reply With Quote

Old   April 8, 2005, 04:56
Default Hi, 1. You can do one of t
  #4
jasonb
Guest
 
Posts: n/a
Hi,

1. You can do one of two things here. The default and easiest thing to do is to install the current version of gcc in ~/OpenFOAM/solaris/gcc-3.4.3. gcc-3.4.3 for SunOS 5.8 can be downloaded from the website. Again, I don't know if this will work for SunOS 5.9. You can probably download gcc-3.4.3 for SunOS 5.9 from the gcc website.

However, if your system already has a fairly recent version of gcc you can use that. I think you do this by setting the variables WM_COMPILER_BIN and WM_COMPILER_LIB in ~/OpenFOAM/OpenFOAM-1.1/.bashrc Somebody correct me if I'm wrong here.

2. You have the syntax correct. The problem here as I understand it is that some system tar commands have a filename length restriction which some of the OpenFOAM files exceed. So you have to use gtar (GNU tar) to get around this problem. Type tar --version on the command line. If it comes back saying it is GNU tar you are OK. If not, you are probably using the system tar and will have to obtain GNU tar for your system.

Hope this helps.

Jason
  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
How to install OpenFoam in Windows XP robert_dekker OpenFOAM Installation 4 October 20, 2010 21:15
Iinstalling Openfoam on SunOS 58 mike OpenFOAM Installation 4 April 16, 2010 08:20
install the openfoam aya CFX 4 July 23, 2008 07:58
How to run Openfoam in a cluster after I install it xiuying OpenFOAM Installation 5 May 5, 2008 12:54
Install development version on Ubuntu hsieh OpenFOAM Installation 9 December 31, 2007 08:18


All times are GMT -4. The time now is 03:19.