This repository was archived by the owner on Mar 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
Add --verbose flag for CLI to control output messages #338
Copy link
Copy link
Closed
Labels
Milestone
Description
Currently when we run CoreNEURON, we get output like:
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2019
version id unimplemented
Additional mechanisms from files
Ca.mod CaDynamics_E2.mod Ca_LVAst.mod Ih.mod Im.mod K_Pst.mod K_Tst.mod KdShu2007.mod NaTa_t.mod NaTs2_t.mod Nap_Et2.mod ProbAMPANMDA_EMS.mod ProbGABAAB_EMS.mod SK_E2.mod SKv3_1.mod
Memory (MBs) : After mk_mech : Max 40.2578, Min 40.2578, Avg 40.2578
Memory (MBs) : After MPI_Init : Max 40.2617, Min 40.2617, Avg 40.2617
Memory (MBs) : Before nrn_setup : Max 40.2891, Min 40.2891, Avg 40.2891
Setup Done : 0.00 seconds
Memory (MBs) : After nrn_setup : Max 40.6055, Min 40.6055, Avg 40.6055
GENERAL PARAMETERS
--mpi=false
--gpu=false
--dt=0.025
--tstop=30
GPU
--nwarp=0
--cell-permute=0
INPUT PARAMETERS
--voltage=-65
--seed=-1
--datpath=.
--filesdat=files.dat
--pattern=
--report-conf=
--restore=
PARALLEL COMPUTATION PARAMETERS
--threading=false
--skip_mpi_finalize=true
SPIKE EXCHANGE
--ms_phases=2
--ms_subintervals=2
--multisend=false
--spk_compress=0
--binqueue=false
CONFIGURATION
--spikebuf=100000
--prcellgid=-1
--forwardskip=0
--celsius=34
--extracon=0
--multiple=1
--mindelay=10
--report-buffer-size=4
OUTPUT PARAMETERS
--dt_io=0.1
--outpath=.
--checkpoint=
Start time (t) = 0
Memory (MBs) : After mk_spikevec_buffer : Max 40.6094, Min 40.6094, Avg 40.6094
WARNING: nrn_nrn_wrote_conc support on GPU need to validate!
Memory (MBs) : After nrn_finitialize : Max 40.6367, Min 40.6367, Avg 40.6367
psolve |========================================================| t: 30.00 ETA: 0h00m00s
Solver Time : 0.168263
Simulation Statistics
Number of cells: 1
Number of compartments: 273
Number of presyns: 1
Number of input presyns: 0
Number of synapses: 0
Number of point processes: 2
Number of transfer (gap) targets: 0
Number of spikes: 0
Number of spikes with non negative gid-s: 0
When we run CoreNEURON via NEURON, such long output is not desirable. We should add --verbose option in CLI that will allow to enable/disable all above output messages printed in CoreNEURON.