Number of devices can be overriden in config file

This commit is contained in:
Yohai Meiron 2020-04-05 11:17:21 -04:00
parent 7fae35a2d9
commit 56abe820c3
4 changed files with 24 additions and 15 deletions

View file

@ -21,7 +21,12 @@ dt_bh = 0.125
eta = 0.01
# Name of the input file; use "data.con" in most cases [default: data.con]
input_file_name = data.con
#input_file_name = data.con
# Number of devices (GRAPEs or GPUs per node) [default: 0]
# By default, each MPI process will attempt to bind to one device. To change this behaviour, set the value to the number of available devices in the system. For example, if from some reason you want to run multiple MPI processes on a machine with a single device, set the value to 1 and use the mpirun utility (or whatever is used in your job scheduler) to launch as many processes as you like.
#devices_per_node = 1
##########
@ -123,7 +128,7 @@ input_file_name = data.con
#binary_smbh_influence_sphere_output = true
# The influence sphere is centred at the binary SMBH's centre of mass, and its radius is the semi-major axis of the binary times the factor below. [default: 10]
#binary_smbh_influence_radius_factor = 10
#binary_smbh_influence_radius_factor = 20
# Add post Newtonian terms to SMBH-SMBH gravity. [default: false]
#binary_smbh_pn = true