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

compilation error #843

Open
Open
@Kim1230

Description

@Kim1230

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions