File size: 2,220 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
{
  "id": "single-software-execution--cli--calculix--task-07--ubuntu",
  "snapshot": "CalculiX-2.21",
  "instruction": "The starting input is a static template `/home/user/Desktop/dynamic_base.inp`. Run `ccx --version` or invoke the installed `ccx` binary from a terminal. For this workflow, use `/usr/bin/ccx` for the CalculiX solve and `/usr/bin/cgx` when CGX processing is needed.\n\nComplete the following from the command line: 1. Modify and generate `/home/user/Desktop/dynamic.inp`: Please save the final input file as /home/user/Desktop/dynamic.inp. - Define `*Amplitude, name=Amp-1` using tabular data: `0.0, 0.0, 0.01, 1.0` - Change the step to `*Dynamic`, total time `0.01 s`, initial increment `0.005 s` - Apply `FY=-100 N` at node 2 - Fully constrain the fixed end (DOF 1..3) 2. Submit the job and write a post-processing script to parse `dynamic.dat`: - Extract node-2 `UY` at `t=0.005 s` - Extract node-2 `UY` at `t=0.01 s` - Write to `/home/user/Desktop/summary.txt` in this format: `u2_at_0.005, u2_at_0.01` 3. Do not use the CGX GUI.",
  "source": "https://github.com/calculix/CalculiX-Examples",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-07/init_file/dynamic_base.inp",
            "path": "/home/user/Desktop/dynamic_base.inp"
          }
        ]
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "calculix"
  ],
  "artifact_paths": [
    "/home/user/Desktop/dynamic.dat",
    "/home/user/Desktop/dynamic.inp",
    "/home/user/Desktop/summary.txt"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-07/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"
}