Skip to content

add available software overview #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/available_software/data/json_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"targets": ["/cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/generic", "/cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/neoverse_n1", "/cvmfs/software.eessi.io/versions/2023.06/software/linux/aarch64/neoverse_v1", "/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/generic", "/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen2", "/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/amd/zen3", "/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/intel/haswell", "/cvmfs/software.eessi.io/versions/2023.06/software/linux/x86_64/intel/skylake_avx512"], "modules": {"ALL": [1, 1, 1, 1, 1, 1, 1, 1], "AOFlagger": [1, 1, 1, 1, 1, 1, 1, 1], "ATK": [1, 1, 1, 1, 1, 1, 1, 1], "Abseil": [1, 1, 1, 1, 1, 1, 1, 1], "Armadillo": [1, 1, 1, 1, 1, 1, 1, 1], "BLIS": [1, 1, 1, 1, 1, 1, 1, 1], "BWA": [1, 1, 1, 1, 1, 1, 1, 1], "Bazel": [1, 1, 1, 1, 1, 1, 1, 1], "BeautifulSoup": [1, 1, 1, 1, 1, 1, 1, 1], "Bison": [1, 1, 1, 1, 1, 1, 1, 1], "Boost": [1, 1, 1, 1, 1, 1, 1, 1], "Boost.MPI": [1, 1, 1, 1, 1, 1, 1, 1], "Boost.Python": [1, 1, 1, 1, 1, 1, 1, 1], "Brotli": [1, 1, 1, 1, 1, 1, 1, 1], "Brunsli": [1, 1, 1, 1, 1, 1, 1, 1], "CDO": [1, 1, 1, 1, 1, 1, 1, 1], "CFITSIO": [1, 1, 1, 1, 1, 1, 1, 1], "CGAL": [1, 1, 1, 1, 1, 1, 1, 1], "CMake": [1, 1, 1, 1, 1, 1, 1, 1], "CUDA": [1, 1, 1, 1, 1, 1, 1, 1], "CUDA-Samples": [1, 1, 1, 1, 1, 1, 1, 1], "Catch2": [1, 1, 1, 1, 1, 1, 1, 1], "Cbc": [1, 1, 1, 1, 1, 1, 1, 1], "Cgl": [1, 1, 1, 1, 1, 1, 1, 1], "Clp": [1, 1, 1, 1, 1, 1, 1, 1], "CoinUtils": [1, 1, 1, 1, 1, 1, 1, 1], "DB": [1, 1, 1, 1, 1, 1, 1, 1], "DP3": [1, 1, 1, 1, 1, 1, 1, 1], "Doxygen": [1, 1, 1, 1, 1, 1, 1, 1], "ELPA": [1, 1, 1, 1, 1, 1, 1, 1], "ESPResSo": [1, 1, 1, 1, 1, 1, 1, 1], "EasyBuild": [1, 1, 1, 1, 1, 1, 1, 1], "Eigen": [1, 1, 1, 1, 1, 1, 1, 1], "EveryBeam": [1, 1, 1, 1, 1, 1, 1, 1], "FFTW": [1, 1, 1, 1, 1, 1, 1, 1], "FFTW.MPI": [1, 1, 1, 1, 1, 1, 1, 1], "FFmpeg": [1, 1, 1, 1, 1, 1, 1, 1], "FLAC": [1, 1, 1, 1, 1, 1, 1, 1], "FlexiBLAS": [1, 1, 1, 1, 1, 1, 1, 1], "FriBidi": [1, 1, 1, 1, 1, 1, 1, 1], "GCC": [1, 1, 1, 1, 1, 1, 1, 1], "GCCcore": [1, 1, 1, 1, 1, 1, 1, 1], "GDAL": [1, 1, 1, 1, 1, 1, 1, 1], "GDRCopy": [1, 1, 1, 1, 1, 1, 1, 1], "GEOS": [1, 1, 1, 1, 1, 1, 1, 1], "GLPK": [1, 1, 1, 1, 1, 1, 1, 1], "GLib": [1, 1, 1, 1, 1, 1, 1, 1], "GMP": [1, 1, 1, 1, 1, 1, 1, 1], "GObject-Introspection": [1, 1, 1, 1, 1, 1, 1, 1], "GSL": [1, 1, 1, 1, 1, 1, 1, 1], "GTK3": [1, 1, 1, 1, 1, 1, 1, 1], "Gdk-Pixbuf": [1, 1, 1, 1, 1, 1, 1, 1], "Ghostscript": [1, 1, 1, 1, 1, 1, 1, 1], "GitPython": [1, 1, 1, 1, 1, 1, 1, 1], "HDF": [1, 1, 1, 1, 1, 1, 1, 1], "HDF5": [1, 1, 1, 1, 1, 1, 1, 1], "HarfBuzz": [1, 1, 1, 1, 1, 1, 1, 1], "HepMC3": [1, 1, 1, 1, 1, 1, 1, 1], "Highway": [1, 1, 1, 1, 1, 1, 1, 1], "ICU": [1, 1, 1, 1, 1, 1, 1, 1], "IDG": [1, 1, 1, 1, 1, 1, 1, 1], "IPython": [1, 1, 1, 1, 1, 1, 1, 1], "ImageMagick": [1, 1, 1, 1, 1, 1, 1, 1], "Imath": [1, 1, 1, 1, 1, 1, 1, 1], "JasPer": [1, 1, 1, 1, 1, 1, 1, 1], "Java": [1, 1, 1, 1, 1, 1, 1, 1], "JsonCpp": [1, 1, 1, 1, 1, 1, 1, 1], "JupyterLab": [1, 1, 1, 1, 1, 1, 1, 1], "JupyterNotebook": [1, 1, 1, 1, 1, 1, 1, 1], "LAME": [1, 1, 1, 1, 1, 1, 1, 1], "LAMMPS": [1, 1, 1, 1, 1, 1, 1, 1], "LERC": [1, 1, 1, 1, 1, 1, 1, 1], "LHAPDF": [1, 1, 1, 1, 1, 1, 1, 1], "LLVM": [1, 1, 1, 1, 1, 1, 1, 1], "LibTIFF": [1, 1, 1, 1, 1, 1, 1, 1], "LittleCMS": [1, 1, 1, 1, 1, 1, 1, 1], "LoopTools": [1, 1, 1, 1, 1, 1, 1, 1], "Lua": [1, 1, 1, 1, 1, 1, 1, 1], "MDI": [1, 1, 1, 1, 1, 1, 1, 1], "METIS": [1, 1, 1, 1, 1, 1, 1, 1], "MPC": [1, 1, 1, 1, 1, 1, 1, 1], "MPFR": [1, 1, 1, 1, 1, 1, 1, 1], "MUMPS": [1, 1, 1, 1, 1, 1, 1, 1], "Mako": [1, 1, 1, 1, 1, 1, 1, 1], "Mesa": [1, 1, 1, 1, 1, 1, 1, 1], "Meson": [1, 1, 1, 1, 1, 1, 1, 1], "NASM": [1, 1, 1, 1, 1, 1, 1, 1], "NCCL": [1, 1, 1, 1, 1, 1, 1, 1], "NLopt": [1, 1, 1, 1, 1, 1, 1, 1], "NSPR": [1, 1, 1, 1, 1, 1, 1, 1], "NSS": [1, 1, 1, 1, 1, 1, 1, 1], "Nextflow": [1, 1, 1, 1, 1, 1, 1, 1], "Ninja": [1, 1, 1, 1, 1, 1, 1, 1], "OSU-Micro-Benchmarks": [1, 1, 1, 1, 1, 1, 1, 1], "OpenBLAS": [1, 1, 1, 1, 1, 1, 1, 1], "OpenEXR": [1, 1, 1, 1, 1, 1, 1, 1], "OpenFOAM": [1, 1, 1, 1, 1, 1, 1, 1], "OpenJPEG": [1, 1, 1, 1, 1, 1, 1, 1], "OpenMPI": [1, 1, 1, 1, 1, 1, 1, 1], "OpenPGM": [1, 1, 1, 1, 1, 1, 1, 1], "OpenSSL": [1, 1, 1, 1, 1, 1, 1, 1], "Osi": [1, 1, 1, 1, 1, 1, 1, 1], "PCRE": [1, 1, 1, 1, 1, 1, 1, 1], "PCRE2": [1, 1, 1, 1, 1, 1, 1, 1], "PGPLOT": [1, 1, 1, 1, 1, 1, 1, 1], "PLUMED": [1, 1, 1, 1, 1, 1, 1, 1], "PLY": [1, 1, 1, 1, 1, 1, 1, 1], "PMIx": [1, 1, 1, 1, 1, 1, 1, 1], "PROJ": [1, 1, 1, 1, 1, 1, 1, 1], "Pango": [1, 1, 1, 1, 1, 1, 1, 1], "ParaView": [1, 1, 1, 1, 1, 1, 1, 1], "Perl": [1, 1, 1, 1, 1, 1, 1, 1], "Pillow": [1, 1, 1, 1, 1, 1, 1, 1], "Pillow-SIMD": [1, 1, 1, 1, 1, 1, 1, 1], "Pint": [1, 1, 1, 1, 1, 1, 1, 1], "PuLP": [1, 1, 1, 1, 1, 1, 1, 1], "PyOpenGL": [1, 1, 1, 1, 1, 1, 1, 1], "PyQt-builder": [1, 1, 1, 1, 1, 1, 1, 1], "PyQt5": [1, 1, 1, 1, 1, 1, 1, 1], "PyTorch": [1, 1, 1, 1, 1, 1, 1, 1], "PyYAML": [1, 1, 1, 1, 1, 1, 1, 1], "PyZMQ": [1, 1, 1, 1, 1, 1, 1, 1], "Python": [1, 1, 1, 1, 1, 1, 1, 1], "Python-bundle-PyPI": [1, 1, 1, 1, 1, 1, 1, 1], "Qhull": [1, 1, 1, 1, 1, 1, 1, 1], "Qt5": [1, 1, 1, 1, 1, 1, 1, 1], "QuantumESPRESSO": [1, 1, 1, 1, 1, 1, 1, 1], "R": [1, 1, 1, 1, 1, 1, 1, 1], "RE2": [1, 1, 1, 1, 1, 1, 1, 1], "ReFrame": [1, 1, 1, 1, 1, 1, 1, 1], "Rivet": [1, 1, 1, 1, 1, 1, 1, 1], "Rust": [1, 1, 1, 1, 1, 1, 1, 1], "SCOTCH": [1, 1, 1, 1, 1, 1, 1, 1], "SDL2": [1, 1, 1, 1, 1, 1, 1, 1], "SIP": [1, 1, 1, 1, 1, 1, 1, 1], "SQLite": [1, 1, 1, 1, 1, 1, 1, 1], "ScaFaCoS": [0, 0, 0, 1, 1, 1, 1, 1], "ScaLAPACK": [1, 1, 1, 1, 1, 1, 1, 1], "SciPy-bundle": [1, 1, 1, 1, 1, 1, 1, 1], "Szip": [1, 1, 1, 1, 1, 1, 1, 1], "Tcl": [1, 1, 1, 1, 1, 1, 1, 1], "TensorFlow": [1, 1, 1, 1, 1, 1, 1, 1], "Tk": [1, 1, 1, 1, 1, 1, 1, 1], "Tkinter": [1, 1, 1, 1, 1, 1, 1, 1], "UCC": [1, 1, 1, 1, 1, 1, 1, 1], "UCC-CUDA": [1, 1, 1, 1, 1, 1, 1, 1], "UCX": [1, 1, 1, 1, 1, 1, 1, 1], "UCX-CUDA": [1, 1, 1, 1, 1, 1, 1, 1], "UDUNITS": [1, 1, 1, 1, 1, 1, 1, 1], "UnZip": [1, 1, 1, 1, 1, 1, 1, 1], "VTK": [1, 1, 1, 1, 1, 1, 1, 1], "Voro++": [1, 1, 1, 1, 1, 1, 1, 1], "WCSLIB": [1, 1, 1, 1, 1, 1, 1, 1], "WRF": [1, 1, 1, 1, 1, 1, 1, 1], "WSClean": [1, 1, 1, 1, 1, 1, 1, 1], "Wayland": [1, 1, 1, 1, 1, 1, 1, 1], "X11": [1, 1, 1, 1, 1, 1, 1, 1], "Xerces-C++": [1, 1, 1, 1, 1, 1, 1, 1], "Xvfb": [1, 1, 1, 1, 1, 1, 1, 1], "YODA": [1, 1, 1, 1, 1, 1, 1, 1], "Yasm": [0, 0, 0, 1, 1, 1, 1, 1], "Z3": [1, 1, 1, 1, 1, 1, 1, 1], "ZeroMQ": [1, 1, 1, 1, 1, 1, 1, 1], "Zip": [1, 1, 1, 1, 1, 1, 1, 1], "archspec": [1, 1, 1, 1, 1, 1, 1, 1], "arpack-ng": [1, 1, 1, 1, 1, 1, 1, 1], "at-spi2-atk": [1, 1, 1, 1, 1, 1, 1, 1], "at-spi2-core": [1, 1, 1, 1, 1, 1, 1, 1], "bokeh": [1, 1, 1, 1, 1, 1, 1, 1], "cURL": [1, 1, 1, 1, 1, 1, 1, 1], "cairo": [1, 1, 1, 1, 1, 1, 1, 1], "casacore": [1, 1, 1, 1, 1, 1, 1, 1], "cffi": [1, 1, 1, 1, 1, 1, 1, 1], "cppy": [1, 1, 1, 1, 1, 1, 1, 1], "cryptography": [1, 1, 1, 1, 1, 1, 1, 1], "dask": [1, 1, 1, 1, 1, 1, 1, 1], "dill": [1, 1, 1, 1, 1, 1, 1, 1], "double-conversion": [1, 1, 1, 1, 1, 1, 1, 1], "ecBuild": [1, 1, 1, 1, 1, 1, 1, 1], "ecCodes": [1, 1, 1, 1, 1, 1, 1, 1], "expat": [1, 1, 1, 1, 1, 1, 1, 1], "expecttest": [1, 1, 1, 1, 1, 1, 1, 1], "fastjet": [1, 1, 1, 1, 1, 1, 1, 1], "fastjet-contrib": [1, 1, 1, 1, 1, 1, 1, 1], "ffnvcodec": [1, 1, 1, 1, 1, 1, 1, 1], "flatbuffers": [1, 1, 1, 1, 1, 1, 1, 1], "flatbuffers-python": [1, 1, 1, 1, 1, 1, 1, 1], "flit": [1, 1, 1, 1, 1, 1, 1, 1], "fontconfig": [1, 1, 1, 1, 1, 1, 1, 1], "foss": [1, 1, 1, 1, 1, 1, 1, 1], "freetype": [1, 1, 1, 1, 1, 1, 1, 1], "gfbf": [1, 1, 1, 1, 1, 1, 1, 1], "giflib": [1, 1, 1, 1, 1, 1, 1, 1], "git": [1, 1, 1, 1, 1, 1, 1, 1], "gmpy2": [1, 1, 1, 1, 1, 1, 1, 1], "gnuplot": [1, 1, 1, 1, 1, 1, 1, 1], "gompi": [1, 1, 1, 1, 1, 1, 1, 1], "googletest": [1, 1, 1, 1, 1, 1, 1, 1], "graphite2": [1, 1, 1, 1, 1, 1, 1, 1], "groff": [1, 1, 1, 1, 1, 1, 1, 1], "gzip": [1, 1, 1, 1, 1, 1, 1, 1], "h5py": [1, 1, 1, 1, 1, 1, 1, 1], "hatchling": [1, 1, 1, 1, 1, 1, 1, 1], "hwloc": [1, 1, 1, 1, 1, 1, 1, 1], "hypothesis": [1, 1, 1, 1, 1, 1, 1, 1], "ipympl": [1, 1, 1, 1, 1, 1, 1, 1], "jbigkit": [1, 1, 1, 1, 1, 1, 1, 1], "jq": [1, 1, 1, 1, 1, 1, 1, 1], "json-c": [1, 1, 1, 1, 1, 1, 1, 1], "jupyter-server": [1, 1, 1, 1, 1, 1, 1, 1], "kim-api": [1, 1, 1, 1, 1, 1, 1, 1], "libGLU": [1, 1, 1, 1, 1, 1, 1, 1], "libaec": [1, 1, 1, 1, 1, 1, 1, 1], "libarchive": [1, 1, 1, 1, 1, 1, 1, 1], "libcerf": [1, 1, 1, 1, 1, 1, 1, 1], "libdeflate": [1, 1, 1, 1, 1, 1, 1, 1], "libdrm": [1, 1, 1, 1, 1, 1, 1, 1], "libepoxy": [1, 1, 1, 1, 1, 1, 1, 1], "libevent": [1, 1, 1, 1, 1, 1, 1, 1], "libfabric": [1, 1, 1, 1, 1, 1, 1, 1], "libffi": [1, 1, 1, 1, 1, 1, 1, 1], "libgd": [1, 1, 1, 1, 1, 1, 1, 1], "libgeotiff": [1, 1, 1, 1, 1, 1, 1, 1], "libgit2": [1, 1, 1, 1, 1, 1, 1, 1], "libglvnd": [1, 1, 1, 1, 1, 1, 1, 1], "libiconv": [1, 1, 1, 1, 1, 1, 1, 1], "libidn2": [1, 1, 1, 1, 1, 1, 1, 1], "libjpeg-turbo": [1, 1, 1, 1, 1, 1, 1, 1], "libogg": [1, 1, 1, 1, 1, 1, 1, 1], "libopus": [1, 1, 1, 1, 1, 1, 1, 1], "libpciaccess": [1, 1, 1, 1, 1, 1, 1, 1], "libpng": [1, 1, 1, 1, 1, 1, 1, 1], "libsndfile": [1, 1, 1, 1, 1, 1, 1, 1], "libsodium": [1, 1, 1, 1, 1, 1, 1, 1], "libspatialindex": [1, 1, 1, 1, 1, 1, 1, 1], "libtirpc": [1, 1, 1, 1, 1, 1, 1, 1], "libunwind": [1, 1, 1, 1, 1, 1, 1, 1], "libvorbis": [1, 1, 1, 1, 1, 1, 1, 1], "libwebp": [1, 1, 1, 1, 1, 1, 1, 1], "libxc": [1, 1, 1, 1, 1, 1, 1, 1], "libxml2": [1, 1, 1, 1, 1, 1, 1, 1], "libxslt": [1, 1, 1, 1, 1, 1, 1, 1], "libyaml": [1, 1, 1, 1, 1, 1, 1, 1], "lxml": [1, 1, 1, 1, 1, 1, 1, 1], "lz4": [1, 1, 1, 1, 1, 1, 1, 1], "make": [1, 1, 1, 1, 1, 1, 1, 1], "matplotlib": [1, 1, 1, 1, 1, 1, 1, 1], "maturin": [1, 1, 1, 1, 1, 1, 1, 1], "meson-python": [1, 1, 1, 1, 1, 1, 1, 1], "mpi4py": [1, 1, 1, 1, 1, 1, 1, 1], "netCDF": [1, 1, 1, 1, 1, 1, 1, 1], "netCDF-Fortran": [1, 1, 1, 1, 1, 1, 1, 1], "nettle": [1, 1, 1, 1, 1, 1, 1, 1], "networkx": [1, 1, 1, 1, 1, 1, 1, 1], "nlohmann_json": [1, 1, 1, 1, 1, 1, 1, 1], "nodejs": [1, 1, 1, 1, 1, 1, 1, 1], "nsync": [1, 1, 1, 1, 1, 1, 1, 1], "numactl": [1, 1, 1, 1, 1, 1, 1, 1], "patchelf": [1, 1, 1, 1, 1, 1, 1, 1], "pixman": [1, 1, 1, 1, 1, 1, 1, 1], "pkgconf": [1, 1, 1, 1, 1, 1, 1, 1], "pkgconfig": [1, 1, 1, 1, 1, 1, 1, 1], "poetry": [1, 1, 1, 1, 1, 1, 1, 1], "protobuf": [1, 1, 1, 1, 1, 1, 1, 1], "protobuf-python": [1, 1, 1, 1, 1, 1, 1, 1], "pybind11": [1, 1, 1, 1, 1, 1, 1, 1], "pytest-flakefinder": [1, 1, 1, 1, 1, 1, 1, 1], "pytest-rerunfailures": [1, 1, 1, 1, 1, 1, 1, 1], "pytest-shard": [1, 1, 1, 1, 1, 1, 1, 1], "python-casacore": [1, 1, 1, 1, 1, 1, 1, 1], "re2c": [1, 1, 1, 1, 1, 1, 1, 1], "scikit-build": [1, 1, 1, 1, 1, 1, 1, 1], "scikit-learn": [1, 1, 1, 1, 1, 1, 1, 1], "setuptools-rust": [1, 1, 1, 1, 1, 1, 1, 1], "siscone": [1, 1, 1, 1, 1, 1, 1, 1], "snakemake": [1, 1, 1, 1, 1, 1, 1, 1], "snappy": [1, 1, 1, 1, 1, 1, 1, 1], "sympy": [1, 1, 1, 1, 1, 1, 1, 1], "tbb": [0, 0, 0, 1, 1, 1, 1, 1], "tcsh": [1, 1, 1, 1, 1, 1, 1, 1], "time": [1, 1, 1, 1, 1, 1, 1, 1], "tornado": [1, 1, 1, 1, 1, 1, 1, 1], "typing-extensions": [1, 1, 1, 1, 1, 1, 1, 1], "virtualenv": [1, 1, 1, 1, 1, 1, 1, 1], "waLBerla": [1, 1, 1, 1, 1, 1, 1, 1], "wget": [1, 1, 1, 1, 1, 1, 1, 1], "wrapt": [1, 1, 1, 1, 1, 1, 1, 1], "x264": [1, 1, 1, 1, 1, 1, 1, 1], "x265": [1, 1, 1, 1, 1, 1, 1, 1], "xorg-macros": [1, 1, 1, 1, 1, 1, 1, 1], "xxd": [1, 1, 1, 1, 1, 1, 1, 1], "zstd": [1, 1, 1, 1, 1, 1, 1, 1]}, "time_generated": "Tue, 02 Apr 2024 at 17:34:38 CEST"}
1 change: 1 addition & 0 deletions docs/available_software/data/json_data_detail.json

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions docs/available_software/javascripts/populate_overview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/**
* Copyright 2023-2023 Ghent University
*
*
* SPDX license identifier: GPL-3.0-or-later
*
* @author: Michiel Lachaert, Kenneth Hoste (HPC-UGent)
*/

