From 06f4b82b9fd9fff3d6a850c28bbb3b967143cf74 Mon Sep 17 00:00:00 2001 From: zingale Date: Wed, 17 Jul 2024 15:03:52 +0000 Subject: [PATCH] deploy: 63902428a672068817128a07c34b63f113e2f291 --- _sources/olcf-andes.rst.txt | 11 +++-------- _sources/olcf-compilers.rst.txt | 2 +- _static/searchtools.js | 7 ++++--- olcf-andes.html | 11 +++-------- olcf-compilers.html | 2 +- searchindex.js | 2 +- 6 files changed, 13 insertions(+), 22 deletions(-) diff --git a/_sources/olcf-andes.rst.txt b/_sources/olcf-andes.rst.txt index 8bb7872..b37c803 100644 --- a/_sources/olcf-andes.rst.txt +++ b/_sources/olcf-andes.rst.txt @@ -2,7 +2,7 @@ Batch Visualization on Andes ============================ It is best to work on ``andes.olcf.ornl.gov``. You will want to setup -a new env for andes. We'll call it ``myenv``. +a new env for andes. We'll call it ``andes_env``. You need to load python with anaconda support there: @@ -24,11 +24,6 @@ this will modify your `.bashrc`, adding code that is specific to andes. The version of ``conda`` install on andes is very own, so it is best to install all other packages using pip in your new environment. -.. note:: - - OLCF also has ``miniforge`` installed on Andes, although the documentation - is out of date regarding that: https://docs.olcf.ornl.gov/software/python/index.html - To activate the environment, do: .. prompt:: bash @@ -48,7 +43,7 @@ you need to do: .. prompt:: bash - source activate myenv + source activate andes_env Then you can run a python script that does visualization as with the following submission script:: @@ -61,7 +56,7 @@ following submission script:: cd $SLURM_SUBMIT_DIR - source activate myenv + source activate andes_env srun python vol-xrb-enuc.py flame_wave_1000Hz_25cm_smallplt203204 diff --git a/_sources/olcf-compilers.rst.txt b/_sources/olcf-compilers.rst.txt index e04c47a..52c4387 100644 --- a/_sources/olcf-compilers.rst.txt +++ b/_sources/olcf-compilers.rst.txt @@ -67,7 +67,7 @@ load modules: .. prompt:: bash module load PrgEnv-gnu - module load cray-mpich/8.1.27 + module load cray-mpich/8.1.28 module load craype-accel-amd-gfx90a module load amd-mixed/6.0.0 module unload darshan-runtime diff --git a/_static/searchtools.js b/_static/searchtools.js index 92da3f8..b08d58c 100644 --- a/_static/searchtools.js +++ b/_static/searchtools.js @@ -178,7 +178,7 @@ const Search = { htmlToText: (htmlString, anchor) => { const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html'); - for (const removalQuery of [".headerlinks", "script", "style"]) { + for (const removalQuery of [".headerlink", "script", "style"]) { htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() }); } if (anchor) { @@ -328,13 +328,14 @@ const Search = { for (const [title, foundTitles] of Object.entries(allTitles)) { if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) { for (const [file, id] of foundTitles) { - let score = Math.round(100 * queryLower.length / title.length) + const score = Math.round(Scorer.title * queryLower.length / title.length); + const boost = titles[file] === title ? 1 : 0; // add a boost for document titles normalResults.push([ docNames[file], titles[file] !== title ? `${titles[file]} > ${title}` : title, id !== null ? "#" + id : "", null, - score, + score + boost, filenames[file], ]); } diff --git a/olcf-andes.html b/olcf-andes.html index 85b10a4..1d11d39 100644 --- a/olcf-andes.html +++ b/olcf-andes.html @@ -92,7 +92,7 @@

Batch Visualization on Andes

It is best to work on andes.olcf.ornl.gov. You will want to setup -a new env for andes. We’ll call it myenv.

+a new env for andes. We’ll call it andes_env.

You need to load python with anaconda support there: