Skip to content
Snippets Groups Projects
Commit 11bb71cc authored by rhaag's avatar rhaag
Browse files

Serverside Settings

parent 2932097a
No related branches found
No related tags found
No related merge requests found
......@@ -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`)
......@@ -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=10 #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
......
......@@ -2,12 +2,13 @@
#$ -S /bin/bash
#$ -cwd
#$ -q grotrian.q
#$ -q titan.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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment