Skip to content

Commit e412947

Browse files
committed
Fixes for HPC applications
1 parent 09b9536 commit e412947

5 files changed

Lines changed: 32 additions & 3 deletions

File tree

script/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MLCommons Automation Scripts
22

3-
*Last updated: 2026-04-20 17:16:30*
3+
*Last updated: 2026-04-20 17:41:59*
44

55
This directory contains automation scripts for MLPerf benchmarks, AI/ML workflows, and development operations.
66

script/app-namd/meta.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,21 @@ deps:
3535
- MLC_GIT_REPO_URL
3636
_tag.:
3737
- MLC_GIT_CHECKOUT_TAG
38-
prehook_deps: []
38+
skip_if_env:
39+
MLC_NAMD_TARBALL_PATH:
40+
- on
41+
prehook_deps:
42+
- tags: extract,file
43+
names:
44+
- namd-tarball-extract
45+
extra_cache_tags: namd,tarball,extract
46+
force_cache: true
47+
env:
48+
MLC_EXTRACT_FILEPATH: <<<MLC_NAMD_TARBALL_PATH>>>
49+
MLC_EXTRACT_FINAL_ENV_NAME: MLC_NAMD_SRC_PATH
50+
enable_if_env:
51+
MLC_NAMD_TARBALL_PATH:
52+
- on
3953
posthook_deps: []
4054
post_deps: []
4155
variations:
@@ -68,7 +82,13 @@ variations:
6882
env:
6983
MLC_GIT_CHECKOUT: master
7084
default_env: {}
85+
input_mapping:
86+
namd_tarball_path: MLC_NAMD_TARBALL_PATH
87+
input_description:
88+
namd_tarball_path:
89+
desc: Path to a manually downloaded NAMD source tarball (NAMD requires registration at https://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=NAMD)
7190
tests:
91+
needs_pat: true
7292
run_inputs:
7393
- variations_list:
7494
- repo.official

script/app-openfoam/meta.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ deps:
2424
- tags: get,generic,sys-util,_libopenmpi-dev
2525
- tags: get,generic,sys-util,_g++-12
2626
- tags: get,generic,sys-util,_flex
27+
- tags: get,generic,sys-util,_libfl-dev
2728
- tags: get,generic,sys-util,_libfftw3-dev
2829
- tags: get,generic,sys-util,_libboost-all-dev
2930
- tags: get,cmake

script/get-dataset-cognata-mlcommons/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ prehook_deps:
6464
- gdrive
6565
tags: download,file,_gdown,_url.https://drive.google.com/drive/folders/1FS-qLbzB5htgMnfry6z4gx8J_ZH_7MsJ?usp=drive_link
6666
env:
67-
MLC_DOWNLOAD_EXTRA_OPTIONS: ' --folder'
67+
MLC_DOWNLOAD_EXTRA_OPTIONS: ' --folder '
6868
MLC_DOWNLOAD_FILENAME: 10002_Urban_Clear_Morning
6969
MLC_DOWNLOAD_FINAL_ENV_NAME: MLC_CUSTOM_CACHE_ENTRY_DATASET_MLCOMMONS_COGNATA_PATH
7070
force_cache: true

script/get-generic-sys-util/meta.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,14 @@ variations:
169169
brew: flex
170170
dnf: flex
171171
yum: flex
172+
libfl-dev:
173+
env:
174+
MLC_SYS_UTIL_NAME: libfl-dev
175+
state:
176+
libfl-dev:
177+
apt: libfl-dev
178+
dnf: flex-devel
179+
yum: flex-devel
172180
g++-11:
173181
env:
174182
MLC_GENERIC_SYS_UTIL_IGNORE_VERSION_DETECTION_FAILURE: 'yes'

0 commit comments

Comments
 (0)