Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 31 lines (24 sloc) 0.716 kB
#!/bin/csh
set cwd = $PWD
set exe = $cwd/nc_wth_gen
source env
if ($?model_run) then
set temp_source = $model_run
set precip_source = $model_run
set solar_source = $model_run
endif
set m = 1
while ($m <= $n_time_intervals)
set fname = ${fname_arr[$m]}
set year_start = $year_start_arr[$m]
set year_stop = $year_stop_arr[$m]
set n = 1
while ($n <= $n_procs)
# write set of commands to file submit.pbs
cp submit.start submit.proc.$m.$n
echo $exe $temp_source $precip_source $solar_source $bcsd_type $year_start $year_stop $in_dir $out_dir $fname $n_procs $n>> "submit.proc.$m.$n"
qsub submit.proc.$m.$n
@ n = $n + 1
end
@ m = $m + 1
end
Jump to Line
Something went wrong with that request. Please try again.