CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Bashrc for PS3 Fedora 6 and IBM sdk 21 (https://www.cfd-online.com/Forums/openfoam-installation/57471-bashrc-ps3-fedora-6-ibm-sdk-21-a.html)

mgarcia November 2, 2007 13:24

Hi. To compile OpenFOAM i
 
Hi.

To compile OpenFOAM in the PS3, one should add a "ppc64" (uname -m) in the Linux entry[1]?

I'm getting an error to create the directory "ppc64Gcc":
=====================
make[1]: Entering directory `/home/ocf/OpenFOAM/OpenFOAM-1.4.1/applications/solvers/compressible'
/home/ocf/OpenFOAM/OpenFOAM-1.4.1/wmake/MakefileOptions:37: /home/ocf/OpenFOAM/OpenFOAM-1.4.1/wmake/rules/ppc64Gcc/general: No such file or directory
=====================

In fact, the very first line of my buid is:
=====================
/home/ocf/OpenFOAM/OpenFOAM-1.4.1/wmake/wmake: cannot make, file Make/ppc64GccDPOpt/objectFiles was not created successfully
=====================

Does anyone had the same problem?

Regards

Marcelo


[1] In the .OpenFOAM/bashrc
(...)
export WM_COMPILER=I64
elif [ "$processor" = "ppc64" ]; then
export WM_ARCH=ppc64
export WM_COMPILER_LIB_ARCH=64
export CC='ppu-gcc'
export CXX='ppu-g++'
export CFLAGS='-m64 -fPIC'
export CXXFLAGS='-m64 -fPIC'
export LDFLAGS='-m64'
else
echo Unknown processor type $processor for Linux
(...)


All times are GMT -4. The time now is 07:12.