/**
* A function that populates the table on the module overview page with information about all the available modules.
*/
function populate_overview(json_data) {
fetch(json_data)
.then((response) => response.json())
.then((json) => {
// Set generated time
const p = document.getElementById("time")
p.innerText = `This data was automatically generated ${json.time_generated}`


// CONSTRUCT TABLE

// list with all the names of the targets
const all_targets = json.targets.map(x => {
//Todo: split up the strings of the targets to automate the hierarchy of the table header
console.log(x)
let pathArray = x.split("/")
pathArray = pathArray.slice(7)
console.log(pathArray)
console.log(pathArray[pathArray.length -1])
x = pathArray[pathArray.length -1]
//x = pathArray
return ({"title": x})
})
console.log(all_targets)
console.log([...[{"title": "name"}], ...all_targets])
const table = new DataTable('#overview_table', {
columns: [...[{"title": "name"}], ...all_targets],
paging: false,
columnDefs: [
{
targets: "_all",
className: 'dt-body-center'
}
]
});
console.log(table)


// ADD DATA
let new_rows = [];

// list_avaible contains a list with booleans.
// These booleans indicates if the software is available on the corresponding cluster.
for (const [software, list_available] of Object.entries(json.modules)) {
let new_row = [`<a href="../detail/${software}">${software}</a>`];
list_available.forEach(bool => new_row.push(bool ? "x" : "-"));
new_rows.push(new_row);
}

table.rows.add(new_rows).draw();
})
}

