diff --git a/.vimrc b/.vimrc
index bada988cab..94a5a5118e 100644
--- a/.vimrc
+++ b/.vimrc
@@ -6,4 +6,5 @@ set sts=4
set sw=4
set expandtab
set smarttab
+set backspace=indent,eol,start
syntax off
diff --git a/html/inc/sandbox.inc b/html/inc/sandbox.inc
index d0434ca523..83289e30e3 100644
--- a/html/inc/sandbox.inc
+++ b/html/inc/sandbox.inc
@@ -79,7 +79,9 @@ function sandbox_file_select($user, $select_name) {
$x = "\n";
return $x;
diff --git a/html/user/lammps.php b/html/user/lammps.php
index 46240dbbfc..586f671360 100644
--- a/html/user/lammps.php
+++ b/html/user/lammps.php
@@ -178,11 +178,11 @@ function show_submit_form($user) {
";
start_table();
- row2("Structure file", sandbox_file_select($user, "structure_file"));
- row2("Script file", sandbox_file_select($user, "command_file"));
- row2("Command-line file
List of command lines, one per job", sandbox_file_select($user, "cmdline_file"));
- row2("Zipped potential files", sandbox_file_select($user, "pot_files"));
- row2("Area", area_select());
+ row2("structure_file
structure_file*", sandbox_file_select($user, "structure_file"));
+ row2("lammps_script
lammps_script*", sandbox_file_select($user, "lammps_script"));
+ row2("cmdline_file
cmdline_file* ( List of command lines, one per job )", sandbox_file_select($user, "cmdline_file"));
+ row2("pot.zip
*.zip ( Zipped Potential files )", sandbox_file_select($user, "zip"));
+ row2("Area", area_select());
row2("", "");
end_table();
echo "
@@ -244,9 +244,9 @@ function estimated_makespan($njobs, $flops_per_job) {
function prepare_batch($user) {
$structure_file_path = get_file_path($user, 'structure_file');
- $command_file_path = get_file_path($user, 'command_file');
+ $command_file_path = get_file_path($user, 'lammps_script');
$cmdline_file_path = get_file_path($user, 'cmdline_file');
- $pot_files_path = get_file_path($user, 'pot_files');
+ $pot_files_path = get_file_path($user, 'zip');
$info = null;
$info->structure_file_path = $structure_file_path;
@@ -293,7 +293,7 @@ function prepare_batch($user) {
$secs_est = estimated_makespan($njobs, $info->rsc_fpops_est);
$hrs_est = number_format($secs_est/3600, 1);
$client_mb = number_format($info->rsc_disk_bound/1e6,1);
- $server_mb = $njobs*$client_mb;
+ $server_mb = number_format($njobs*$info->rsc_disk_bound/1e6,1);
page_head("Batch prepared");
echo "