Skip to content

Commit

Permalink
copy mapping.py to HOC_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
WeinaJi committed Aug 7, 2023
1 parent 4c3e3d1 commit c28cb96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/simulation_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,14 @@ jobs:
tar -xf O1_mods.xz
cp -r mod tests/share/
cp core/mod/*.mod tests/share/mod/
cp core/hoc/*.hoc tests/share/hoc/
nrnivmodl -coreneuron -incflags '-DENABLE_CORENEURON -I${SONATAREPORT_DIR}/include -I/usr/include/hdf5/mpich -I/usr/lib/x86_64-linux-gnu/mpich' \
-loadflags '-L${SONATAREPORT_DIR}/lib -lsonatareport -Wl,-rpath,${SONATAREPORT_DIR}/lib -L/usr/lib/x86_64-linux-gnu/hdf5/mpich -lhdf5 -Wl,-rpath,/usr/lib/x86_64-linux-gnu/hdf5/mpich/ -L/usr/lib/x86_64-linux-gnu/ -lmpich -Wl,-rpath,/usr/lib/x86_64-linux-gnu/' \
tests/share/mod
- name: Example run
run: |
export PYTHONPATH=$(pwd)/nrn/build/lib/python:$PYTHONPATH
cp core/hoc/* tests/share/hoc/
export HOC_LIBRARY_PATH=$(pwd)/tests/share/hoc
# launch simulation with NEURON
mpirun -np 2 ./x86_64/special -mpi -python init.py --configFile=tests/simulations/usecase3/simulation_sonata.json
Expand All @@ -80,6 +80,6 @@ jobs:
mpirun -np 2 ./x86_64/special -mpi -python init.py --configFile=tests/simulations/usecase3/simulation_sonata_coreneuron.json
ls tests/simulations/usecase3/reporting_coreneuron/*.h5
- name: live debug session, comment out
if: failure()
uses: mxschmitt/action-tmate@v3
# - name: live debug session, comment out
# if: failure()
# uses: mxschmitt/action-tmate@v3

0 comments on commit c28cb96

Please sign in to comment.