Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RM4ES Practicals
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sepia-pub
mael
RM4ES Practicals
Commits
9c9f80d5
Commit
9c9f80d5
authored
1 year ago
by
Maël Madon
Browse files
Options
Downloads
Patches
Plain Diff
progress on install etc.
parent
d1062d8a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
README.md
+2
-2
2 additions, 2 deletions
README.md
default.nix
+16
-15
16 additions, 15 deletions
default.nix
util/plot.py
+0
-0
0 additions, 0 deletions
util/plot.py
with
20 additions
and
17 deletions
.gitignore
0 → 100644
+
2
−
0
View file @
9c9f80d5
out
*__pycache__*
\ No newline at end of file
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
9c9f80d5
...
...
@@ -14,8 +14,8 @@ We can start a small expe!
On one shell:
```
ns -A
example-shell
pybatsim
rejector
ns -A
dev
pybatsim
newSched
```
On the other shell:
...
...
This diff is collapsed.
Click to expand it.
default.nix
+
16
−
15
View file @
9c9f80d5
...
...
@@ -8,7 +8,6 @@
,
python3
?
pkgs
.
python311
,
python3Packages
?
pkgs
.
python311Packages
# , pybatsim-core ? kapack.pybatsim-core
,
poetry
?
pkgs
.
poetry
}:
let
...
...
@@ -27,9 +26,17 @@ let
# small shell to dev and test schedulers
dev
=
pkgs
.
mkShell
rec
{
buildInputs
=
[
# pkgs.stdenv.cc.cc.lib
poetry
packages
=
[
# kapack.pybatsim-core
pkgs
.
stdenv
.
cc
.
cc
.
lib
# python3Packages.poetry
python3
(
pkgs
.
poetry
.
override
{
python3
=
python3
;
})
# (python3.withPackages
# (ps: with ps; with python3Packages; [
# poetry-core
# ])
# )
];
shellHook
=
''
cd sched
...
...
@@ -38,7 +45,7 @@ let
poetry shell
''
;
#
LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib";
LD_LIBRARY_PATH
=
"
${
pkgs
.
stdenv
.
cc
.
cc
.
lib
}
/lib"
;
};
expe
=
pkgs
.
mkShell
rec
{
...
...
@@ -71,17 +78,11 @@ let
test
=
pkgs
.
mkShell
rec
{
buildInputs
=
[
(
python3
.
withPackages
(
ps
:
with
ps
;
with
python3Packages
;
[
matplotlib
])
)
pkgs
.
stdenv
.
cc
.
cc
.
lib
python3Packages
.
poetry-core
];
# QT_PLUGIN_PATH = with nixpkgs.libsForQt5.qt5; "${qtbase}/${qtbase.qtPluginPrefix}";
# QT_QPA_PLATFORM_PLUGIN_PATH= with nixpkgs.libsForQt5.qt5; "${qtbase.bin}/lib/qt-${qtbase.version}/plugins/platforms";
# shellHook = ''
# QT_QPA_PLATFORM_PLUGIN_PATH="${qt6.qtbase.bin}/lib/qt-${qt6.qtbase.version}/plugins/platforms";
# '';
# nativeBuildInputs = [ nixpkgs.qt6.wrapQtAppsHook ];
LD_LIBRARY_PATH
=
"
${
pkgs
.
stdenv
.
cc
.
cc
.
lib
}
/lib"
;
};
# lib = pkgs.lib;
# pybatsim-example = python3Packages.buildPythonPackage rec {
...
...
This diff is collapsed.
Click to expand it.
expe
/plot.py
→
util
/plot.py
100644 → 100755
+
0
−
0
View file @
9c9f80d5
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment