Skip to content

Instantly share code, notes, and snippets.

@berceanu
Last active June 18, 2022 09:22
Show Gist options
  • Save berceanu/665bde7926e420efb9bdd35d9df1c144 to your computer and use it in GitHub Desktop.
Save berceanu/665bde7926e420efb9bdd35d9df1c144 to your computer and use it in GitHub Desktop.
signac-driven-fbpic-usage

VPS

setup

$ ssh thorviaheimdall
$ conda activate /data/storage/berceanu/software/pkg/mambaforge_pic
$ cd /data/storage/berceanu/Development/signac-driven-fbpic/signac

sharing

$ python bin/rsync_to_vps.py 

running

$ ./init.sh
# multiple times
$ ./project.sh

output at /scratch/berceanu/runs/signac-driven-fbpic/workspace_lwfa

monitoring

$ squeue
$ nvitop
$ python src/dashboard.py run

best fit with experiment

$ python src/x_correlation.py

This produces weighted_correlation.pdf and pearson_correlation.pdf.

other

$ python src/parameter_scan.py

Produces xfig.pdf.

parameters

a0=2.4
power = np.linspace(1.5, 3, 8)
n_e = np.linspace(7.4, 8.1, 8) * 1.0e18 * 1.0e6

a0=2.8
power = np.linspace(1.4, 2.1, 8)
n_e = np.linspace(7.2, 7.9, 8) * 1.0e18 * 1.0e6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment