#!/bin/bash dist1_beg=0 dist1_end=40 layer=5 soma_leak=3e-3 for g_gj in 2e-3 6e-3 8e-3 1e-2 1.2e-2 1.4e-2 1.6e-2 1.8e-2 2e-2 2.2e-2 2.4e-2 3e-2 4e-2 5e-2 6e-2 8e-2 do for vs in -80 -70 -60 do qsub -N gjISgNa_${layer}_${g_gj}_${vs} -l h_rt=24:00:00 -b y x86_64/special -nogui simulation_base.hoc -c "g_gj=$g_gj" -c "vs=$vs" -c "layer=$layer" -c "soma_leak=$soma_leak" -c "set_expcell_dist\($dist1_beg,$dist1_end\)" vs-expcell_gjISgNa.hoc done done