-
Cristian Lalescu authoredCristian Lalescu authored
pc_host_info.py 2.83 KiB
################################################################################
# #
# Copyright 2019 Max Planck Institute for Dynamics and Self-Organization #
# #
# This file is part of bfps. #
# #
# bfps is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published #
# by the Free Software Foundation, either version 3 of the License, #
# or (at your option) any later version. #
# #
# bfps is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with bfps. If not, see <http://www.gnu.org/licenses/> #
# #
# Contact: Cristian.Lalescu@ds.mpg.de #
# #
################################################################################
host_info = {'type' : 'pc'}
# template for host_info dictionary is given below:
# {'type' : info_template_type,
# 'MPI' : info_template_MPI,
# 'environment' : info_template_environment,
# 'deltanprocs' : info_template_deltanprocs
# 'mail_address': info_template_mail_address}
# info_template_type can be one of:
# 'pc' --- jobs run interactively
# 'cluster' --- cluster with SGE queueing system
# 'SLURM' --- cluster with SLURM queueing system
# 'IBMLoadLeveler --- cluster with IBM Load Leveler queueing system
# info_template_MPI can be one of:
# 'openmpi' --- it means mpirun takes "x" as the parameter to set an environment variable
# not defined --- use "env" instead of "x"
# info_template_environment, relevant for clusters,
# is the default queue to which jobs are submitted
# info_template_deltanprocs, relevant for clusters,
# is the number of cores per node
# info_template_mail_address, relevant for clusters,
# is the contact e-mail address placed in the job scripts.