/* Copyright 2013-2017 The MathWorks, Inc. */ import com.mathworks.toolbox.distcomp.mjs.service.ConfigUtil; import com.mathworks.toolbox.distcomp.util.SystemPropertyNames; import com.mathworks.toolbox.distcomp.control.PortConfig; /** * The config file that can provide CommandConfigReader with all the neccessary * information to create an instance of ControlJobmanager. */ com.sun.jini.start { // What process to start/stop: remoteCommandType = "jobmanager"; // Where to start it or stop it: remoteHostname = "${com.mathworks.toolbox.distcomp.remote_hostname}"; remoteCommandPort = PortConfig.getRemoteCommandPort("${com.mathworks.toolbox.distcomp.base_port}"); // Other settings needed for the remote command: remoteAction = "${com.mathworks.toolbox.distcomp.remote_command_action}"; serviceName = "${com.mathworks.toolbox.distcomp.servicename}"; serviceConfigFile = "${com.mathworks.toolbox.distcomp.service_config_file}"; lookupHosts = "${com.mathworks.toolbox.distcomp.lookup_hosts}"; cleanCheckpointInfo = "${com.mathworks.toolbox.distcomp.clean_checkpoint_info}"; jobmanagerName = "${com.mathworks.toolbox.distcomp.jobmanagername}"; verbosity = "${com.mathworks.toolbox.distcomp.remote_command_verbosity}"; preserveJobs = "${com.mathworks.toolbox.distcomp.preserve_job_database}"; useGDSStorage = "${com.mathworks.toolbox.distcomp.use_GDS_storage}"; GDSEndPoint = "${com.mathworks.toolbox.distcomp.GDS_end_point}"; GDSLoginToken = "${com.mathworks.toolbox.distcomp.GDS_login_token}"; GDSQueueID = "${com.mathworks.toolbox.distcomp.GDS_queue_id}"; useMSMPI = "${com.mathworks.toolbox.distcomp.use_MSMPI}"; databaseDirectoryOverride = ConfigUtil.escapePath("${com.mathworks.toolbox.distcomp.database_directory_override}"); cancelRunningJobs = "${com.mathworks.toolbox.distcomp.cancel_running_jobs}"; outputFormat = "text"; // Most commands are single commands, however where a user wants to start // multiple commands they can set this to a positive number numCommands = 1; matlabroot = "${com.mathworks.toolbox.distcomp.matlabroot}"; scriptLogLevel = 6; scriptLogFile = "${com.mathworks.toolbox.distcomp.script_log_file}"; waitOnNumWorkers = "${com.mathworks.toolbox.distcomp.wait_on_num_workers}"; allowResizing = "${com.mathworks.toolbox.distcomp.allowResizing}"; startResizeService = "${com.mathworks.toolbox.distcomp.mjs.start_resize_service}"; cloudCenterToken = "${com.mathworks.toolbox.distcomp.mjs.cloud_center_token}"; clusterID = "${com.mathworks.toolbox.distcomp.mjs.cluster_id}"; }