StochSS / StochKit

StochKit is an extensible tool for stochastic simulation tool with stochastic and multiscale algorithms.
GNU General Public License v3.0
16 stars 5 forks source link

Compatibility with StochSS #8

Closed mgolkaram closed 9 years ago

briandrawert commented 9 years ago

Created StochSS branch: https://github.com/StochSS/stochss/tree/use_stochkit_2.1 Initial tests show that Stochkit 2.1 is compatible with StochSS

briandrawert commented 9 years ago

StochKit itself works, but in StochSS the Stochkit_ode package fails to compile with this error:

Undefined symbols for architecture x86_64:
  "exitFunc(int)", referenced from:
      STOCHKIT::Input<boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::__1::allocator<double> > >, std::__1::vector<boost::numeric::ublas::mapped_vector<double, boost::numeric::ublas::map_std<unsigned long, double, std::__1::allocator<std::__1::pair<unsigned long const, double> > > >, std::__1::allocator<boost::numeric::ublas::mapped_vector<double, boost::numeric::ublas::map_std<unsigned long, double, std::__1::allocator<std::__1::pair<unsigned long const, double> > > > > >, STOCHKIT::CustomPropensitySet<boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::__1::allocator<double> > > >, std::__1::vector<std::__1::vector<unsigned long, std::__1::allocator<unsigned long> >, std::__1::allocator<std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > > > >::Input(char*) in ode-1bb0a0.o
      STOCHKIT::Input_tag<STOCHKIT::ModelTag>::Input_tag(char*) in ode-1bb0a0.o
      STOCHKIT::Input_tag<STOCHKIT::ModelTag>::Input_tag(char*) in ODECommandLine.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/stochkit_ode] Error 1
briandrawert commented 9 years ago

Fixed with an update to the makefile by @rl85clivwm3tbdngekokhwrj4f5