// Only start populating the table if the correct page has been loaded.
document$.subscribe(function() {
if (document.getElementById("overview_table")) {
populate_overview("../data/json_data.json")
}
})
30 changes: 30 additions & 0 deletions docs/available_software/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Available software (via modules)

This table gives an overview of all the available software in EESSI per specific CPU target.

<p id="time"></p>
<table id="overview_table" class="display" style="width:100%">
<thead>
<tr>
<th rowspan="3">Name</th>
<th colspan="3">aarch64</th>
<th colspan="5">x86_64</th>
</tr>
</tr>
<th colspan="3"></th>
<th colspan="1"></th>
<th colspan="2">amd</th>
<th colspan="2">intel</th>
</tr>
<tr>
<th colspan="1">generic</th>
<th colspan="1">neoverse_n1</th>
<th colspan="1">neoverse_v1</th>
<th colspan="1">generic</th>
<th colspan="1">zen2</th>
<th colspan="1">zen3</th>
<th colspan="1">haswell</th>
<th colspan="1">skylake_avx512</th>
</tr>
</thead>
</table>
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ For users:

* [`software.eessi.io` repository](repositories/software.eessi.io.md)
* [Access](getting_access/is_eessi_accessible.md), [initialize](using_eessi/setting_up_environment.md) and [use](using_eessi/basic_commands.md) EESSI
* [Overview of software](available_software/overview.md)
* [How to run EESSI test suite](test-suite/index.md)
* [Get help or report issue](support.md)

