next up previous contents
Next: Changes to settings.sh Up: Changes to Source code Previous: Overview   Contents

Changes to etc/bash

The line

 : ${WM_COMPILER:=Gcc}; export WM_COMPILER
was changed to
 : ${WM_COMPILER:=}; export WM_COMPILER
and
 # WM_MPLIB = | OPENMPI | MPICH | MPICH-GM | HPMPI | GAMMA | MPI | QSMPI
 : ${WM_MPLIB:=OPENMPI}; export WM_MPLIB
was changed to
 : ${WM_MPLIB:=MPT}; export WM_MPLIB
despite MPT not being an option.

We replaced

             WM\_ARCH=linux64
             export WM\_COMPILER\_LIB\_ARCH=64
             export WM\_CC='gcc'
             export WM\_CXX='g++'
             export WM\_CFLAGS='-m64 -fPIC'
             export WM\_CXXFLAGS='-m64 -fPIC'
             export WM\_LDFLAGS='-m64'
with
             if [ -e /proc/cray\_xt ]; then
               WM\_ARCH=crayxt
             else
               WM\_ARCH=linux64
               export WM\_COMPILER\_LIB\_ARCH=64
               export WM\_CC='gcc'
               export WM\_CXX='g++'
               export WM\_CFLAGS='-m64 -fPIC'
               export WM\_CXXFLAGS='-m64 -fPIC'
               export WM\_LDFLAGS='-m64'
             fi

We changed the lines

 # \_foamSource $WM_PROJECT_DIR/etc/apps/paraview/bashrc
 \_foamSource $WM_PROJECT_DIR/etc/apps/paraview3/bashrc
 \_foamSource $WM_PROJECT_DIR/etc/apps/ensight/bashrc
to
 # \_foamSource $WM_PROJECT_DIR/etc/apps/paraview/bashrc
 # \_foamSource $WM_PROJECT_DIR/etc/apps/paraview3/bashrc
 \_foamSource $WM_PROJECT_DIR/etc/apps/ensight/bashrc
i.e. simply commenting out the paraview3 line.

Finally, the line

 # foamInstall=$HOME/$WM_PROJECT
become
 foamInstall=/work/y07/y07/openfoam/dual-core/$WM_PROJECT



Gavin J Pringle
2010-04-16