This PR implements a lot of changes in the InstanceCatalog writing API.
It alters InstanceCatalogWriter.py to output a detailed job log indicating which components (stars, bulges, disks, knots, AGN, SNe) have been completed after how much clock time
It also makes it possible to pass in parameters to generateInstCat.py using a file containing a json-ized dict of prameters. This makes slurm batch scripts that submit many InstanceCatalog generating jobs with identical parameters much cleaner. I wasn't terribly careful when I thought through this function. I just wanted something that would work during the big DC2 crunch weekend. Please scrutinize my decisions. There should be an example config file here
This PR implements a lot of changes in the InstanceCatalog writing API.
It alters
InstanceCatalogWriter.py
to output a detailed job log indicating which components (stars, bulges, disks, knots, AGN, SNe) have been completed after how much clock timeIt also makes it possible to pass in parameters to
generateInstCat.py
using a file containing a json-ized dict of prameters. This makes slurm batch scripts that submit many InstanceCatalog generating jobs with identical parameters much cleaner. I wasn't terribly careful when I thought through this function. I just wanted something that would work during the big DC2 crunch weekend. Please scrutinize my decisions. There should be an example config file herehttps://github.com/LSSTDESC/sims_GCRCatSimInterface/blob/u/danielsf/rebase/config/workspace/parallel/config_file_edison.json
Finally: some changes are made to allow us to use the faster AGN simulation techniques in the
u/danielsf/cosmodc2/agn
PR.