Skip to content

Commit

Permalink
Correction to file names
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwegert committed Jul 5, 2024
1 parent 019c46c commit d1ff2ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/Benchmarks/generate_benchmark_scripts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ phys_types = [
];

# Template
template = read("$(ENV["SCRATCH"])/$dir_name/scripts/Benchmarks/jobtemplate_gadi.sh",String)
template = read("$(ENV["SCRATCH"])/$dir_name/scripts/Benchmarks/jobtemplate.sh",String)

## Generate Jobs
jobs_by_phys = map(x->(x[1],generate_jobs(template,x[1],x[2],x[3])),phys_types);
Expand Down
4 changes: 2 additions & 2 deletions scripts/Benchmarks/jobtemplate.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#PBS -P np01
#PBS -q normal
#PBS -q normal
#PBS -N "{{:name}}"
#PBS -l ncpus={{:ncpus}}
#PBS -l mem={{:mem}}GB
Expand All @@ -12,7 +12,7 @@ source $HOME/hpc-environments/gadi/load-intel.sh
PROJECT_DIR=$SCRATCH/{{:dir_name}}/

mpiexec -n {{:ncpus}} julia --project=$PROJECT_DIR --check-bounds no -O3 \
$PROJECT_DIR/scripts/Benchmarks/benchmark_gadi.jl \
$PROJECT_DIR/scripts/Benchmarks/benchmark.jl \
{{:name}} \
{{{:write_dir}}} \
{{:type}} \
Expand Down

0 comments on commit d1ff2ce

Please sign in to comment.