Skip to content

Commit 917a5c3

Browse files
author
Inkedstinct
committed
fix(scripts) : Fix tar command, log level, walltime default
1 parent 138c270 commit 917a5c3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/scripts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use std::fs::File;
1212
use std::io::Write;
1313
use thiserror::Error;
1414

15-
const WALLTIME: &str = "4:00:00";
15+
pub const WALLTIME: &str = "5:00:00";
1616
const QUEUE_TYPE: &str = "default";
1717
const CPU_OPS_PER_CORE_LIST: &[u32] = &[25, 250, 2_500, 25_000];
1818
const NB_ITERATIONS: usize = 10;

src/ssh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ pub async fn run_script(session: &Session, host:&str, script_file: &str) -> SshR
6767
match ssh_command {
6868
Ok(ssh_output) => {
6969
if ssh_output.status.success() {
70-
info!("Script successsfully started");
70+
debug!("Script successsfully started");
7171
} else {
7272
error!("Job submission failed: {:?}", ssh_output.stderr);
7373
}

templates/zip_results.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cd {{ results_directory }}/..
2-
tar -cJf ~/{{ results_directory }}.tar.xz ~/{{ results_directory }}
3-
cd ~
2+
tar -cJf /home/nleblond/{{ results_directory }}.tar.xz /home/nleblond/{{ results_directory }}
3+
cd /home/nleblond
44
rm -rf {{ results_directory }}
55
md5sum {{ results_directory }}.tar.xz > {{ results_directory }}.tar.xz.md5

0 commit comments

Comments
 (0)