forked from ModelDBRepository/266806
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some mods and launch.sh to help with performance testing
- Loading branch information
Showing
2 changed files
with
42 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
# 8.2 build | ||
# 8.2 buildclang | ||
# temp build | ||
# temp buildclang | ||
|
||
source $HOME/neuron/prefixenv $1/$2/install | ||
mkdir -p $1-$2 | ||
cd $1-$2 | ||
#nrnivmodl -incflags "-I/home/hines/soft/Caliper/build/install/include" ../mod_files | ||
nrnivmodl ../mod_files | ||
|
||
export PYTHONPATH=`pwd`/..:$PYTHONPATH | ||
#CALI_CONFIG=runtime-report,calc.inclusive nrniv -c 'mycpu=1' -c 'chdir("..")' protocols/01_SS.py | ||
|
||
#perf record nrniv -c 'mycpu=8' -c 'chdir("..")' protocols/01_SS.py | ||
#nrniv -c 'mycpu=4' -c 'chdir("..")' protocols/01_SS.py | ||
perf stat nrniv -c 'mycpu=8' -c 'chdir("..")' protocols/01_SS.py | ||
|
||
if false ; then | ||
$ cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=install \ | ||
-DPYTHON_EXECUTABLE=`pyenv which python` -DNRN_ENABLE_RX3D=OFF \ | ||
-DNRN_ENABLE_PROFILING=ON -DNRN_PROFILER=caliper \ | ||
-DCMAKE_PREFIX_PATH=$HOME/soft/Caliper/build/install/share/cmake/caliper | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters