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

Revised calcHTranspose operator #68

Merged
merged 16 commits into from
Jul 15, 2024
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
3 changes: 1 addition & 2 deletions ncar_scripts/casper_h100_submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ cd ncar_scripts
# Run a case #
##############
suffix="casper_gpu"
for i in beltrami supercell hurricane typhoonChanthu2020 # hurricane_4panel

for i in beltrami supercell hurricane typhoonChanthu2020 hurricane_4panel
do
./ncar_run.sh $SAMURAI_ROOT/ncar_scripts/TDRP/${i}.tdrp >& log_${i}_$suffix.$ID
if [ ! -d ${i}_${suffix} ]; then
Expand Down
8 changes: 6 additions & 2 deletions ncar_scripts/derecho_a100_submit.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -l
#PBS -N SAMURAI
#PBS -A NEOL0013
#PBS -l select=1:ncpus=64:ompthreads=1:mem=100GB:ngpus=1
#PBS -l select=1:ncpus=64:ompthreads=1:mem=300GB:ngpus=1
#PBS -q main
#PBS -l walltime=02:30:00
#PBS -j oe
Expand All @@ -12,6 +12,10 @@ cd ..
export SAMURAI_ROOT=$(pwd)

ID=`date '+%Y%m%d%H%M'`

sed -i 's/cc70/cc80/g' CMakeLists.txt
sed -i 's/cc90/cc80/g' CMakeLists.txt

##################
# Build the code #
##################
Expand All @@ -25,7 +29,7 @@ cd ncar_scripts
# Run a case #
##############
suffix="derecho_gpu"
for i in beltrami supercell hurricane typhoonChanthu2020 # hurricane_4panel
for i in beltrami supercell hurricane typhoonChanthu2020 # hurricane_4panel
do

./ncar_run.sh $SAMURAI_ROOT/ncar_scripts/TDRP/${i}.tdrp >& log_${i}_$suffix.$ID
Expand Down
2 changes: 1 addition & 1 deletion src/CostFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CostFunction

protected:
int ls_cnt;
int64_t mObs;
uint64_t mObs;
sjsprecious marked this conversation as resolved.
Show resolved Hide resolved
int nState;
real* currState;
real* currGradient;
Expand Down
Loading
Loading