Hi all, I have access to tw
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:
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:
(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?
Update: As Mattijs Janssens
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
|All times are GMT -4. The time now is 11:45.|