|
[Sponsors] |
July 22, 2006, 14:47 |
Hi all,
I have access to tw
|
#1 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Hi all,
I have access to two IBM AIX machines (each is a 4 processor, 2 GB RAM per processor). They run AIX 5.1. I want to try and install OpenFOAM starting with small steps (i.e. first build the essentials and just icoFoam), before moving on to building all solvers. Also FoamX/Paraview are not of utmost importance during this phase. I can build them later if necessary. The objective is to merely get icoFOAM running in serial mode (and later in parallel so that can use all 4 CPUs). I don't want to get into the gcc compiling business, so I've just installed a pre-compiled gcc 4.0.0 binary from the AIX toolbox for linux applications at IBM's webpage. The following is a list of GNU (mostly) utils I've installed: autoconf-2.59-1.aix5.1.noarch.rpm libstdcplusplus-4.0.0-1.aix5.1.ppc.rpm automake-1.8.5-1.aix5.1.noarch.rpm libstdcplusplus-devel-4.0.0-1.aix5.1.ppc.rpm bash-3.0-1.aix5.1.ppc.rpm libtool-1.5.8-1.aix5.1.ppc.rpm bc-1.06-2.aix4.3.ppc.rpm lsof-4.61-3.aix5.1.ppc.rpm binutils-2.14-3.aix5.1.ppc.rpm lynx-2.8.4-2.aix5.1.ppc.rpm bison-1.875-3.aix5.1.ppc.rpm m4-1.4.1-1.aix5.1.ppc.rpm bzip2-1.0.2-3.aix5.1.ppc.rpm make-3.80-1.aix5.1.ppc.rpm coreutils-5.2.1-2.aix5.1.ppc.rpm patch-2.5.4-4.aix4.3.ppc.rpm dejagnu-1.4.2-1.aix4.3.ppc.rpm pkgconfig-0.15.0-1.aix4.3.ppc.rpm diffutils-2.8.1-1.aix4.3.ppc.rpm popt-1.7-1.aix4.3.ppc.rpm findutils-4.1-3.aix4.3.ppc.rpm python-2.3.4-2.aix5.1.ppc.rpm flex-2.5.4a-6.aix4.3.ppc.rpm readline-4.3-2.aix5.1.ppc.rpm gawk-3.1.3-1.aix5.1.ppc.rpm readline-devel-4.3-2.aix5.1.ppc.rpm gcc-4.0.0-1.aix5.1.ppc.rpm gcc-cplusplus-4.0.0-1.aix5.1.ppc.rpm tar-1.14-1.aix5.1.ppc.rpm gdb-6.0-1.aix5.1.ppc.rpm vnc-3.3.3r2-4.aix5.1.ppc.rpm git-4.3.20-4.aix5.1.ppc.rpm wget-1.9.1-1.aix5.1.ppc.rpm grep-2.5.1-1.aix4.3.ppc.rpm gzip-1.2.4a-7.aix4.3.ppc.rpm which-2.14-1.aix5.1.ppc.rpm less-382-1.aix5.1.ppc.rpm zip-2.3-3.aix4.3.ppc.rpm I am familiar with the usual (in linux) ./configure && make && make install procedure. I've also noticed that there are quite a few people who have tried their hand at installing OpenFOAM on AIX. For starters I would appreciate if someone can point out what changes I will need to make to the following files: (a) ~/OpenFOAM/OpenFOAM-1.3/.bashrc (b) ~/OpenFOAM/OpenFOAM-1.3/wmake/Makefile (c) ~/OpenFOAM/OpenFOAM-1.3/wmake/rules/AIX64 (?) Niklas has mentioned the use of the fpermissive flag. Quoting from an earlier post: for the wmake/rules i use this, which works fine. *** c++ *** CC = g++ -fpermissive -maix32 LINKLIBSO = $(CC) $(c++FLAGS) -shared -Wl,-G -Wl,-bbigtoc -Wl,-brtl -Wl,-bnoentry LINKEXE = $(CC) $(c++FLAGS) -Wl,-brtl The -fpermissive flags is necessary for the X-includes used by foam for the Gstream lib. Do I have to create an AIX64 directory inside wmake/rules and then create individual files called c, c++ etc. ? I would appreciate any inputs. Also chas someone managed to compile and install the icoFoam solver on AIX? |
|
July 27, 2006, 01:54 |
Update:
As Mattijs Janssens
|
#2 |
Senior Member
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21 |
Update:
As Mattijs Janssens has suggested in another post, I have solved this problem by wiping out AIX and installing Suse Linux 10.1 and recompiling OpenFOAM. If Anyone is interested in compiling instructions and/or the tarball of the entire OpenFOAM directory, drop me a line. Please note that ParaFOAM and FoamX almost certainly don't work as I never bothered investing time into them. Parallel works though. Hardware is an IBM pSeries 630 6E4 uname -M on AIX gives: IBM,7028-6E4 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is GUI there for OpenFoam | navaladi | OpenFOAM | 4 | September 11, 2023 14:35 |
OpenFoam vs CFX5 mass balance in OpenFoam | tangd | OpenFOAM Running, Solving & CFD | 33 | May 23, 2010 17:36 |
[blockMesh] CheckMesh error using a tutorial from OpenFOAM 114 with openFOAM 13 | martapajon | OpenFOAM Meshing & Mesh Conversion | 7 | January 21, 2008 13:52 |
OpenFOAM users in Munich OpenFOAM benutzer in M%c3%bcnchen | jaswi | OpenFOAM | 0 | August 3, 2007 14:11 |
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix | mbeaudoin | OpenFOAM Installation | 2 | April 28, 2006 09:54 |