This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:gadget-2 [2016/04/07 11:02] sfebruary [Compiling your own Gadget2 code] |
howto:gadget-2 [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Gadget2 at CHPC ====== | ====== Gadget2 at CHPC ====== | ||
| + | |||
| + | From its [[http:// | ||
| Contents: | Contents: | ||
| - [[gadget-2# | - [[gadget-2# | ||
| - [[gadget-2# | - [[gadget-2# | ||
| + | - [[gadget-2# | ||
| ===== Compiling your own Gadget2 code ===== | ===== Compiling your own Gadget2 code ===== | ||
| Line 56: | Line 58: | ||
| ===== Running Gadget2 ===== | ===== Running Gadget2 ===== | ||
| - | Let's consider one of the examples provided in '' | + | This assumes you have successfully compiled Gadget, have put together a parameter file for your particular simulation as well as generated the corresponding initial conditions. For now, let's consider one of the examples provided in '' |
| + | |||
| + | === Step 1 === | ||
| + | Make sure that you create the necessary paths (and directories) for the storing of your input data (e.g. initial conditions) as well as for the saving of Gadget2 snapshots (and other information) somewhere **on the Lustre (scratch) filesystem** i.e. ''/ | ||
| + | |||
| + | === Step 2 === | ||
| + | Create a PBS script for the job and then submit the job to the cluster queue (see [[quick: | ||
| + | <code bash> | ||
| + | [username@login1 ~]$ qsub mypbsjobscript.sh | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Generating Initial Conditions ===== | ||
| + | If you require any help with generating your own initial conditions, please contact [[mailto: | ||