#!/bin/bash # Fetch the initial conditions if they are not present. if [ ! -e COLIBRE_ICs_L0025N0188.hdf5 ] || [ ! -e perturbations_L0025N0188.hdf5 ] then echo "Fetching initial conditions for the COLIBRE 25Mpc low-res. example..." ./getIC.sh fi # Grab the cooling and yield tables if they are not present. if [ ! -e yieldtables ] then echo "Fetching COLIBRE yield tables..." ../getColibreYieldTables.sh fi if [ ! -e ./cooling_files ] then echo "Fetching split COLIBRE cooling tables..." ../getSplitColibreCoolingTables.sh fi if [ ! -e Early_stellar_feedback.hdf5 ] then echo "Fetching COLIBRE early feedback tables..." ../getColibreFeedbackTables.sh fi if [ ! -e ./dust_yields ] then echo "Fetching COLIBRE Dust tables..." ../getDustYieldTables.sh fi if [ ! -e photometry ] then echo "Fetching EAGLE photometry tables..." ../getEaglePhotometryTable.sh fi if [ ! -e X_Ray_tables.hdf5 ] then echo "Fetching X-ray emissivity tables..." ../getColibreXrayTables.sh fi if [ ! -e chimes-data ] then echo "Fetching chimes data..." ../getChimesData.sh fi # The following run-time options are broken down by line as: # Basic run-time options # Create and run with stars # Radiative options - run with cooling and stellar feedback # Run with the time-step limiter required to capture feedback # Run with black holes - fof is needed for the seeding # Threading options - run with threads and pinning (latter not required but improves performance) # The corresponding parameter file for this run ../../../swift \ --cosmology --colibre --dust \ --threads=32 \ colibre_25Mpc_188.yml