Skip to content
Snippets Groups Projects
Commit 97643290 authored by Danny Auble's avatar Danny Auble
Browse files

update for configurator.html

parent 81f7e450
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,41 @@ $Id$ ...@@ -8,9 +8,41 @@ $Id$
--> -->
<HTML> <HTML>
<HEAD><TITLE>SLURM System Configuration</TITLE> <HEAD><TITLE>SLURM System Configuration</TITLE>
<SCRIPT type="text/javascript">
function get_radio_value(form)
{
for (var i=0; i < form.length; i++)
{
if (form[i].checked)
{
return form[i].value
}
}
}
function displayfile()
{
var printme = "# Slurm.conf file generated by configurator.html<br>" +
"SlurmUser=" + document.config.slurm_user.value + "<br>" +
"SlurmctldPort=" + document.config.slurmctld_port.value + "<br>" +
"SlurmdPort=" + document.config.slurmd_port.value + "<br>" +
"AuthType=auth/" + get_radio_value(document.config.auth_type) + "<br>" +
"SchedulerType=sched/" + get_radio_value(document.config.sched_type) + "<br>" +
"SwitchType=sched/" + get_radio_value(document.config.switch_type) + "<br>" +
"SelectType=sched/" + get_radio_value(document.config.select_type) + "<br>"
document.write(printme);
}
</SCRIPT>
</HEAD> </HEAD>
<BODY> <BODY>
<FORM ACTION="http://www.cs.tut.fi/cgi-bin/run/~jkorpela/echo.cgi"> <!-- <FORM ACTION="http://www.cs.tut.fi/cgi-bin/run/~jkorpela/echo.cgi">
-->
<FORM name=config>
<H1>SLURM Configration</H1> <H1>SLURM Configration</H1>
<P>This form can be used to create a SLURM configuration file with you <P>This form can be used to create a SLURM configuration file with you
controlling many of the important configuration parameters. controlling many of the important configuration parameters.
...@@ -81,7 +113,7 @@ as a compute node too. This is not recommended for larger clusters. ...@@ -81,7 +113,7 @@ as a compute node too. This is not recommended for larger clusters.
<input type="checkbox" name="compute_on_head" value="YES"> Run SLURM client (slurmd) on head node <input type="checkbox" name="compute_on_head" value="YES"> Run SLURM client (slurmd) on head node
<P> <P>
<input type=submit value="Send"> <input type=submit value="Send" name="send" onClick="displayfile()">
<input type=reset value="Reset Form"> <input type=reset value="Reset Form">
<P> <P>
</FORM> </FORM>
......
...@@ -321,6 +321,7 @@ typedef struct spawn_task_request_msg { ...@@ -321,6 +321,7 @@ typedef struct spawn_task_request_msg {
slurm_cred_t cred; /* job credential */ slurm_cred_t cred; /* job credential */
switch_jobinfo_t switch_job; /* switch credential for the job */ switch_jobinfo_t switch_job; /* switch credential for the job */
} spawn_task_request_msg_t; } spawn_task_request_msg_t;
typedef struct task_ext_msg { typedef struct task_ext_msg {
......
...@@ -889,7 +889,7 @@ _wait_for_io(slurmd_job_t *job) ...@@ -889,7 +889,7 @@ _wait_for_io(slurmd_job_t *job)
{ {
debug("Waiting for IO"); debug("Waiting for IO");
io_close_all(job); io_close_all(job);
/* /*
* Wait until IO thread exits * Wait until IO thread exits
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment