File size: 3,443 Bytes
5154c4e
3de3b50
5154c4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
  "id": "single-software-execution--cli--openfast--task-01--ubuntu",
  "snapshot": "openfast5",
  "instruction": "Begin with `/home/user/Desktop/power_curve.fst`, `/home/user/Desktop/inflow_steady_base.dat`, and their version-matched dependencies. Only initialization inputs are preloaded; generate all scripts and result artifacts yourself.\n\nThe OpenFAST executable is `/home/user/miniconda3/bin/openfast` when working on `power_curve.fst`. Complete the following from the command line: 1. Write `/home/user/Desktop/run_cases.py` to generate `inflow_ws4.dat`, `inflow_ws8.dat`, `inflow_ws11.dat`, `inflow_ws15.dat`, and `inflow_ws20.dat`. Every input must use `WindType=1`, `RefHt=90 m`, and `HWindSpeed` equal to its filename speed. Generate the matching `case_wsX.fst` files under `/home/user/Desktop`, with each case referencing its own inflow. 2. Run all five 60-second cases and retain each text `.out` and normal-termination log under `/home/user/Desktop`. 3. Write `postprocess.py` to locate `Time`, `GenPwr`, and `RotSpeed` by header name and compute arithmetic means over `Time>=50 s`. 4. Save `/home/user/Desktop/summary.txt` as `ws, genpwr_kw, rotspeed_rpm`. 5. Do not use GUI or visualization tools.",
  "source": "https://github.com/openFAST/r-test",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-01/init_file/init_file.tar",
            "path": "/home/user/Desktop/init_file.tar"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": "bash -c \"mkdir -p '/home/user/Desktop/' && tar -xf '/home/user/Desktop/init_file.tar' -C '/home/user/Desktop/' && rm -f '/home/user/Desktop/init_file.tar'\"",
        "shell": true
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "openfast"
  ],
  "artifact_paths": [
    "/home/user/Desktop/case_ws4.fst",
    "/home/user/Desktop/case_ws4.out",
    "/home/user/Desktop/case_ws4.log",
    "/home/user/Desktop/case_ws8.fst",
    "/home/user/Desktop/case_ws8.out",
    "/home/user/Desktop/case_ws8.log",
    "/home/user/Desktop/case_ws11.fst",
    "/home/user/Desktop/case_ws11.out",
    "/home/user/Desktop/case_ws11.log",
    "/home/user/Desktop/case_ws15.fst",
    "/home/user/Desktop/case_ws15.out",
    "/home/user/Desktop/case_ws15.log",
    "/home/user/Desktop/case_ws20.fst",
    "/home/user/Desktop/case_ws20.out",
    "/home/user/Desktop/case_ws20.log",
    "/home/user/Desktop/inflow_ws4.dat",
    "/home/user/Desktop/inflow_ws8.dat",
    "/home/user/Desktop/inflow_ws11.dat",
    "/home/user/Desktop/inflow_ws15.dat",
    "/home/user/Desktop/inflow_ws20.dat",
    "/home/user/Desktop/run_cases.py",
    "/home/user/Desktop/postprocess.py",
    "/home/user/Desktop/summary.txt"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-01/eval.py",
              "path": "/home/user/Desktop/eval.py"
            }
          ]
        }
      }
    ],
    "func": "exact_match",
    "result": {
      "type": "vm_command_line",
      "command": "python3 /home/user/Desktop/eval.py",
      "shell": "true"
    },
    "expected": {
      "type": "rule",
      "rules": {
        "expected": "True\n"
      }
    }
  },
  "proxy": false,
  "fixed_ip": false,
  "possibility_of_env_change": "low"
}