Skip to content

Commit

Permalink
Onepop sim
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjorthmedh committed Nov 8, 2023
1 parent ed56cf2 commit 6fac291
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
#SBATCH --partition=main
#SBATCH -o log/runSnudda-%j-output.txt
#SBATCH -e log/runSnudda-%j-error.txt
#SBATCH -t 1:59:00
#SBATCH -t 0:59:00
#SBATCH -J Snudda
#SBATCH -A naiss2023-5-231
#SBATCH --nodes=2
#SBATCH -n 256
#SBATCH --nodes=1
#SBATCH -n 128
#SBATCH --cpus-per-task=2
#SBATCH --mem-per-cpu=930M
#SBATCH --mail-type=ALL
#SBATCH --mail-type=ALL

# REMEMBER TO CREATE THE "log" DIRECTORY

module load snic-env


Expand All @@ -19,8 +22,8 @@ ulimit -s unlimited


#let NWORKERS="$SLURM_NTASKS-2"
let NWORKERS="100"
# let NWORKERS="50"
#let NWORKERS="100"
let NWORKERS="50"

export IPNWORKERS=$NWORKERS

Expand All @@ -33,7 +36,7 @@ source $HOME/Snudda/snudda_env/bin/activate

#.. Start the ipcontroller
export FI_CXI_DEFAULT_VNI=$(od -vAn -N4 -tu < /dev/urandom)
srun -n 1 -N 1 -c 2 --exact --overlap --mem=0 ./../ipcontroller_new.sh &
srun -n 1 -N 1 -c 2 --exact --overlap --mem=0 ./../../ipcontroller_new.sh &


echo ">>> waiting 60s for controller to start"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ else
#.. Shutdown ipcontroller
echo "Shutting down ipcontroller"

python ../ipcontroller_shutdown.py
python ../../ipcontroller_shutdown.py


date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# You need to point this as the directory where you created the network in
#NETWORK_DIR=/cfs/klemming/home/${USER:0:1}/$USER/Snudda/examples/parallel/KTH_PDC/networks/test_10k
NETWORK_DIR=networks/lateral_onepop
NETWORK_DIR=../networks/lateral_onepop

export N_WORKERS=$SLURM_NTASKS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Ctx_1" : {
"generator" : "poisson",
"start" : [0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0],
"end" : [1.0, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5],
"end" : [1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5],
"frequency" : [2, 4, 6, 8, 10, 12, 14, 16, 18, 20],
"conductance" : 0.5e-9,
"nInputs" : 50,
Expand All @@ -19,7 +19,7 @@
"Ctx_1" : {
"generator" : "poisson",
"start" : [0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0],
"end" : [1.0, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5],
"end" : [1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5],
"frequency" : [2, 4, 6, 8, 10, 12, 14, 16, 18, 20],
"conductance" : 0.5e-9,
"nInputs" : 50,
Expand Down
Empty file.

0 comments on commit 6fac291

Please sign in to comment.