CONFIG: typo in config.csh/mpi

- also handle stray semi-colons in foamCleanPath.
  Treat like a ':' separator.
  They are incorrect and potentially problematic for shell evals.
This commit is contained in:
Mark Olesen
2018-01-16 12:00:21 +01:00
parent a4fa743add
commit ff07ae1520
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ case OPENMPI:
# Respect MPI_ARCH_PATH if set to a valid directory (ie, from user adjustments)
if (! $?MPI_ARCH_PATH ) setenv MPI_ARCH_PATH
if (! -d "$MPI_ARCH_PATH" ) then
setenv mpiDir=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$FOAM_MPI
setenv MPI_ARCH_PATH $WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$FOAM_MPI
endif
# Inform openmpi where to find its install directory