Change some default MCA parameters:
- Global snapshot directory = $HOME - FileM 'rsh' = 'ssh' - FileM 'rcp' = 'scp' This commit was SVN r16444.
Этот коммит содержится в:
родитель
3dd5196338
Коммит
f16a42947a
@ -113,13 +113,13 @@ static int filem_rsh_open(void)
|
|||||||
"rcp",
|
"rcp",
|
||||||
"The rsh cp command for the FILEM rsh component",
|
"The rsh cp command for the FILEM rsh component",
|
||||||
false, false,
|
false, false,
|
||||||
"rcp",
|
"scp",
|
||||||
&mca_filem_rsh_component.cp_command);
|
&mca_filem_rsh_component.cp_command);
|
||||||
mca_base_param_reg_string(&mca_filem_rsh_component.super.filem_version,
|
mca_base_param_reg_string(&mca_filem_rsh_component.super.filem_version,
|
||||||
"rsh",
|
"rsh",
|
||||||
"The remote shell command for the FILEM rsh component",
|
"The remote shell command for the FILEM rsh component",
|
||||||
false, false,
|
false, false,
|
||||||
"rsh",
|
"ssh",
|
||||||
&mca_filem_rsh_component.remote_sh_command);
|
&mca_filem_rsh_component.remote_sh_command);
|
||||||
|
|
||||||
mca_base_param_reg_int(&mca_filem_rsh_component.super.filem_version,
|
mca_base_param_reg_int(&mca_filem_rsh_component.super.filem_version,
|
||||||
|
@ -54,6 +54,7 @@ int orte_snapc_base_open(void)
|
|||||||
{
|
{
|
||||||
int value;
|
int value;
|
||||||
char * str_value = NULL;
|
char * str_value = NULL;
|
||||||
|
char * home = NULL;
|
||||||
|
|
||||||
/* Debugging/Verbose output */
|
/* Debugging/Verbose output */
|
||||||
mca_base_param_reg_int_name("snapc",
|
mca_base_param_reg_int_name("snapc",
|
||||||
@ -68,14 +69,20 @@ int orte_snapc_base_open(void)
|
|||||||
}
|
}
|
||||||
opal_output_set_verbosity(orte_snapc_base_output, value);
|
opal_output_set_verbosity(orte_snapc_base_output, value);
|
||||||
|
|
||||||
|
/* We may need this later */
|
||||||
|
#if !defined(__WINDOWS__)
|
||||||
|
home = getenv("HOME");
|
||||||
|
#else
|
||||||
|
home = getenv("USERPROFILE");
|
||||||
|
#endif /* !defined(__WINDOWS__) */
|
||||||
|
|
||||||
/* Global Snapshot directory */
|
/* Global Snapshot directory */
|
||||||
mca_base_param_reg_string_name("snapc",
|
mca_base_param_reg_string_name("snapc",
|
||||||
"base_global_snapshot_dir",
|
"base_global_snapshot_dir",
|
||||||
"The base directory to use when storing global snapshots",
|
"The base directory to use when storing global snapshots",
|
||||||
false, false,
|
false, false,
|
||||||
strdup("/tmp"),
|
home,
|
||||||
&orte_snapc_base_global_snapshot_dir);
|
&orte_snapc_base_global_snapshot_dir);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Store the checkpoint files in their final location.
|
* Store the checkpoint files in their final location.
|
||||||
* This assumes that the storage place is on a shared file
|
* This assumes that the storage place is on a shared file
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user