Environment variables¶
q_end_timeProgram finish time in seconds since epoch.
Used when
check_time_limit(). Possible setting can be:export q_end_time="$(($(date +%s) + 12 * 60 * 60))"for jobs run for at most 12 hours.Default is empty.
q_time_limitTotal running time of program in seconds.
Used when
check_time_limit(), but will be overrided ifq_end_timeis set.Default is
43200.q_time_budgetDefault budget time in seconds. Possible setting can be
export q_budget=$((1 * 60 * 60))Used when
check_time_limit().Default is
900.q_field_initControl how field objects’ data are initialized.
Choices are
fast(default),zero,random.q_mem_cache_max_sizeMemory cache size in MB (per processes) for
qlat::vectorallocation.Default is
512MB.q_mem_cache_max_size_accMemory cache size in MB (per processes) for
qlat::vectorallocation withmem_type=MemType::Acc.Default is the same as
q_mem_cache_max_size.q_alloc_mem_max_sizeMaximum allocated memory size in MB (per processes) for combined
qlat::vectorandqlat::vector_accallocation. Cache size will be reduced when this limit is reached.Default is
256 * 1024MB.q_mem_type_comm_use_accIf value is
true, then theMemType::CommAccmemory will be allocated as the typeMemType::Acc.Default is
true.q_num_threadsNumber of OpenMP threads (will be overrided by
OMP_NUM_THREADS). Possible setting can beexport OMP_NUM_THREADS=16number should be adjusted by number of cores.Default is
2.q_acc_num_threadsNumber of
qaccthreads.Default is
32.q_verboseLevel of verbosity. Need to be more than
0for the timing info to be shown automatically. Possible setting can be:export q_verbose=2Default is
-1.q_timer_mini_auto_displayMinimum time between auto-display of timer information summary.
Default is
5.0 * 60.0.q_timer_mini_auto_showMinimum run time for a function for its information to be shown when it start or stop.
Default is
1.0.q_timer_max_always_showMaximum number of times to always show function start or stop.
Default is
2.q_timer_max_func_name_lenMaximum length for a function name before truncation.
Default is
75.q_malloc_mmap_thresholdIn unit of bytes.
Default is empty. It does not alter the system setting. Possible setting can be
export q_malloc_mmap_threshold=8192.q_mk_id_node_in_shuffle_seedSeed for initializing
id_node_in_shuffle.Default is
4. If start with"seed_", then will be random initialization. Otherwise will be viewed as an int and used asstep_size.q_qar_multi_vol_max_sizeMaximum size of a
qarfile in bytes. If the total size of the folder is larger, a multi-volumeqarfile will be created.Default is
500L * 1000L * 1000L * 1000L(500 GB). Ifq_qar_multi_vol_max_sizeis negative, the size is unlimited.Note,
qarnever splits a single file into multipleqarvolume. The limit may be exceeded due to the header size or a single file being too large.q_write_par_limitDefault is
16.q_read_par_limitDefault is
16.q_fftw_plan_flagDefault is
estimate. Possible values includeestimate,measure.q_mpi_alltoallv_typeDefault is
custom. Possible values includenative,custom.q_mpi_alltoallv_max_parallel_transferDefault is
128. Number of maximum parallel transfer inmpi_alltoallv.q_default_mem_typeDefault is
uvm. Possible values includecpu,acc,comm,uvm.
Useful options¶
OMP_STACKSIZE=8MOpenMP option for setting per thread stack size.--debug-signalsGrid option for intercept some errors.