@@ -15,7 +15,12 @@ if %abort% == 1 exit /b
1515
1616set CURDIR = %CD%
1717
18- set LIBS = ..\..\..\libs
18+ set FIREMODELS = ..\..\..\..
19+ cd %FIREMODELS%
20+ set FIREMODELS = %CD%
21+ cd %CURDIR%
22+
23+ set LIBS = %FIREMODELS% \libs
1924if not exist %LIBS% mkdir %LIBS%
2025if not exist %LIBS% echo failed to create LIBS directory
2126if not exist %LIBS% exit
@@ -30,11 +35,11 @@ echo setting up Intel compilers
3035echo ----------------------------------------------------------
3136echo ----------------------------------------------------------
3237echo .
33- call ..\.. \Build\Scripts\setup_intel_compilers.bat
38+ call %FIREMODELS% \fds \Build\Scripts\setup_intel_compilers.bat
3439
3540cd %CURDIR%
3641
37- set HYPRE = ..\..\.. \hypre
42+ set HYPRE = %FIREMODELS% \hypre
3843
3944:: clone hypre repo (at same level as fds, smv etc repos) if it doesn't exist
4045if exist %HYPRE% goto endif1
@@ -45,7 +50,7 @@ echo ----------------------------------------------------------
4550echo ----------------------------------------------------------
4651echo .
4752
48- cd ..\..\..
53+ cd %FIREMODELS%
4954 git clone https://github.com/hypre-space/hypre.git
5055 cd hypre
5156echo ----------------------------------------------------------
@@ -64,7 +69,7 @@ echo ----------------------------------------------------------
6469echo .
6570echo change HYPRE_FMANGLE line to #define HYPRE_FMANGLE 4
6671echo after saving file, press enter
67- notepad %CURDIR% \ % HYPRE% \src\config\HYPRE_config.h.cmake.in
72+ notepad %HYPRE% \src\config\HYPRE_config.h.cmake.in
6873
6974 pause
7075 cd %CURDIR%
@@ -77,7 +82,7 @@ echo ----------------------------------------------------------
7782echo ----------------------------------------------------------
7883echo .
7984
80- cd %CURDIR% \ % HYPRE%
85+ cd %HYPRE%
8186set HYPRE = %CD%
8287git clean -dxf
8388
0 commit comments