Download task/single-software-execution/cli/openfast/task-05/task-05.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 3.59 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openfast/task-05/task-05.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/openfast/task-05/task-05.json
-
curl -L -o task-05.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openfast/task-05/task-05.json
3.59 kB
| { | |
| "id": "single-software-execution--cli--openfast--task-05--ubuntu", | |
| "snapshot": "openfast5", | |
| "instruction": "`/home/user/Desktop/subdyn_base.fst`, `/home/user/Desktop/subdyn_oc3_base.dat`, and an NREL 5 MW OC3 dependency set is provided. Additional initialization dependencies are pre-uploaded under `/home/user/Desktop` with relative structure preserved. Only initialization inputs are included; no answer/result artifacts are preloaded.\n\nComplete a fixed-base SubDyn reaction-load analysis from the command line. 1. Write `/home/user/Desktop/build_case.py`. Create `/home/user/Desktop/subdyn.dat` from the supplied SubDyn template, retain its fully fixed mudline reaction joint, and request the native SubDyn channels `ReactFXss` and `ReactMYss`. 2. Create `/home/user/Desktop/elasto_subdyn.dat`, `/home/user/Desktop/aero_subdyn.dat`, and `/home/user/Desktop/servo_subdyn.dat` from the supplied module files and normalize their dependency paths to the desktop `5MW_Baseline` tree. Create `/home/user/Desktop/subdyn_case.fst` from the main template; set `TMax=30`, `CompSeaSt=0`, `CompHydro=0`, `CompSub=1`, `DT_Out=0.1`, `OutFileFmt=1`, and point `EDFile`, `AeroFile`, `ServoFile`, and `SubFile` to the generated files. 3. Run `/home/user/miniconda3/bin/openfast subdyn_case.fst`, retain `/home/user/Desktop/subdyn_case.out`, and save the console output as `/home/user/Desktop/subdyn_case.log`; require normal termination. 4. Write `/home/user/Desktop/postprocess.py` and use samples with `t >= 20 s` to compute mean `ReactMYss`; the glue-code channel is in N*m, so divide by `1e6` for MN-m. Compute mean `ReactFXss`; its channel is in N, so divide by `1000` for kN. Save `/home/user/Desktop/summary.txt` as one row `mean_reactmyss_mnm,mean_reactfxss_kn`. Do not use GUI tools.", | |
| "source": "https://github.com/openFAST/r-test", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-05/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/aero_subdyn.dat", | |
| "/home/user/Desktop/build_case.py", | |
| "/home/user/Desktop/elasto_subdyn.dat", | |
| "/home/user/Desktop/postprocess.py", | |
| "/home/user/Desktop/servo_subdyn.dat", | |
| "/home/user/Desktop/subdyn.dat", | |
| "/home/user/Desktop/subdyn_base.fst", | |
| "/home/user/Desktop/subdyn_case.fst", | |
| "/home/user/Desktop/subdyn_case.log", | |
| "/home/user/Desktop/subdyn_case.out", | |
| "/home/user/Desktop/subdyn_oc3_base.dat", | |
| "/home/user/Desktop/summary.txt" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-05/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" | |
| } | |