Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ if %abort% == 1 exit /b

set CURDIR=%CD%

set LIBS=..\..\..\libs
set FIREMODELS=..\..\..\..
cd %FIREMODELS%
set FIREMODELS=%CD%
cd %CURDIR%

set LIBS=%FIREMODELS%\libs
if not exist %LIBS% mkdir %LIBS%
if not exist %LIBS% echo failed to create LIBS directory
if not exist %LIBS% exit
Expand All @@ -30,11 +35,11 @@ echo setting up Intel compilers
echo ----------------------------------------------------------
echo ----------------------------------------------------------
echo.
call ..\..\Build\Scripts\setup_intel_compilers.bat
call %FIREMODELS%\fds\Build\Scripts\setup_intel_compilers.bat

cd %CURDIR%

set HYPRE=..\..\..\hypre
set HYPRE=%FIREMODELS%\hypre

:: clone hypre repo (at same level as fds, smv etc repos) if it doesn't exist
if exist %HYPRE% goto endif1
Expand All @@ -45,7 +50,7 @@ echo ----------------------------------------------------------
echo ----------------------------------------------------------
echo.

cd ..\..\..
cd %FIREMODELS%
git clone https://github.com/hypre-space/hypre.git
cd hypre
echo ----------------------------------------------------------
Expand All @@ -64,7 +69,7 @@ echo ----------------------------------------------------------
echo.
echo change HYPRE_FMANGLE line to #define HYPRE_FMANGLE 4
echo after saving file, press enter
notepad %CURDIR%\%HYPRE%\src\config\HYPRE_config.h.cmake.in
notepad %HYPRE%\src\config\HYPRE_config.h.cmake.in

pause
cd %CURDIR%
Expand All @@ -77,7 +82,7 @@ echo ----------------------------------------------------------
echo ----------------------------------------------------------
echo.

cd %CURDIR%\%HYPRE%
cd %HYPRE%
set HYPRE=%CD%
git clean -dxf

Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,22 @@ call :is_file_installed gcc || set abort=1
if %abort% == 1 exit /b

set CURDIR=%CD%
set FIREMODELS=..\..\..\..
cd %FIREMODELS%
set FIREMODELS=%CD%
cd %CURDIR%

echo ----------------------------------------------------------
echo ----------------------------------------------------------
echo setting up Intel compilers
echo ----------------------------------------------------------
echo ----------------------------------------------------------
echo.
call ..\..\Build\Scripts\setup_intel_compilers.bat
call %FIREMODELS%\fds\Build\Scripts\setup_intel_compilers.bat

cd %CURDIR%

set LIBS=..\..\..\libs
set LIBS=%FIREMODELS%\libs
if not exist %LIBS% mkdir %LIBS%
if not exist %LIBS% echo failed to create LIBS directory
if not exist %LIBS% exit
Expand All @@ -35,7 +39,7 @@ set INSTALLDIR=%LIBS%\%INSTALLDIR%
cd %CURDIR%


set SUNDIALS=..\..\..\sundials
set SUNDIALS=%FIREMODELS%\sundials

:: clone sundials repo (at same level as fds, smv etc repos) if it doesn't exist
if exist %SUNDIALS% goto endif1
Expand All @@ -46,7 +50,7 @@ echo ----------------------------------------------------------
echo ----------------------------------------------------------
echo.

cd ..\..\..
cd %FIREMODELS%
git clone https://github.com/LLNL/sundials.git
cd sundials
echo ----------------------------------------------------------
Expand Down