Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rb_axi and cylbig_abm examples #229

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions examples/rb_axi/run_fom
Original file line number Diff line number Diff line change
@@ -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
Expand Down
13 changes: 8 additions & 5 deletions examples/rb_axi/run_rom
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,31 @@ 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
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

Expand Down
2 changes: 1 addition & 1 deletion examples/rb_axi/run_rom_helper
Original file line number Diff line number Diff line change
Expand Up @@ -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