Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Assuming MY_DAOS_INSTALL_PATH is set, you can run:

( Note: for the SC22 version of IO500, line 9 of this patch has been changed to the new SC22 version)

Code Block
languagebash
cat << EOF > io500_prepare.patch
diff --git a/prepare.sh b/prepare.sh
index e38cae6..54dbba5 100755
--- a/prepare.sh
+++ b/prepare.sh
@@ -8,7 +8,7 @@ echo It will output OK at the end if builds succeed
 echo

 IOR_HASH=bbfea005e2c05726da07171dfe3dfdd6c6011e14
-PFIND_HASH=778dca8
+PFIND_HASH=dfs_find

 INSTALL_DIR=\$PWD
 BIN=\$INSTALL_DIR/bin
@@ -59,7 +59,7 @@ function get_ior {

 function get_pfind {
   echo "Preparing parallel find"
-  git_co https://github.com/VI4IO/pfind.git pfind \$PFIND_HASH
+  git_co https://github.com/mchaarawi/pfind pfind \$PFIND_HASH
 }

 function get_schema_tools {
@@ -73,7 +73,7 @@ function build_ior {
   pushd "\$BUILD"/ior
   ./bootstrap
   # Add here extra flags
-  ./configure --prefix="\$INSTALL_DIR"
+  ./configure --prefix="\$INSTALL_DIR" --with-daos=\${MY_DAOS_INSTALL_PATH}
   cd src
   \$MAKE clean
   \$MAKE install
EOF

git apply io500_prepare.patch

...

Code Block
languagebash
dmg pool create -z 100G=100% --label io500_pool
daos container create --type POSIX --pool io500_pool --label=io500_cont

...