fixed bug that caused starbench.py source code to be included twice (and one of them causing syntax errors)
This commit is contained in:
		
							parent
							
								
									43ae0a3068
								
							
						
					
					
						commit
						5bc51c78ca
					
				| 
						 | 
					@ -39,7 +39,7 @@ starbench_path="${temp_dir}/starbench.py"
 | 
				
			||||||
output_dir="${temp_dir}"
 | 
					output_dir="${temp_dir}"
 | 
				
			||||||
num_cores=${NSLOTS}
 | 
					num_cores=${NSLOTS}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# the starbench.py code is expected to be included in the job script as a replacement of the tag <include:starbench.py>
 | 
					# the starbench.py code is expected to be included in the job script as a replacement of the tag include:starbench.py
 | 
				
			||||||
cat <<-'EOF' > "${starbench_path}"
 | 
					cat <<-'EOF' > "${starbench_path}"
 | 
				
			||||||
<include:starbench.py>
 | 
					<include:starbench.py>
 | 
				
			||||||
EOF
 | 
					EOF
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue