First time here? Checkout the FAQ!
x
0 votes
by (470 points)
again i was running an GPV model that i modified i try to use this  in the tissue i have got this error L5 : Illegal IM specified: GPVm
Can you please help to find my error !

num_external_imp = 1
external_imp=  "/usr/local/lib/opencarp/share/tutorials/essai/figshare/GPVm.so"
num_imp_regions = 1
imp_region[0].name = "LA"
imp_region[0].im = GPVm
imp_region[0].im_param = "AF=1,RA=0"
imp_region[0].im_sv_init = "bcl750.sv"
imp_region[0].num_IDs = 1
imp_region[0].ID[0] = 0

1 Answer

0 votes
by (17.5k points)

Unfortunately it's impossible to reproduce your error like this (without a minimal working example). Thus, I can only refer to this example demonstrating how dynamic models can be built and included: https://opencarp.org/documentation/examples/01_ep_single_cell/04_limpet_fe

by (470 points)
Thi s example (: https://opencarp.org/documentation/examples/01_ep_single_cell/04_limpet_fe) is working whith my model because it's a cell,but for tissu i have this error Illegal IM specified: GPVm  i am not able to see what should i change please i really need help  

this is the output i have in my docker


/usr/local/bin/openCARP \
  -ellip_use_pt 0 \
  -parab_use_pt 0 \
  -parab_options_file /usr/local/lib/python3.6/dist-packages/carputils/resources/petsc_options/ilu_cg_opts \
  -ellip_options_file /usr/local/lib/python3.6/dist-packages/carputils/resources/petsc_options/amg_cg_opts \
  -num_phys_regions 1 \
  -phys_region[0].name "Intracellular domain" \
  -phys_region[0].ptype 0 \
  -phys_region[0].num_IDs 1 \
  -phys_region[0].ID[0] 1 \
  -simID 2022-01-24_simple_10_petsc_np1 \
  -meshname meshes/2022-01-24_tOmzRGtwoA/block \
  -num_external_imp 1 \
  -external_imp /essai2/GPVm.so  -num_imp_regions 1 \
  -imp_region[0].name LA \
  -imp_region[0].im GPVm \
  -imp_region[0].num_IDs 1 \
  -imp_region[0].ID[0] 1 \
  -bidomain 0 \
  -spacedt 1 \
  -timedt 1 \
  -parab_solve 1 \
  -cg_tol_parab 0.01 \
  -num_gregions 1 \
  -gregion[0].name m \
  -gregion[0].num_IDs 1 \
  -gregion[0].ID 1 \
  -gregion[0].g_el 0.5533 \
  -gregion[0].g_et 0.236 \
  -gregion[0].g_en 0.236 \
  -gregion[0].g_il 0.154 \
  -gregion[0].g_it 0.019 \
  -gregion[0].g_in 0.019 \
  -gregion[0].g_mult 0.5 \
  -num_LATs 2 \
  -lats[0].ID activation \
  -lats[0].all 0 \
  -lats[0].measurand 0 \
  -lats[0].mode 0 \
  -lats[0].threshold -20 \
  -lats[1].ID REPs \
  -lats[1].all 0 \
  -lats[1].measurand 0 \
  -lats[1].mode 1 \
  -lats[1].threshold -70 \
  -imp_region[0].im_sv_init GPVm_bcl_750_beats_20_limitcycle.sv \
  -num_stim 1 stimulus[0].name S1 \
  -stimulus[0].stimtype 0 \
  -stimulus[0].strength 50.0 \
  -stimulus[0].duration 1.0 \
  -stimulus[0].npls 3 \
  -stimulus[0].bcl 100 \
  -stimulus[0].start 0 \
  -stimulus[0].x0 500.0 \
  -stimulus[0].xd 100 \
  -stimulus[0].y0 -50 \
  -stimulus[0].yd 100 \
  -tend 500

L2 : Output directory exists: 2022-01-24_simple_10_petsc_np1

L1 : Warning: Legacy stimuli defined. Please consider switching to stimulus definition "stim[]"!
L5 : Illegal IM specified: GPVm
by (17.5k points)
Is your model placed in
/essai2/GPVm.so (top-level folder essai2)
or should it be
./essai2/GPVm.so (subfolder essai2 in the current directory)
by (470 points)
edited by
In docker all my tutorials are in cd / ( this is the main file) after that i have essai2 where is my .so file, so when i ask for the full path in my  bash i got /essai2/GPVm.so .




Here for examole i was on linux with opencarp installed locally and the full path was
"/usr/local/lib/opencarp/share/tutorials/essai/figshare/GPVm.so", but i got the same error

num_external_imp = 1
external_imp= "/usr/local/lib/opencarp/share/tutorials/essai/figshare/GPVm.so"
num_imp_regions = 1
imp_region[0].name = "LA"
imp_region[0].im = GPVm
imp_region[ 0].im_param = "AF=1,RA=0"
imp_region[0].im_sv_init = "bcl750.sv"
imp_region[0].num_IDs = 1
imp_region[0].ID[0] = 0
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...