Skip to content

Instantly share code, notes, and snippets.

@ridlo
Last active November 30, 2016 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ridlo/b1b7b21d115d3261e431bced82bf34bc to your computer and use it in GitHub Desktop.
Save ridlo/b1b7b21d115d3261e431bced82bf34bc to your computer and use it in GitHub Desktop.
#Rockstar Halo Finder
#Parallel config file for multi-cpu, multi-snapshot halo finding
FILE_FORMAT = "GADGET2"
# For GADGET2, you may need to specify conversion parameters.
# Rockstar's internal units are Mpc/h (lengths) and Msun/h (masses)
GADGET_LENGTH_CONVERSION = 0.001
GADGET_MASS_CONVERSION = 1e+10
GADGET_SKIP_NON_HALO_PARTICLES = 1
# FORCE_RES should be the softening length used in the Gadget simulation
FORCE_RES = 0.026
#This specifies the use of multiple processors:
PARALLEL_IO = 1
#This specifies the input filenames:
INBASE = "./"
OUTBASE = "./output/"
FILENAME="snapshot_<snap>"
NUM_SNAPS = 6
STARTING_SNAP= 5
#SNAPSHOT_NAMES = "/scratch/c706130/simulations/100mpc_zoomed_l8_rockstar/rockstar/snapshot_names.dat"
NUM_BLOCKS=1
#This specifies how many CPUs you want to analyze the particles:
NUM_WRITERS = 4
FORK_READERS_FROM_WRITERS = 1
FORK_PROCESSORS_PER_MACHINE = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment