Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sergey Kireev
nle
Commits
07c4b2b5
Commit
07c4b2b5
authored
Oct 27, 2021
by
Sergey Kireev
Browse files
windows scripts fixed
parent
b3771653
Changes
3
Hide whitespace changes
Inline
Side-by-side
nle_cpp/scripts_mingw64/build_nle.bat
View file @
07c4b2b5
...
...
@@ -2,6 +2,9 @@
@set
SRCDIR
=
../src
@set
TARGET
=
%SRCDIR%
/nle
.exe
@g
++
-std
=
c
++
17
-O
3
-march
=
native
-I
%SRCDIR%
-o
%TARGET%
%SRCDIR%
/main
.cpp
%SRCDIR%
/param
.cpp
@
%CXX_PATH%
\
g
++
-std
=
c
++
17
-O
3
-march
=
native
-I
%SRCDIR%
-o
%TARGET%
%SRCDIR%
/main
.cpp
%SRCDIR%
/param
.cpp
@if
exist
%TARGET%
(
echo
Done
!
)
else
(
echo
Failed
!
)
@if
exist
%TARGET%
(
echo
Build
done
!
)
else
(
echo
Build
failed
!
)
@
%GNUPLOT_PATH%
\gnuplot.exe
-e
""
@if
%errorlevel%
equ
0
(
echo
gnuplot
check
OK
!
)
else
(
echo
gnuplot
check
failed
!
)
nle_cpp/scripts_mingw64/run_single/parameters.bat
View file @
07c4b2b5
...
...
@@ -20,11 +20,11 @@ set nx=300
set
ny
=
300
rem Number of simulation steps
set
nt
=
1000
0
set
nt
=
1000
rem Steps between saving to file
set
nts
=
100
rem Steps between printing output
set
ntp
=
100
0
set
ntp
=
100
rem Model parameters
set
en
=
3
.4
...
...
nle_cpp/scripts_mingw64/set_path.bat
View file @
07c4b2b5
@PATH
=
%PATH%
;
C
:\mingw64\bin
;
C
:\Program
Files
\gnuplot\bin
rem Please, set proper paths here.
rem Path to g++.exe
@set
CXX_PATH
=
"C:\mingw64\bin"
rem Path to gnuplot.exe
@set
GNUPLOT_PATH
=
"C:\Program Files\gnuplot\bin"
@PATH
=
%PATH%
;
%CXX_PATH%
;
%GNUPLOT_PATH%
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment