Skip to content

Instantly share code, notes, and snippets.

View wd15's full-sized avatar

Daniel Wheeler wd15

View GitHub Profile
@wd15
wd15 / README.md
Last active November 7, 2022 14:23
Nix on the cluster odyssey

Nix on the cluster

To use Nix with an ordinary install on the cluster requires access to /nix and also sharing /nix across all compute nodes. This is not feasible without a great deal of work by the sys admin. There already exist shared directories that users have access to (/users and /working). /working is used mostly for building environments and writes during job runs. There are two ways to install a non-root Nix. One is to try to install a version of Nix with a built-in alternative store location and the other is to use chroot and trick

@wd15
wd15 / data.csv
Created April 26, 2021 01:12
Prototype data from benchmark 8b
time fraction particle_count energy
0.0 0.001994998949457356 25.0 28.516358221739324
0.04 0.00199444507440518 25.0 28.349339689656492
0.08 0.001994202883377461 25.0 28.21403864244318
0.12 0.0019942441661962643 25.0 28.103650447812164
0.16 0.001994544030609188 25.0 28.01297078221205
0.2 0.001995080394112632 25.0 27.9379774787729
0.24 0.001995833576577355 25.0 27.875533597807642
0.28 0.0019967859700237107 25.0 27.82317286806698
0.32 0.001997921768026769 25.0 27.77894234297878
@wd15
wd15 / phase_field_3.csv
Last active April 30, 2021 20:28
Some data to test pfhub
We can't make this file beautiful and searchable because it's too large.
x,y,phi,dx
0.10020040080160321,0.10020040080160321,1.1373676689766583e-66,0.20040080160320642
0.30060120240480964,0.10020040080160321,1.6716662726735316e-66,0.20040080160320642
0.5010020040080161,0.10020040080160321,2.98494404557221e-66,0.20040080160320642
0.7014028056112225,0.10020040080160321,5.675670774047103e-66,0.20040080160320642
0.9018036072144289,0.10020040080160321,1.096164069740234e-65,0.20040080160320642
1.1022044088176353,0.10020040080160321,2.1216499984635004e-65,0.20040080160320642
1.3026052104208419,0.10020040080160321,4.100707961888886e-65,0.20040080160320642
1.5030060120240483,0.10020040080160321,7.907216276922727e-65,0.20040080160320642
1.7034068136272547,0.10020040080160321,1.5207579284148994e-64,0.20040080160320642
@wd15
wd15 / stat.txt
Created March 27, 2021 13:48
Test Data For PFHub
time fraction energy
0.000000000000000000e+00 8.370487910247716851e-03 3.579662318139762878e+00
1.000000000000000021e-02 8.369467414653258136e-03 3.579368082524063688e+00
2.000000000000000042e-02 8.368467884321309849e-03 3.579090235284580146e+00
2.999999999999999889e-02 8.367488889555291590e-03 3.578827714536508608e+00
4.000000000000000083e-02 8.366530009843404364e-03 3.578579543074494218e+00
5.000000000000000278e-02 8.365590833629144019e-03 3.578344819682142131e+00
6.000000000000000472e-02 8.364670958090843905e-03 3.578122711661106070e+00
7.000000000000000666e-02 8.363769988929483507e-03 3.577912448328437467e+00
8.000000000000000167e-02 8.362887540164166272e-03 3.577713315306138675e+00
@wd15
wd15 / README.md
Last active February 17, 2021 21:12

Work with Mourad Nachtane

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
.ipynb_checkpoints
@wd15
wd15 / README.md
Last active December 2, 2019 20:41

test file for pfhub

from fipy import Grid2D, CellVariable, FaceVariable
from fipy import ConvectionTerm, DiffusionTerm, TransientTerm
import numpy as np
from scipy import interpolate
from fipy import LinearGMRESSolver
dx = 0.5
nx = 7
dy = 0.5
ny = 7
@wd15
wd15 / README.md
Last active October 17, 2019 16:14

Toy PyMKS problem to calculate 2-point stats for a series of images.