Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

compilation error #843

Open
Kim1230 opened this issue Jul 25, 2022 · 5 comments
Open

compilation error #843

Kim1230 opened this issue Jul 25, 2022 · 5 comments

Comments

@Kim1230
Copy link

Kim1230 commented Jul 25, 2022

I install neuron with coreneuron with GPU. And the configuration is below:
cmake: 3.16.8
nvhpc: 22.3/ cuda: 11.6
python: 3.8

But when I operate: nrnivmodl -coreneuron mod for the test: S1_netpyne-coreneuron. I got a problem:
Mod files: "mod/mod/ar_traub.mod" "mod/mod/cadad.mod" "mod/mod/CaDynamics_E2.mod" "mod/mod/cadyn.mod" "mod/mod/cagk.mod" "mod/mod/Ca_HVA.mod" "mod/mod/cal_mh.mod" "mod/mod/cal_mig.mod" "mod/mod/Ca_LVAst.mod" "mod/mod/Ca.mod" "mod/mod/cancr.mod" "mod/mod/canin.mod" "mod/mod/can_mig.mod" "mod/mod/catcb.mod" "mod/mod/cat_mig.mod" "mod/mod/cat_traub.mod" "mod/mod/ch_CavL.mod" "mod/mod/ch_CavN.mod" "mod/mod/ch_KCaS.mod" "mod/mod/ch_Kdrfastngf.mod" "mod/mod/ch_KvAngf.mod" "mod/mod/ch_KvCaB.mod" "mod/mod/ch_leak.mod" "mod/mod/ch_Navngf.mod" "mod/mod/DetAMPANMDA.mod" "mod/mod/DetGABAAB.mod" "mod/mod/gabab.mod" "mod/mod/h_BS.mod" "mod/mod/HCN1.mod" "mod/mod/HH2.mod" "mod/mod/h_harnett.mod" "mod/mod/hin.mod" "mod/mod/h_kole.mod" "mod/mod/h_migliore.mod" "mod/mod/htc.mod" "mod/mod/ican_sidi.mod" "mod/mod/iccr.mod" "mod/mod/IC.mod" "mod/mod/iconc_Ca.mod" "mod/mod/Ih.mod" "mod/mod/ikscr.mod" "mod/mod/IKsin.mod" "mod/mod/Im.mod" "mod/mod/IT2.mod" "mod/mod/IT.mod" "mod/mod/kap_BS.mod" "mod/mod/kapcb.mod" "mod/mod/kapin.mod" "mod/mod/kBK.mod" "mod/mod/kca.mod" "mod/mod/kctin.mod" "mod/mod/kdmc_BS.mod" "mod/mod/kdr_BS.mod" "mod/mod/kdrcr.mod" "mod/mod/kdrin.mod" "mod/mod/KdShu2007.mod" "mod/mod/kl.mod" "mod/mod/km.mod" "mod/mod/K_Pst.mod" "mod/mod/K_Tst.mod" "mod/mod/kv.mod" "mod/mod/MyExp2SynBB.mod" "mod/mod/my_exp2syn.mod" "mod/mod/MyExp2SynNMDABB.mod" "mod/mod/nafcr.mod" "mod/mod/nafx.mod" "mod/mod/Nap_Et2.mod" "mod/mod/nap_sidi.mod" "mod/mod/NaTa_t.mod" "mod/mod/NaTs2_t.mod" "mod/mod/nax_BS.mod" "mod/mod/naz.mod" "mod/mod/Nca.mod" "mod/mod/ProbAMPANMDA_EMS.mod" "mod/mod/ProbGABAAB_EMS.mod" "mod/mod/savedist.mod" "mod/mod/SK_E2.mod" "mod/mod/SKv3_1.mod" "mod/mod/StochKv_deterministic.mod" "mod/mod/StochKv.mod" "mod/mod/tia.mod" "mod/mod/vecstim.mod"

[INFO] Running: make -j4 -f /home/test/install/share/coreneuron/nrnivmodl_core_makefile ROOT=/home/yjy/test/install MODS_PATH=x86_64/corenrn/mod2c BUILD_TYPE=STATIC NRN_PRCELLSTATE=0
Default NMODL flags:
NVC++-W-1057-Static variables are not supported in acc routine - _ZZN54_INTERNAL_32_x86_64_corenrn_mod2c_StochKv_cpp_b3aebc776gammlnEdE3cof (x86_64/corenrn/mod2c/StochKv.cpp: 814)
NVC++-W-1057-Static variables are not supported in acc routine - _ZN54_INTERNAL_32_x86_64_corenrn_mod2c_StochKv_cpp_b3aebc7710coreneuron12_tmin_tratesE (x86_64/corenrn/mod2c/StochKv.cpp: 524)
NVC++-S-1058-Call to variadic function not supported - fprintf (x86_64/corenrn/mod2c/StochKv.cpp: 618)
NVC++/x86-64 Linux 22.3-0: compilation completed with severe errors
NVC++-W-1057-Static variables are not supported in acc routine - _ZN52_INTERNAL_30_x86_64_corenrn_mod2c_cadad_cpp_f440821310coreneuron7FARADAYE (x86_64/corenrn/mod2c/cadad.cpp: 291)
make: *** [/home/test/install/share/coreneuron/nrnivmodl_core_makefile:243: x86_64/corenrn/build/StochKv.o] Error 2
make: *** Waiting for unfinished jobs....
NVC++/x86-64 Linux 22.3-0: compilation completed with warnings

And the related code was:
$(CXX_COMPILE_CMD) -c $< -o $@ -DNRN_PRCELLSTATE=$(NRN_PRCELLSTATE) --diag_suppress=111,550 --diag_suppress=161,177

I don't know why it happens and how it can be fixed. Thanks!

@pramodk
Copy link
Collaborator

pramodk commented Jul 25, 2022

@Kim1230: Is S1_netpyne-coreneuron mod files available somewhere on GitHub? (Is it from https://github.com/suny-downstate-medical-center/S1_netpyne or some other derived version?)

@Kim1230
Copy link
Author

Kim1230 commented Jul 26, 2022

@Kim1230: Is S1_netpyne-coreneuron mod files available somewhere on GitHub? (Is it from https://github.com/suny-downstate-medical-center/S1_netpyne or some other derived version?)

The S1_netpyne-coreneuron mod files are available from https://github.com/suny-downstate-medical-center/S1_netpyne/tree/coreneuron.

@pramodk
Copy link
Collaborator

pramodk commented Jul 26, 2022

@iomaganaris : maybe you could provide response here?

@iomaganaris
Copy link
Contributor

Some of the mod files' fixes for GPU execution and NEURON 8.2.0+ were missing from the mod file directory of this branch. I opened a PR to update them in suny-downstate-medical-center/S1_netpyne#4

@iomaganaris
Copy link
Contributor

Hello @Kim1230 ,

do you have any update on the status of your simulation? Did you manage to run it with CoreNEURON on GPU?
I saw in the S1_netpyne repo that you mentioned some additional issues when executing on the GPUs. Did you manage to fix them somehow?
Let us know if you face any issue and we can help you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants