From 72068da3beb5747d8bb27b7f54789c666a22bcfb Mon Sep 17 00:00:00 2001 From: Kento Kaneko Date: Fri, 30 Aug 2024 13:06:55 -0400 Subject: [PATCH] fix axi example --- examples/rb_axi/run_fom | 5 ++--- examples/rb_axi/run_rom | 13 ++++++++----- examples/rb_axi/run_rom_helper | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/examples/rb_axi/run_fom b/examples/rb_axi/run_fom index 3fc416f2..b7926b38 100755 --- a/examples/rb_axi/run_fom +++ b/examples/rb_axi/run_fom @@ -1,14 +1,13 @@ #!/bin/bash -np=4; +np=1; eps0=1.6; eps1=2.6; deps=0.25; echo "run_fom start" -wget https://uofi.box.com/shared/static/b5bfmz2hi5g5jykxl1phgu6ewdg2tfzj.f00001 -mv b5bfmz2hi5g5jykxl1phgu6ewdg2tfzj.f00001 r0.f00001 +wget --no-check-certificate https://uofi.box.com/shared/static/b5bfmz2hi5g5jykxl1phgu6ewdg2tfzj.f00001 -O r0.f00001 genmap << Z rb diff --git a/examples/rb_axi/run_rom b/examples/rb_axi/run_rom index 0f648568..552e7ca0 100755 --- a/examples/rb_axi/run_rom +++ b/examples/rb_axi/run_rom @@ -5,6 +5,10 @@ d1=fom4 nb1=21; +eps0=1.6; +eps1=2.6; +deps=0.05 + makerom rb_rom1; sed 's/mode = on/mode = off/' rb.mor > tmp.mor @@ -12,21 +16,20 @@ mv tmp.mor rb.mor ls -r $d0/rb0.f* > file.list -nek rb +echo $eps0 > eps +neklmpi rb 1 mv basrb0.f* $d0/ ls -r $d1/rb0.f* > file.list -nek rb +echo $eps1 > eps +neklmpi rb 1 mv basrb0.f* $d1/ makerom rb_rom2; ls $d0/basrb0.f* | head -21 > bas.list ls $d1/basrb0.f* | head -21 | tail -n +2 >> bas.list -eps0=1.6; -eps1=2.6; -deps=0.05 ./run_rom_helper -1 0 diff --git a/examples/rb_axi/run_rom_helper b/examples/rb_axi/run_rom_helper index 18e1705f..9e465920 100755 --- a/examples/rb_axi/run_rom_helper +++ b/examples/rb_axi/run_rom_helper @@ -2,7 +2,7 @@ mkdir rom$1 echo "$2" > eps -nekmpi rb 1 +neklmpi rb 1 mv eps rom$1/ mv rb.log.1 rom$1/logfile grep ' nus' rom$1/logfile > rom$1/nus.dat