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

update for make_domain_cfg.sh #17

Merged
merged 2 commits into from
Jul 7, 2021
Merged
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
11 changes: 10 additions & 1 deletion SCRIPTS/make_domain_cfg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,16 @@ the provided coordinates and bathymetry netCDF files.
# Submit the domain creation as a job,
cd $TDIR/DOMAINcfg
sbatch job_create.slurm


#wait for domain creation job to finish
for i in {0..7}; do #8 tiles
while [ ! -f domain_cfg_000$i.nc ] ;
do
echo "wait for domain creation job to finish"
sleep 60
done
done

# Rebuild the files. Here there are 8 tiles (and rebuilding on a single thread)
$TDIR/REBUILD_NEMO/rebuild_nemo -t 1 domain_cfg 8

Expand Down
1 change: 0 additions & 1 deletion SCRIPTS/make_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
./maketools -m X86_ARCHER2-Cray -n REBUILD_NEMO
./maketools -m X86_ARCHER2-Cray -n WEIGHTS
./maketools -m X86_ARCHER2-Cray -n DOMAINcfg
./maketools -m X86_ARCHER2-Cray -n REBUILD_NEMO


# Make SOSIE tool.
Expand Down