Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Ridepooling_Simulations
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
rhaag
Ridepooling_Simulations
Commits
11bb71cc
Commit
11bb71cc
authored
3 years ago
by
rhaag
Browse files
Options
Downloads
Patches
Plain Diff
Serverside Settings
parent
2932097a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
initialize.jl
+20
-7
20 additions, 7 deletions
initialize.jl
standard_settings.jl
+3
-3
3 additions, 3 deletions
standard_settings.jl
submit.sh
+4
-3
4 additions, 3 deletions
submit.sh
with
27 additions
and
13 deletions
initialize.jl
+
20
−
7
View file @
11bb71cc
...
...
@@ -3,6 +3,25 @@ name = "earliest_pickup_testing_phase"
include
(
settings_name
)
map_folder
=
"./example_map/map/"
dispatcher_folder
=
"./example_map/delays_wt1reldelta1/"
for
name
in
readdir
(
map_folder
,
join
=
false
)
try
cp
(
map_folder
*
"/"
*
name
,
paths
[
:
map
]
*
"/"
*
name
)
catch
e
println
(
e
)
end
end
for
name
in
readdir
(
dispatcher_folder
,
join
=
false
)
try
cp
(
dispatcher_folder
*
"/"
*
name
,
paths
[
:
dispatcher
]
*
"/"
*
name
)
catch
e
println
(
e
)
end
end
for
(
name
,
path
)
in
paths
try
mkpath
(
path
)
...
...
@@ -11,15 +30,9 @@ for (name, path) in paths
end
end
map_folder
=
"./example_map/map/*"
dispatcher_folder
=
"/example_map/delays_wt1reldelta1/*"
run
(
`cp -r $(map_folder) $(paths[:map])/`
)
run
(
`cp -r $(dispatcher_folder) $(paths[:dispatcher])/`
)
#cp("./example_map/delays_wt1reldelta1/*", paths[:dispatcher]*"/", force=true)
N
=
1
SGE_TASK_ID
=
12
JOB_NAME
=
name
run
(
"
/usr/ds/bin/julia sim
_temp
.jl
$
N
$
SGE_TASK_ID
$
JOB_NAME
"
)
run
(
`
/usr/ds/bin/julia sim.jl $SGE_TASK_ID
$settings_name
$JOB_NAME
`
)
This diff is collapsed.
Click to expand it.
standard_settings.jl
+
3
−
3
View file @
11bb71cc
...
...
@@ -12,9 +12,9 @@ path="/scratch01.local/rhaag/$(String(request_type))/$name/" # Path were everyt
# Simulation Settings
N
=
1
#Number of Busses
requested
=
1
*
N
# Number of requests, that need to be made
served
=
1
*
N
# Number of requests, that need to be served
N
=
1
0
#Number of Busses
requested
=
200
*
N
# Number of requests, that need to be made
served
=
200
*
N
# Number of requests, that need to be served
#Random Generator
rng_type
=
:
notRandom
...
...
This diff is collapsed.
Click to expand it.
submit.sh
+
4
−
3
View file @
11bb71cc
...
...
@@ -2,12 +2,13 @@
#$ -S /bin/bash
#$ -cwd
#$ -q
grotri
an.q
#$ -q
tit
an.q
#$ -j yes
#$ -N earliest_pickup_testing_phase
#$ -t 1-1600
#$ -tc 500
SETTINGS_NAME
=
"./standard_settings.jl"
/usr/ds/bin/julia sim.jl
$N
$SGE_TASK_ID
$JOB_NAME
/usr/ds/bin/julia sim.jl
$SGE_TASK_ID
$SETTINGS_NAME
$JOB_NAME
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