sys-bio / roadrunner

libRoadRunner: A high-performance SBML simulator
http://libroadrunner.org/
Other
36 stars 24 forks source link

Not possible to create many roadrunner instances #1222

Open matthiaskoenig opened 1 month ago

matthiaskoenig commented 1 month ago

When we increase the number of instances the simulation fails with the following.

JIT session error: Cannot allocate memory
Error: Could not find symbol evalInitialConditions
[symbol lookup error] Failed to materialize symbols: { (main, { getPiecewiseTrigger, evalVolatileStoich, setGlobalParameterInitValue, setBoundarySpeciesAmount, evalConversionFactor, getGlobalParameterInitValue, setBoundarySpeciesConcentration, setCompartmentInitVolumes, getEventTrigger, evalRateRuleRates, getCompartmentInitVolumes, getEventPriority, setBoundarySpeciesInitAmounts, getEventDelay, getBoundarySpeciesInitAmounts, eventAssign, eventTrigger, getBoundarySpeciesConcentration, setBoundarySpeciesInitConcentrations, getFloatingSpeciesConcentration, getBoundarySpeciesInitConcentrations, getCompartmentVolume, setFloatingSpeciesInitAmounts, getFloatingSpeciesInitAmounts, getGlobalParameter, setFloatingSpeciesInitConcentrations, setCompartmentVolume, getFloatingSpeciesInitConcentrations, setGlobalParameter, setFloatingSpeciesConcentration, getBoundarySpeciesAmount, evalInitialConditions, evalReactionRates, getFloatingSpeciesAmount, setFloatingSpeciesAmount }) }
Segmentation fault (core dumped)

Nothing to do here. We try to figure out what is going on and provide more information.

matthiaskoenig commented 1 month ago

This is running on machines with 200 GB and 2000GB RAM respectively, so definitely not the physical amount of RAM. But probably related on how much RAM is allocated to the JIT or the JIT object cache or similar things.