From 6ba388f169cb2515393fb167d7405a0cedb3c503 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 7 Jun 2016 16:34:20 +0100 Subject: [PATCH] Windows environment. Cesare Guardino --- bin/foamWindowsEnvironment.bat | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 bin/foamWindowsEnvironment.bat diff --git a/bin/foamWindowsEnvironment.bat b/bin/foamWindowsEnvironment.bat new file mode 100644 index 000000000..5607fcb0f --- /dev/null +++ b/bin/foamWindowsEnvironment.bat @@ -0,0 +1,14 @@ +@echo off +if defined FOAM_ENV_SET goto :eof + +rem =========== USER EDITABLE SETTINGS =========== +rem set MPI_ROOTDIR=C:\Programs\OpenMPI_v1.6.1-x64 +rem set PARAVIEW_HOME=C:\Programs\ParaView-4.3.1 +rem ============================================== + +if defined PARAVIEW_HOME set PATH=%PARAVIEW_HOME%\bin;%PATH% +if defined MPI_ROOTDIR set PATH=%MPI_ROOTDIR%\bin;%PATH% +set PATH=%~dp0..\lib;%~dp0..\bin;%PATH% +set WM_PROJECT_DIR=%~dp0.. +set MPI_BUFFER_SIZE=20000000 +set FOAM_ENV_SET=1