diff --git a/etc/config.csh/mpi b/etc/config.csh/mpi index 922f7848a213afedb144c46d9ed1221877a9ccd9..0de49ae5e0c505faac51ffad257e5ac4456375a9 100644 --- a/etc/config.csh/mpi +++ b/etc/config.csh/mpi @@ -40,7 +40,7 @@ case SYSTEMOPENMPI*: setenv FOAM_MPI openmpi-system _foamEtc -config openmpi-system # <- Adjustments (optional) - # Respect MPI_ARCH_PATH if set to a valid directory (ie, from user adjustments) + # Respect MPI_ARCH_PATH if set to valid directory (eg, user adjustments) if (! $?MPI_ARCH_PATH ) setenv MPI_ARCH_PATH if ( -d "$MPI_ARCH_PATH" ) then _foamAddLibAuto $MPI_ARCH_PATH @@ -58,7 +58,7 @@ case OPENMPI: setenv FOAM_MPI openmpi-1.10.7 _foamEtc -config openmpi # <- Adjustments (optional) - # Respect MPI_ARCH_PATH if set to a valid directory (ie, from user adjustments) + # Respect MPI_ARCH_PATH if set to valid directory (eg, user adjustments) if (! $?MPI_ARCH_PATH ) setenv MPI_ARCH_PATH if (! -d "$MPI_ARCH_PATH" ) then setenv MPI_ARCH_PATH $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$FOAM_MPI diff --git a/etc/config.sh/mpi b/etc/config.sh/mpi index ca7c0b12542b2fcb8a29c53fbe850fc910070dc2..52c8826d88101b33932e6fb29824a5ecfcf92161 100644 --- a/etc/config.sh/mpi +++ b/etc/config.sh/mpi @@ -46,7 +46,7 @@ SYSTEMOPENMPI*) fi _foamEtc -config openmpi-system # <- Adjustments (optional) - # Respect MPI_ARCH_PATH if set to a valid directory (ie, from user adjustments) + # Respect MPI_ARCH_PATH if set to valid directory (eg, user adjustments) if [ -d "$MPI_ARCH_PATH" ] then _foamAddLibAuto $MPI_ARCH_PATH @@ -64,7 +64,7 @@ OPENMPI) export FOAM_MPI=openmpi-1.10.7 _foamEtc -config openmpi # <- Adjustments (optional) - # Respect MPI_ARCH_PATH if set to a valid directory (ie, from user adjustments) + # Respect MPI_ARCH_PATH if set to valid directory (eg, user adjustments) if [ ! -d "$MPI_ARCH_PATH" ] then export MPI_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$FOAM_MPI diff --git a/src/OpenFOAM/Make/options b/src/OpenFOAM/Make/options index 84591cccbabc26e21b117995867990eea62375be..ce477b7f08b720f026cfbd28381deaabe06f604e 100644 --- a/src/OpenFOAM/Make/options +++ b/src/OpenFOAM/Make/options @@ -1,3 +1,8 @@ +/* Preclude any possible issues if WM_PROJECT == OpenFOAM */ +ifeq ($(WM_PROJECT),OpenFOAM) + PROJECT_LIBS = +endif + EXE_INC = \ -I$(OBJECTS_DIR) diff --git a/wmake/makefiles/general b/wmake/makefiles/general index 2177e89a87c2b73e5d99726b6f95b0cbf9c9f161..f54c8410a7b0a0611540af271fac4b487d5a17cd 100644 --- a/wmake/makefiles/general +++ b/wmake/makefiles/general @@ -38,7 +38,7 @@ endif #------------------------------------------------------------------------------ -# Set the directory containing the wmake scripts +# Directory containing the wmake scripts #------------------------------------------------------------------------------ WM_SCRIPTS = $(WM_DIR)/scripts diff --git a/wmake/makefiles/info b/wmake/makefiles/info index 9475e5799beb7f5cb26b49acc38771cce47e515a..3bfa0f5a19f4f6aeb832146e3a2613633d0cb9dc 100644 --- a/wmake/makefiles/info +++ b/wmake/makefiles/info @@ -19,7 +19,7 @@ #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ -# Use POSIX shell. Default to POSIX for the OS. +# Use POSIX shell #------------------------------------------------------------------------------ SHELL = /bin/sh @@ -63,7 +63,7 @@ ext-so: .PHONY: compile-c compile-c: - @echo "$(COMP_C)" + @echo "$(COMPILE_C)" .PHONY: compile-cxx compile-cxx: diff --git a/wmake/src/Makefile b/wmake/src/Makefile index 11b6733d23466068977986fa974c51ae9dc75eea..5b6fe0b4bc5ca8aa2f5809d02ff6f5aede59c9be 100644 --- a/wmake/src/Makefile +++ b/wmake/src/Makefile @@ -32,13 +32,13 @@ #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ -# The Makefile use a POSIX shell +# Use POSIX shell #------------------------------------------------------------------------------ -SHELL = /bin/sh +SHELL = /bin/sh #------------------------------------------------------------------------------ -# Unset suffices list (suffix rules are not used) +# No default suffix rules used #------------------------------------------------------------------------------ .SUFFIXES: @@ -62,10 +62,10 @@ include $(GENERAL_RULES)/general .PHONY: all clean all: $(WMAKE_BIN)/dirToString $(WMAKE_BIN)/wmkdep $(WMAKE_BIN)/wmkdepend - @echo built wmake-bin for $(WM_ARCH)$(WM_COMPILER) + @echo "built wmake-bin for $(WM_ARCH)$(WM_COMPILER)" clean: - @echo clean wmake-bin for $(WM_ARCH)$(WM_COMPILER) + @echo "clean wmake-bin for $(WM_ARCH)$(WM_COMPILER)" @rm -rf $(WMAKE_BIN) 2>/dev/null @rmdir $(shell dirname $(WMAKE_BIN)) 2>/dev/null || true