Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! Use a nice truetype font and size by default... | |
| xterm*faceName: DejaVu Sans Mono Book | |
| xterm*faceSize: 22 | |
| ! Every shell is a login shell by default (for inclusion of all necessary environment variables) | |
| xterm*loginshell: true | |
| ! I like a LOT of scrollback... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Standard output and error: | |
| #SBATCH -o ./tjob.%x.out.%j | |
| #SBATCH -e ./tjob.%x.err.%j | |
| #SBATCH --job-name="CCtest" | |
| # | |
| # Number of nodes and MPI tasks per node: | |
| #SBATCH --nodes=15 | |
| #SBATCH --ntasks-per-node=40 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import StencilDist.stencilDist; | |
| import StencilDist.boundaries; | |
| const side_low = 1; | |
| const side_high = -1; | |
| config const n = 10; | |
| config const nghost = 2; | |
| config const periodic = false; | |
| const Space = {1..n}; | |
| const AllSpace = Space.expand((nghost,)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| module purge && module load gcc/11 openmpi/4 hdf5-mpi/1.14.1 gsl/2.7 fftw-mpi/3.3.9 | |
| export LD_LIBRARY_PATH="/mpcdf/soft/SLE_15/packages/skylake/openmpi/gcc_11-11.2.0/4.0.7/lib:$LD_LIBRARY_PATH" | |
| export LD_LIBRARY_PATH="/mpcdf/soft/SLE_15/packages/skylake/gsl/gcc_11-11.2.0/2.7.1/lib:$LD_LIBRARY_PATH" | |
| export LD_LIBRARY_PATH="/mpcdf/soft/SLE_15/packages/skylake/fftw/gcc_11-11.2.0-openmpi_4-4.0.7/3.3.9/lib:$LD_LIBRARY_PATH" | |
| export LD_LIBRARY_PATH="/mpcdf/soft/SLE_15/packages/skylake/hdf5/gcc_11-11.2.0-openmpi_4-4.0.7/1.14.1/lib:$LD_LIBRARY_PATH" | |
| export GADGET4_DIR="/orion/ptmp/adutt/arepo-multi-zoom/gadget-files/gadget4_development" | |
| export PROB_DIR="/orion/ptmp/adutt/arepo-multi-zoom/gadget-files/gadget4_development/examples/multi-zoom/zoom" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -l | |
| # Standard output and error: | |
| #SBATCH -o ./tjob.%x.out.%j | |
| #SBATCH -e ./tjob.%x.err.%j | |
| #SBATCH --job-name="MZ_p-g4" | |
| # | |
| # Number of nodes and MPI tasks per node: | |
| #SBATCH --nodes=15 | |
| #SBATCH --ntasks-per-node=112 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Tue May 20 10:18:24 2025 | |
| @author: alankar | |
| install module python-pptx | |
| """ | |
| from pptx import Presentation |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Fri Nov 17 15:20:28 2023 | |
| @author: alankar | |
| """ | |
| import sys | |
| import numpy as np | |
| import yt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Fri Nov 17 12:22:19 2023 | |
| @author: alankar | |
| """ | |
| import numpy as np | |
| from scipy.special import voigt_profile | |
| import astropy.constants as const |
NewerOlder