Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching haloes #99

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft

Matching haloes #99

wants to merge 20 commits into from

Conversation

VictorForouhar
Copy link
Collaborator

Script is intended to be used to match haloes across simulations/halo finder runs using SOAP membership files.

@VictorForouhar
Copy link
Collaborator Author

I have basic matching done. I still need to add an initial sorting step in ascending particle ID, to handle different versions of the same simulation box (e.g. DMO vs HYDRO and HYDRO variations). I also want to make MPI rank sorting of subhaloes to match to be ordered and continuous in value.

@VictorForouhar
Copy link
Collaborator Author

VictorForouhar commented Sep 4, 2024

This is the script I am using to test the implementation (HBT to VR central subgroups)

#!/bin/bash -l

module purge
module load python/3.12.4 gnu_comp/14.1.0 openmpi/5.0.3 parallel_hdf5/1.12.3
source /cosma8/data/dp004/dc-foro1/SOAP/openmpi-5.0.3-hdf5-1.12.3-env/bin/activate

membership_one="/cosma8/data/dp004/dc-foro1/halo_finder_comparison/FLAMINGO/L1000N0900/DMO_FIDUCIAL/SOAP_uncompressed/HBTplus/membership_0077/membership_0077.{file_nr}.hdf5"
membership_two="/cosma8/data/dp004/dc-foro1/halo_finder_comparison/FLAMINGO/L1000N0900/DMO_FIDUCIAL/SOAP_uncompressed/VR/membership_0077/membership_0077.{file_nr}.hdf5"
output_path="/cosma8/data/dp004/dc-foro1/halo_finder_comparison/matching_tests/output.hdf5"
                                                                                                                                                                                    
mpirun -np 8 -- python3 -m mpi4py match_halos.py $membership_one $membership_two $output_path --centrals_only --dmo --types 1

@robjmcgibbon robjmcgibbon mentioned this pull request Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant