I got the following error when
I got the following error when sourcing .bashrc. I think it is because the processor type "ppc64" is not supported. It is IBM clustered SMP (Symmetric Multiprocessing) system based on dual core processors (IBM Power5+, 1.9 GHz) and 16 core/node.
I also checked the 1.4.1 bashrc but the ppc64 was not there. In V1.3 there were "ppc" type included. Any idea what should I add to bashrc for this type of processors? Thanks.
-bash: [: =: unary operator expected
-bash: [: too many arguments
Not a problem. You need to add
Not a problem. You need to add the ppc64 check. You're porting to a new platform remember? Check the wiki for instructions. BTW, a word of advice. If you're looking to install OpenFOAM on AIX, good luck. You'll need it. I'm not saying it is impossible. It's just very non-trivial. I solved that problem by wiping out AIX and installing OpenSuSE 10.2 (ppc64 version) on the IBM.
Actually, SUSE Linux Enterpris
Actually, SUSE Linux Enterprise Server (V 9) is already installed on the system.
did you mean the following links on the wiki:
I also found a link regarding Mac but the OS installed on the cluster is SUSE, the only difference is when I type "uname -a" I get:
Linux p5120 2.6.5-7.286-pseries64-perfctr #5 SMP Tue Aug 28 16:24:36 CEST 2007 ppc64 ppc64 ppc64 GNU/Linux
I copied the X86_64 in .OpenFOAM/bashrc and made:
elif [ "$processor" = "ppc64" ]; then
if [ "$WM_64" ]; then
export CFLAGS='-m64 -fPIC'
export CXXFLAGS='-m64 -fPIC'
I passed all foamInstallationTest but when trying to run icoFoam I get:
-bash: /home/usr597/remote/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxAMD64Gcc4DPOpt/i coFoam: cannot execute binary file
The file exist at that location.
Does this mean that I have to recompile OpenFOAM from scratch? Sorry for my basic question. I compiled OpenFOAM before but not from scratch. Thanks.
But of course. You do need to
But of course. You do need to rebuild OF from scratch and take my word for it when I say this is cakewalk in comparison to building OF on AIX. Post any error messages you come across, I can look into my setup and find out if I did any special tweaking to get it to work. But if my memory serves me right, I faced very few problems.
|All times are GMT -4. The time now is 21:07.|