Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 6bec49b4 authored by Harald Martini's avatar Harald Martini
Browse files

added command line argument to execute vecto single threaded (for debugging purposes only)

parent f874351e
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ Public Class Configuration
Public Co2PerFc As Double
Public FirstRun As Boolean
Public DeclMode As Boolean
Public Multithreaded As Boolean
Public ValidateRunData As Boolean
......@@ -61,10 +62,14 @@ Public Class Configuration
DeclMode = True
ValidateRunData = True
OutputFolder = ""
Multithreaded = True
End Sub
Public Sub Load()
SetDefault()
If Environment.GetCommandLineArgs().Contains("-st") Then
Multithreaded = False
End If
If Not File.Exists(FilePath) Then
Exit Sub
......
......@@ -1095,7 +1095,7 @@ lbFound:
$"Starting Simulation ({JobFileList.Count} Jobs, {jobContainer.GetProgress().Count _
} Runs)"})
jobContainer.Execute(True)
jobContainer.Execute(Cfg.Multithreaded)
Dim start As DateTime = DateTime.Now()
......
{
"profiles": {
"VECTO": {
"commandName": "Project"
},
"VECTO_singlethreaded": {
"commandName": "Project",
"commandLineArgs": "-st"
}
}
}
\ No newline at end of file
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