Skip to content

Commit 15ae66f

Browse files
committed
add fetch variable to cron
1 parent 7228248 commit 15ae66f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

jenkins/compy_cron.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ main() {
2929
#url where the plot will be available - based on the share_dest
3030
share_url_ne30="https://compy-dtn.pnl.gov/litz372/performance_data/performance_comp_${resolution}_${simulation_length}.png"
3131

32+
#boolean if git should reset.....
33+
fetch_root=true
34+
3235
#load modules
3336
source /etc/profile.d/modules.sh
3437
module load python/3.11.5
@@ -45,15 +48,16 @@ main() {
4548
# RUN NE30 SIMULATION
4649
#---------------------------------------------------------------
4750

48-
/compyfs/litz372/e3sm_scratch/performance_testing/E3SM_test_scripts/jenkins/mam4xx_compare_performance.sh -r $resolution -c $compiler -t $simulation_length -m $mach -p $code_root -d $data_dest -s $share_dest -u $share_url_ne30
51+
/compyfs/litz372/e3sm_scratch/performance_testing/E3SM_test_scripts/jenkins/mam4xx_compare_performance.sh -r $resolution -c $compiler -t $simulation_length -m $mach -p $code_root -f $fetch_root -d $data_dest -s $share_dest -u $share_url_ne30
4952

5053
#---------------------------------------------------------------
5154
# RUN NE4 SIMULATION
5255
#---------------------------------------------------------------
5356

5457
resolution=ne4pg2_ne4pg2
58+
fetch_root=false
5559
share_url_ne4="https://compy-dtn.pnl.gov/litz372/performance_data/performance_comp_${resolution}_${simulation_length}.png"
56-
/compyfs/litz372/e3sm_scratch/performance_testing/E3SM_test_scripts/jenkins/mam4xx_compare_performance.sh -r $resolution -c $compiler -t $simulation_length -m $mach -p $code_root -d $data_dest -s $share_dest -u $share_url_ne4
60+
/compyfs/litz372/e3sm_scratch/performance_testing/E3SM_test_scripts/jenkins/mam4xx_compare_performance.sh -r $resolution -c $compiler -t $simulation_length -m $mach -p $code_root -f $fetch_root -d $data_dest -s $share_dest -u $share_url_ne4
5761

5862
#---------------------------------------------------------------
5963
# RUN PERFORMANCE BREAKDOWN

0 commit comments

Comments
 (0)