git clone https://github.com/hayleyjm/FLRWSolver_public
flrwsolver
, and move to Cactus/arrangements/EinsteinInitialData/
thornlists/einsteintoolkit.th
in your top Cactus directory
EinsteinInitialData
EinsteinInitialData/FLRWSolver
beneath other thorns
Llama/WaveExtractL
since it is heavy (RAM/cpu time) to compile and not needed.
EinsteinInitialData/NoExcision
, or any of the Meudon_BH
thorns (if you run into errors)
./simfactory/bin/sim build --mdbkey make 'make -j2' --thornlist=thornlists/einsteintoolkit.th --optionlist=myoptionlist.cfg
myoptionlist.cfg
is the appropriate optionlist for your machine -- look in simfactory/mdb/optionlists for a list
sim setup
; you should create a directory where you want to store simulations, and then run ./simfactory/bin/sim setup
; for local usage, you can accept the defaults for the "key" values.)
./simfactory/bin/sim submit FLRW1 --parfile=path/to/FLRW.par --procs=1 --walltime=0:30:0
./cactus_sim FLRW.par
(where cactus_sim
is the executable, located in Cactus/exe/
. Create a softlink in your simulations directory with ln -s /path/to/Cactus/exe/cactus_sim .
)
exactsolns.py
in the FLRWSolver repository to check how your simulation is working.
EOS_Omni::poly_k
in your .par file and re-running the simulation (to a max value of 0.1)
FLRW_perturb.par
to simulate a simple single-mode perturbation to a background FLRW spacetime
exactsolns.py
can be edited to instead compare solutions for the growth of linear perturbations (set FLRW=False
)
SPLASH
to visualise our 3D HDF5 data output from Cactus.
python split_HDF5_per_iteration.py
h5py
and numpy
FLRW_perturb_it0.hdf5, FLRW_perturb_it10.hdf5
... and so on.
SPLASH
. Download from: http://users.monash.edu.au/~dprice/splash/
and first compile as per instructions on the webpage
make SYSTEM=gfortran cactus
csplash-hdf5 FLRW_perturb_it0.hdf5
and select from the list which variable you want to look at!
~/simulations
either before you start or before you start running a simulation.
INCLUDE += -I../LATfield2 -I/usr/include/hdf5/serial -L/usr/lib/x86_64-linux-gnu/hdf5/serialor
INCLUDE += -I../LATfield2 -I/usr/include/hdf5/openmpi -L/usr/lib/x86_64-linux-gnu/hdf5/openmpi
gevolution-1.1/
you can do ln -s ../LATfield2 .
so that the gevolution makefile can find the LATfield2 files
mkdir output/
sudo aptitude install libfftw3-dev openmpi-bin libopenmpi-dev libhdf5-openmpi-dev libhdf5-dev hdf5-helpers
make
and run the example with (time mpirun -np 4 ./gevolution -n 2 -m 2 -s settings.ini) > gevolution.log 2>&1in order to get a nice log file - on Boud's 4-core laptop this took about 140 seconds of user time and created many output files in
output/
.
git clone https://bitbucket.org/broukema/maxima_flrw
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
png | gevolution_phi_test.png | manage | 2 K | 18 Sep 2018 - 13:23 | BoudRoukema | gevolution phi P(k) example |