#!/bin/bash

#Generates the BGW k/q-grid
#these module swaps are needed to allow to kgrid.x to run but then not conflict with the necessary JDFTx environment
module use /global/cfs/cdirs/m4025/Software/Perlmutter/modules
module load beast-tutorial
module swap PrgEnv-gnu PrgEnv-nvhpc
kgrid.x kgrid.in kgrid.out kgrid.log
module swap PrgEnv-nvhpc PrgEnv-gnu

