Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jchelly
Copy link
Collaborator

@jchelly jchelly commented Apr 19, 2023

Here I've tried to set up the FLAMINGO batch scripts so that they will work for Virgo users on Cosma without modifications. Scratch files are written to /snap8/scratch/dp004/${USER}/FLAMINGO/ and compressed output goes to /cosma8/data/dp004/${USER}/FLAMINGO/.

I've also removed the separate hydro and dmo versions of the halo properties scripts to reduce duplication. SOAP is now run with the --dmo flag if the simulation name starts with DMO_.

I haven't done anything with the compression scripts yet.

(also fixes #23 and includes small test scripts from #15)

This now also adds a top level script that can submit jobs:

cd SOAP/scripts/FLAMINGO
./submit_jobs.sh --run=L0100N0180/HYDRO_FIDUCIAL --snapshots=0-5 \
  --membership --soap --compress-soap --compress-membership

This will add dependencies between jobs where necessary.

jchelly added 20 commits March 30, 2023 11:23
This reduces startup time when processing a small number of halos
in a large simulation.
This modifies the paths to be more consistent with previous runs
and makes the compression scripts work in the same way as the
group membership and halo properties scripts.

Not implemented for the other boxes yet.
This submits array jobs to

  * compute halo membership
  * compute halo properties
  * compress membership files
  * compress halo properties

with dependencies to ensure they run in the right order.
@jchelly
Copy link
Collaborator Author

jchelly commented Apr 19, 2023

For L0100N0180 this now includes a script that submits a set of array jobs with dependencies to compute group membership, run SOAP, and then compress the output for a specified range of snapshots.

@jchelly jchelly changed the base branch from master to subhalo_ranking April 21, 2023 09:05
@jemme07
Copy link

jemme07 commented Apr 24, 2023

Can this be merged now?

@MatthieuSchaller MatthieuSchaller self-requested a review April 24, 2023 13:22
@MatthieuSchaller
Copy link
Member

Does it work for you @jemme07 ?

@jchelly
Copy link
Collaborator Author

jchelly commented Apr 24, 2023

It would be good to hear that this works for someone other than me before we merge it. Some of the time limits probably need to be increased too.

Base automatically changed from subhalo_ranking to master April 24, 2023 14:37
@MatthieuSchaller
Copy link
Member

@jemme07 ?

(I have been using my own older scripts....)

@MatthieuSchaller
Copy link
Member

@jemme07 any updates on this?

@MatthieuSchaller
Copy link
Member

@jemme07 any updates?

@jemme07
Copy link

jemme07 commented Jun 1, 2023

@jemme07 any updates?

I have been using my own old scripts as well, but I can test it on one snap.

@MatthieuSchaller
Copy link
Member

Any news?

@MatthieuSchaller
Copy link
Member

This should be merged. @jemme07 and @jchelly any final words?

@jchelly
Copy link
Collaborator Author

jchelly commented Aug 7, 2023

I'm not sure anyone else is using this version of the scripts, but they work for me.

@MatthieuSchaller
Copy link
Member

Let's merge this for the record then.

@MatthieuSchaller MatthieuSchaller merged commit 12be2f7 into master Aug 17, 2023
@MatthieuSchaller MatthieuSchaller deleted the script_tidying branch August 17, 2023 12:21
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.

L1000N1800 group membership snapshot

4 participants