Re: Varying the Execution time (problem size)

From: Revaz Yves <>
Date: Wed, 05 Mar 2008 14:58:24 +0100


Well, I'm not sure to understand clearly what you want to do.
If you want to increase the CPU time needed to run the example
you can of course increase the number of particles, i.e, creating a new
file, which is not so easy at the beginning.
Easier to do is to vary the accuracy of time integration (see section
Accuracy of time integration
in gassphere.param). For example, decreasing ErrTolIntAccuracy will
increase the CPU time.
Or decreasing ErrTolTheta will also strongly increase the CPU time.



Sanjay H A wrote:
> Hi All
> I am new to Gadget2.
> I am able to install Gadget2 and able to run one of the example
> program (lcdm_gas.param) using
> /usr/local/mpich-1.2.6/ch_p4/bin/mpirun -np 4 -machinefile hosts
> Gadget2 lcdm_gas.param
> Now I want to know, how to vary the execution time of the same example
> (on same number of processor) by varying any one of the parameter (
> which affects more on execution time, like in Molecular Dynamics
> Simulation, we can observe variation in Execution time by changing the
> number of particals).
> Can I know the parameter name for each example and also procedure to
> vary that parameter.
> Thanx in Advance
> Regards
> Sanjay
Received on 2008-03-05 15:20:26

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:30 CET