User: www-push Date: 2016/06/13 09:38 AM
Added: /about/gallery/gw150914/ compile_and_run.php
Log: gw150914: Add compile_and_run.php
File Changes:
Directory: /about/gallery/gw150914/ ===================================
File [added]: compile_and_run.php Delta lines: +37 -0 =================================================================== --- about/gallery/gw150914/compile_and_run.php (rev 0) +++ about/gallery/gw150914/compile_and_run.php 2016-06-13 14:38:28 UTC (rev 1559) @@ -0,0 +1,37 @@ +<?php $title="Compile and run binary black hole GW150914"; +include_once($_SERVER['DOCUMENT_ROOT'].'/global/header.php');?> + +<p>Download the Cactus tree using the GW150914 thornlist:</p> +<pre> +curl -O -L https://raw.githubusercontent.com/gridaphobe/CRL/ET_2015_11/GetComponents + +chmod a+x GetComponents + +./GetComponents --parallel http://einsteintoolkit.org/about/gallery/gw150914/GW150914.th + +cd Cactus +</pre> +<p>Download the parameter file:</p> +<pre>curl -Lf http://einsteintoolkit.org/about/gallery/gw150914/GW150914.rpar -o par/GW150914.rpar</pre> +<p>Configure SimFactory for your machine: + <ul> + <li>If you are on a cluster that + SimFactory supports, run + <pre>./simfactory/bin/sim setup</pre> + Hit enter for each question if the default is OK. + </li> + <li>If you are not using a cluster supported by SimFactory, see + <a href="https://docs.einsteintoolkit.org/et-docs/Compiling_the_Einstein_Toolkit">Compiling + the Einstein Toolkit</a> for instructions. + </li> + </ul> + <p>Compile Cactus:</p> + <pre>./simfactory/bin/sim build --thornlist=thornlists/GW150914.th</pre> +<p>Submit the simulation:</p> + <pre>simfactory/bin/sim create-submit GW150914_28 --define N 28 --parfile par/GW150914.rpar --procs 128 --walltime 24:00:00</pre> + <p style="background-color: yellow">This doesn't work on a cluster; it complains that the machine's default sourcebasedir doesn't exist, so you need to run GetComponents in sourcebasedir for your machine, but how can the user find this? </p> +<p> +When the simulation starts running, it will write output data into GW150914_28 in your simulations directory. +</p> + +<?php include_once($_SERVER['DOCUMENT_ROOT'].'/global/footer.php');?>