Tidyverse is an cohesive set of packages for doing data science in R. We have demonstrated the graphics portion of this in prior talks (ggplot). In this one we are going to demonstrate the data munging portions (dplyr, forcats, tibble, readr, stringr, tidyr, and purr) by restoring the underlying data hierarchy implicit in the layout of a 500 pages reference PDF file given only the words on each page and their bounding boxes.
AiiDA is an open source Python package to help researchers with automating complex workflows. It seamlessly integrates with High Performance Computing resources, enabling automatic submission of jobs to clusters with a SLURM scheduler. Inputs and outputs are tracked automatically so that a record of data provenance is preserved. A set of plugins to support popular scientific packages is available for AiiDA; packages supported include Gaussian, GROMACS, LAMMPS, NWChem, Quantum ESPRESSO and VASP. This seminar will introduce AiiDA and demonstrate its usage on the Alliance clusters.
We'll describe some sources of information you can access from within a job context, and show how they may offer insights into your job's behavior. The scope of this talk is relatively simple, DIY-type data collection, rather than more complicated profiling frameworks. For example, our systems expose power counters which your programs can query, if you're interested in carbon footprint. There are many other "gauges" and counters that can provide information about memory use, cache misses, sources of slowdowns, etc.
The Windows Subsystem for Linux (WSL) has revolutionized the way developers and system administrators work by seamlessly integrating the Windows and Linux ecosystems. This seminar aims to provide an in-depth exploration of WSL, its features, and its potential applications. Beginning with an introduction to WSL, describing some key differences between WSL 1 and WSL 2. Participants will gain a solid understanding of how WSL enables running a full-fledged Linux environment directly within Windows, without the need for virtual machines or dual-boot setups. Improving cross-compatibility and streamlining cross-environment development. Throughout the seminar, practical demonstrations will showcase the seamless integration between Windows and Linux, including accessing Windows files from within WSL, running Linux applications on Windows, and leveraging Windows tools and resources from within WSL. By the end of this seminar, attendees will have a comprehensive understanding of WSL's capabilities, advantages, and practical applications. They will be equipped with the knowledge and skills necessary to begin leveraging WSL effectively.
Password managers offer users a way to generate, store, and organize strong passwords and notes. In this presentation, we will discuss the benefits and drawbacks of self-hosted password managers, highlight their key features, and explore their role in enhancing password security. We will explore a few self-hosted password managers that are free of charge that have become popular solutions for managing passwords securely, such as: KeePass, KeePassXC, Vaultwarden, and Passbolt. We’ll also touch on commercial (paid) options such as: Bitwarden 1Password and Dashlane and Google Password Manager.
Contrastive learning is a machine learning technique used to learn a representation of the input data that maximizes the difference between samples of different classes and minimizes the difference between samples of the same class. The learned representation (or features) will then be used to solve a classification problem. In this tutorial, we show this effective learning technique from head to toe through an image classification example. As you can see, contrastive learning plays a role of feature extractor which helps subsequent classification training to achieve higher accuracy.
ChatGPT needs no introduction. We have all heard about it, and most of us have tried it out. In this session we'll explore OpenAI's playground tool to learn more about how the models behind ChatGPT work, and how we can use them for more than writing our emails and reports.
Python is a language developers choose to write in for convenience rather than speed. However, speed can be recovered by offloading calculations to libraries which leverage lower level languages like NumPy, Cython, and more. Scalene is a high-performance CPU, GPU, and memory profiler which can illustrate where code should be passing calculations to other libraries for significant increases in speed. Scalene also includes support for Jupyter Notebooks, OpenAI suggestions for vectorizing code, as well as a significantly lower overhead and higher accuracy than other profilers. This talk will introduce the concepts required for understanding why external libraries are faster than native Python, interactions with approaches such as Cython and Just-in-Time compilers, as well as a live demonstration of Scalene on the Alliance systems inside of a Jupyter Notebook. Familiarity with Python, virtual environments, and Jupyter notebooks will be assumed.
Many research computing projects involve workloads of large amounts of relatively short, independent computations. Such workloads are a common reason for researchers to move to shared resources. Despite being called an "embarrasingly parallel" problem, orchestrating large amounts of small computational jobs is surprisingly subtle, particularly when dealing with shared resources with their own usage policies and implementations. To deal with this, many tools have been created, used for a while, and then abandoned. Here, we will focus on a tool for job orchestration that is very versatile and actively maintained, GNU Parallel, and show how it helps for a number of use cases.
For a long time, CUDA was the platform of choice for developing applications running on NVIDIA’s GPUs. That is starting to change in recent years with the introduction of AMD’s ROCm and Intel’s oneAPI which both support GPUs by other vendors. While ROCm targets both AMD and NVIDIA GPUs, using the recently released drivers by CodePlay, oneAPI applications can run on NVIDIA and AMD in addition to Intel’s GPUs. The question this seminar is trying to answer is if in 2023 you want to start a project targeting GPUs, what would be your platform of choice? Should you go with one or all of them? Later in the seminar, a boilerplate framework named one4all will be introduced that streamlines the process of developing applications targeting all the above platforms. Unit testing with Catch2 as well as benchmarking with Google benchmark are already supported by the framework.
By default, every group can store up 500k files on Project space in 1TB of diskspace. If you have a large dataset of smaller file,i.e. ~2MB/file, you can quickly run out of inode quota. This webinar presents the usage file formats such as SQL Blob and Netcdf, to effectively store relatively a large set of smaller files.
MATLAB has been one of the major software used on Alliance's clusters. In this webinar we will talk about the current status of MATLAB, license issues, job files, standard serial and parallel job scripts, etc. We will discuss the parallel computing approaches with Parallel Computing Toolbox (PCT) including parfor for parallelizing "for loops", and spmd for parallelizing tasks, and the step-by-step procedure to use MATLAB Compiler and Runtime libraries (MCR) on the clusters with examples. The goal of this webinar is to show how one can run MATLAB efficiently on the clusters.
Multi-factor authentication, MFA, two-factor authentication, or 2FA, along with similar terms, is an electronic authentication method in which a user is granted access to a device, website or application only after successfully presenting two or more pieces of evidence (or factors) to an authentication mechanism: knowledge (something only the user knows), possession (something only the user has), and inherence (something only the user is). MFA protects user data — which may include personal identification or financial assets — from being accessed by an unauthorized third party that may have been able to discover, for example, a single password. We will explain the most common uses of MFA today, and how MFA in being implement in our environment (research computing).
Although the vast majority of production work is done by running batch jobs on the clusters, typical research projects also require interactive work to be done with the code and data both before and after running the computation jobs. This presentation explores ways of working interactively using Octave/Matlab with the Alliance compute clusters. The interactive work frequently includes tasks like code profiling, job parameter estimation, data handling, and visualization. Although the example procedures in this presentation use Octave/Matlab, many of the strategies are generalizable across software packages.
This is an introductory workshop to Data Analytics. It starts by introducing the Data Analytics pipeline and its processes. Then, it discusses the different statistical and visualization approaches for conducting Exploratory and Descriptive Analytics on data to answer the question of “What happened in the past?".
The layered grammar of graphics provides a declarative way to produce graphs. The original and most popular implementation is ggplot2 in the R programming language. A lesser know one is plotnine in python. This talk will use python and plotnine to go over basics of how you can use the grammar to combine geometry, coordinate, facet, scale, guide, and theme declarations to easily produce an almost unlimited number of types of plots.
In the world where data has become extremely important, scientists require tools to process large volumes of data efficiently. R became increasingly popular in recent years for data processing, statistical analysis, and data science. In this session we will discuss tools that measure the performance of an R code, so that we can understand the nature of performance issues. We will also describe techniques that will improve the computational speed of R code. Basic knowledge of programming in R will be assumed.
cuDF is a GPU DataFrame library in Python. It provides a Pandas-like API with accelerated performance for DataFrame operations on a single GPU. However, dealing with large datasets is limited by the memory available on a single GPU. Since Dask provides a framework for scalable computing, Dask-cuDF integrates cuDF with Dask to allow scaling out DataFrame workloads across multiple GPUs. This webinar introduces Dask-cuDF with demo examples on a multi-GPU node on the national clusters.
We are reaching the end of Moore's Law, the number of cores per chip is increasing and clock rates are peaking. Applications must be parallelised in order to reach peak theoretical performance of modern hardware. Alongside larger core counts, CPU vector registers have also increased in size. The latest chips support 512-bit vector registers operating with AVX512 instructions, which can give up to a 16x speed-up. In this talk we will introduce the concept of SIMD vectorisation and go through a simple example. We will also look at some optimisation techniques to improve vectorisation efficiency. Finally we will go over a few analysis tools that help identify potential code optimisations.
MPLAPACK is a complete multiple-precision implementation of LAPACK – the linear algebra package for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. LAPACK was written with a fixed specific precision for various routines. MPLAPACK is a rewrite of LAPACK routines supporting multiple precision. This talk introduces MPLAPACK and describes how to use it under Linux and Windows.
Managing large amounts of data can be a challenging task. Processing large numbers of files incurs heavy overhead of I/O communications. In this talk, we will explore several options such as using Apptainer Overlay and SQLite to pack and reduce a large number of files to few files, and hence, improving IO performance. Python scripts will be used throughout the presentation.
Researchers using Alliance and other advanced research computing (ARC) platforms have been (or should be) starting to think more about Research Data Management (RDM) for a variety of reasons, not least of which being the new Tri-Agency policy on RDM. Progress toward embedding RDM awareness and best practices into ARC and HPC workflows has been limited to date, but efforts are underway to fix this – including presentations like this one, which is an early attempt to look at RDM through an ARC lens. Best practices will be shared, along with a discussion of gaps in need of addressing.
The standard approach to programming neural networks is to use a neural network programming framework. Neural network frameworks are specifically designed to make implementing neural networks easy, and development fast. However, those beginning their journey in programming neural networks may be unfamiliar with the available frameworks, and the advantages of each. In this talk two solutions to the standard MNIST problem will be presented, using two commonly-used neural network frameworks: PyTorch Lightning and Keras/Tensorflow. We will compare the two frameworks for ease of implementation, performance, and training speed. The advantages and disadvantages of the two frameworks will be discussed. Familiarity with neural network and Python programming will be assumed.
The next year or two will bring major updates to the ARC resources available to Canadian researchers. We know only some of the outlines of possible hardware configurations, based on what vendors are talking about today. But we know many of the basic directions, and it's interesting to consider how they compare to our current hardware. This talk will focus on current hardware, to show the relation between hardware-level (theoretical) performance, then micro-benchmarks, and how those lead to some application-level metrics. From that context, we can make some extrapolations about the kind of performance we can hope for in upcoming systems.