-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainProgram.chpl
31 lines (26 loc) · 1.08 KB
/
MainProgram.chpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
use List;
proc main(args: [] string) {
var temp: list(string);
for arg in args{
if (arg.startsWith("//")== true){
for i in arg.split("--"){
temp.append(i);
}
break;
}
}
use IMWEBsParallelCalibrationProgram;
var Autocalibration = new IMWEBsParallelCalibrationProgram(temp[1], temp[2], temp[3], temp[4]);
Autocalibration.RunAutoCalibration;
/*
use ParallelPest;
var ParallelPe = new ParallelPest(temp[1]);
ParallelPe.RunParallePESTSingle;
*/
/* Sensitivity Analysis*/
/*
use SA_Analysis;
var Autocalibration = new SA_Analysis("/".join(temp[1], "PhDParallelCalProject", "EF_Database_Work"), "/".join(temp[1], "All_Libs"), "/".join(temp[1], "PhDParallelCalProject", "IMWEBs.sh"),"/".join(temp[1], "PhDParallelCalProject", "IMWEBs_SubbasinV_Linux", "build", "debug"), "/".join(temp[1], "PhDParallelCalProject", "SubareaBasedModel", "Model_cal"), "/".join(temp[1], "PhDParallelCalProject"), temp[1]);
Autocalibration.RunSensitivityAnalysis;
*/
}