Skip to content

Instantly share code, notes, and snippets.

View Wenqi-Liu's full-sized avatar

Wenqi-Liu

  • RWTH Aachen University
View GitHub Profile
@gdlmx
gdlmx / build-DAMASK.sh
Last active July 21, 2023 11:48
Build script for DAMASK v2.0.2
#!/bin/bash
set -e
#INTELROOT=$( which ifort | sed -e 's:bin/\w*/*ifort::' )
#source $INTELROOT/bin/compilervars.sh intel64
function getsrc () {
local filename=$(basename "$1")
local dirname=${filename%%-*}
[ -d ${dirname}*/ ] || ( wget "$1" && tar -xf "$filename" && rm "$filename" )