Expand Down
10 changes: 9 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ nav:
- Set up environment: using_eessi/setting_up_environment.md
- Basic commands: using_eessi/basic_commands.md
- Demos: using_eessi/eessi_demos.md
- Available software: available_software/overview.md
- Advanced usage:
- Repositories:
- Production: repositories/software.eessi.io.md
Expand Down Expand Up @@ -118,6 +119,13 @@ extra:
social:
- icon: fontawesome/brands/twitter
link: https://twitter.com/eessi_hpc
# mermaid diagram
extra_javascript:
# mermaid diagram
- https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs
# javascript which generates overview of available software
- https://code.jquery.com/jquery-3.7.0.min.js
- https://cdn.datatables.net/1.13.6/js/jquery.dataTables.min.js
- available_software/javascripts/populate_overview.js
extra_css:
# CSS for popultate_overview
- https://cdn.datatables.net/1.13.6/css/jquery.dataTables.min.css
23 changes: 1 addition & 22 deletions scripts/available_software/available_software.py
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
#
# Copyright 2023-2023 Ghent University
#
# This file is part of vsc_user_docs,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://www.vscentrum.be),
# the Flemish Research Foundation (FWO) (http://www.fwo.be/en)
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
# SPDX license identifier: GPL-3.0-or-later
#
# https://github.com/hpcugent/vsc_user_docs
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
# The original program is update and is now a part of the EESSI docs
"""
Python script to generate an overview of available modules across different CPU and GPU targets,
in MarkDown format.
Expand Down
Loading