File size: 3,334 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
{
  "id": "single-software-execution--cli--openfast--task-02--ubuntu",
  "snapshot": "openfast5",
  "instruction": "The starting input is the complete TurbSim template `/home/user/Desktop/turbsim_base.inp`, OpenFAST base case `/home/user/Desktop/case_turb_base.fst`, InflowWind base `/home/user/Desktop/inflow_turb_base.dat`, and their dependencies. The archive contains only initialization inputs and a complete version-matched dependency closure; generate all result artifacts yourself.\n\nFor this task, the OpenFAST executable is `/home/user/miniconda3/bin/openfast` when working on `turbsim_base.inp`. From the command line: 1. Copy the TurbSim template to `/home/user/Desktop/wind_8ms.inp`, retain the supplied seeds, grid, time settings, and IEC turbulence class B, and confirm `URef=8 m/s` and `RefHt=90 m`. Run `turbsim wind_8ms.inp` so TurbSim creates `/home/user/Desktop/wind_8ms.bts`. 2. Create `/home/user/Desktop/case_turb.fst` from the supplied base. Use the supplied InflowWind file with `WindType=3` and `FileName_BTS=wind_8ms.bts`, and run the OpenFAST case for 60 s. 3. Execute the matching snapshot binaries (use full paths if needed), save the TurbSim console output as `/home/user/Desktop/turbsim.log` and the OpenFAST console output as `/home/user/Desktop/openfast.log`, and require normal termination in both logs. 4. Write `/home/user/Desktop/postprocess.py` to parse the complete `/home/user/Desktop/case_turb.out` `GenPwr` series and compute its arithmetic mean and population standard deviation (`ddof=0`). Save `/home/user/Desktop/summary.txt` as `mean_pwr_kw, std_pwr_kw`. 5. Do not use GUI tools.",
  "source": "https://github.com/openFAST/r-test",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-02/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/wind_8ms.inp",
    "/home/user/Desktop/wind_8ms.bts",
    "/home/user/Desktop/wind_8ms.sum",
    "/home/user/Desktop/turbsim.log",
    "/home/user/Desktop/inflow_turb_base.dat",
    "/home/user/Desktop/case_turb.fst",
    "/home/user/Desktop/case_turb.out",
    "/home/user/Desktop/openfast.log",
    "/home/user/Desktop/postprocess.py",
    "/home/user/Desktop/summary.txt"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-02/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"
}