Skip to content

Instantly share code, notes, and snippets.

View uswc_copy.c
#include <assert.h>
#include <stdint.h>
#include <smmintrin.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
#define CACHED_BUFFER_SIZE 8192
View tests_on_cluster.bash
#!/bin/bash
#
#SBATCH --job-name=oggm_tests
#SBATCH --ntasks=1
#SBATCH --cpus-per-task=4
# Abort whenever a single step fails. Without this, bash will just continue on errors.
set -e
# We create a sub-directory for this job to store its runtime data at.