Skip to content

Commit

Permalink
adeded sbatch for diff num cores
Browse files Browse the repository at this point in the history
  • Loading branch information
salvadord committed Dec 14, 2018
1 parent 6c44568 commit 45bbbe0
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
############################################################

cfg.seeds['stim']=3
cfg.duration = 60*1e3 #6*1e2 # Duration of the simulation, in ms
cfg.duration = 1*1e3 #6*1e2 # Duration of the simulation, in ms
cfg.dt = 0.025 # Internal integration timestep to use
cfg.verbose = 0 # Show detailed messages
cfg.seeds['m'] = 123
Expand Down
17 changes: 17 additions & 0 deletions pd_128.sbatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
#SBATCH --job-name=pd
#SBATCH -A default
#SBATCH -t 60:00:00
#SBATCH --nodes=2
#SBATCH --ntasks-per-node=64
#SBATCH -o /home/salvadord/pd/data/pd_scale-1.0_DC-0_TH-0_Balanced-1_1sec_128.run
#SBATCH -e /home/salvadord/pd/data/pd_scale-1.0_DC-0_TH-0_Balanced-1_1sec_128.err
#SBATCH [email protected]
#SBATCH --mail-type=end
#SBATCH --exclude=compute[17-64000]

source ~/.bashrc
cd /home/salvadord/pd
mpirun -np 128 nrniv -python -mpi init.py
wait

17 changes: 17 additions & 0 deletions pd_256.sbatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
#SBATCH --job-name=pd
#SBATCH -A default
#SBATCH -t 60:00:00
#SBATCH --nodes=4
#SBATCH --ntasks-per-node=64
#SBATCH -o /home/salvadord/pd/data/pd_scale-1.0_DC-0_TH-0_Balanced-1_1sec_256.run
#SBATCH -e /home/salvadord/pd/data/pd_scale-1.0_DC-0_TH-0_Balanced-1_1sec_256.err
#SBATCH [email protected]
#SBATCH --mail-type=end
#SBATCH --exclude=compute[17-64000]

source ~/.bashrc
cd /home/salvadord/pd
mpirun -np 256 nrniv -python -mpi init.py
wait

17 changes: 17 additions & 0 deletions pd_512.sbatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash
#SBATCH --job-name=pd
#SBATCH -A default
#SBATCH -t 60:00:00
#SBATCH --nodes=8
#SBATCH --ntasks-per-node=64
#SBATCH -o /home/salvadord/pd/data/pd_scale-1.0_DC-0_TH-0_Balanced-1_1sec_512.run
#SBATCH -e /home/salvadord/pd/data/pd_scale-1.0_DC-0_TH-0_Balanced-1_1sec_512.err
#SBATCH [email protected]
#SBATCH --mail-type=end
#SBATCH --exclude=compute[17-64000]

source ~/.bashrc
cd /home/salvadord/pd
mpirun -np 512 nrniv -python -mpi init.py
wait

0 comments on commit 45bbbe0

Please sign in to comment.