diff --git a/etc/bashrc b/etc/bashrc index ec96457be247718cd103bef4fe42eac681bcb145..35044f5b019600d90f81a57c7f03496f7a071e25 100644 --- a/etc/bashrc +++ b/etc/bashrc @@ -91,7 +91,7 @@ export WM_COMPILER_LIB_ARCH= # WM_JAVAC_OPTION = Opt | Debug : ${WM_JAVAC_OPTION:=Opt}; export WM_JAVAC_OPTION -# WM_MPLIB = | OPENMPI| LAM | MPICH | MPICH-GM | HPMPI | GAMMA | MPI +# WM_MPLIB = | OPENMPI | LAM | MPICH | MPICH-GM | HPMPI | GAMMA | MPI : ${WM_MPLIB:=OPENMPI}; export WM_MPLIB diff --git a/src/OpenFOAM/db/IOstreams/Pstreams/OPstream.H b/src/OpenFOAM/db/IOstreams/Pstreams/OPstream.H index 6041ba202a5caa6773a5a98677d4f11572cf22d2..386781c35bb96d84631e29494e9b7cc93a036abd 100644 --- a/src/OpenFOAM/db/IOstreams/Pstreams/OPstream.H +++ b/src/OpenFOAM/db/IOstreams/Pstreams/OPstream.H @@ -47,7 +47,7 @@ namespace Foam { /*---------------------------------------------------------------------------*\ - Class OPstream Declaration + Class OPstream Declaration \*---------------------------------------------------------------------------*/ class OPstream @@ -160,7 +160,7 @@ public: void flush() {} - //- Add '\n' and flush stream + //- Add newline and flush stream void endl() {} diff --git a/src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H b/src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H index cd3a03ec0cb4531299379539835d86fec7cc74c5..9fd9d988246f185df2d8cfb1b87813062853cc21 100644 --- a/src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H +++ b/src/OpenFOAM/db/IOstreams/Sstreams/OSstream.H @@ -48,7 +48,7 @@ namespace Foam { /*---------------------------------------------------------------------------*\ - Class OSstream Declaration + Class OSstream Declaration \*---------------------------------------------------------------------------*/ class OSstream @@ -162,20 +162,20 @@ public: //- Flush stream virtual void flush(); - //- Add '\n' and flush stream + //- Add newline and flush stream virtual void endl(); //- Get width of output field virtual int width() const; //- Set width of output field (and return old width) - virtual int width(const int w); + virtual int width(const int); //- Get precision of output field virtual int precision() const; //- Set precision of output field (and return old precision) - virtual int precision(const int p); + virtual int precision(const int); // Print diff --git a/src/Pstream/Allwmake b/src/Pstream/Allwmake index 3083370ad766706f4666510cfe47e1f6a0c4a85a..f43c2b1a30a3f05be9019deb965bf619c95f203e 100755 --- a/src/Pstream/Allwmake +++ b/src/Pstream/Allwmake @@ -5,7 +5,11 @@ set -x wmake libso dummy case "$WM_MPLIB" in -LAM | OPENMPI | MPI | MPICH | MPICH-GM | HPMPI | MPIGAMMA ) +GAMMA) + wmake libso gamma + ;; + +LAM | *MPI* ) export WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB set +x echo @@ -13,10 +17,6 @@ LAM | OPENMPI | MPI | MPICH | MPICH-GM | HPMPI | MPIGAMMA ) set -x wmake libso mpi ;; - -GAMMA) - wmake libso gamma - ;; esac # ----------------------------------------------------------------- end-of-file