LibBI in a C++ program

36 views
Skip to first unread message

andrea...@gmail.com

unread,
Apr 21, 2017, 10:37:51 AM4/21/17
to LibBi Users
Hi,

I would like to know if it is possible to use LibBI in a C++ program without call to the parser. 
I am an enthusiastic user of LibBI, however for a big project I need to use LibBI as a part of the architecture and not as a stand-alone program.

Best,
Andrea

Sebastian Funk

unread,
Apr 24, 2017, 12:17:28 PM4/24/17
to andrea...@gmail.com, LibBi Users
Hi Andrea,

It depends a bit on what exactly you're aiming to do, but a good starting point might be to run libbi (with --dry-run) and look at sample_cpu.cpp (or sample_gpu or filter_cpu or whatever it is you'd like to do) inside the working folder. You could then copy/paste that code and set the bits manually that are otherwise parsed from the command line.

Seb.

andrea...@gmail.com

unread,
Apr 26, 2017, 3:38:46 AM4/26/17
to LibBi Users, andrea...@gmail.com
Hi Sebastian,

thank you for your reply.  
I will look at --dry-run option.

Best,
Andrea
Reply all
Reply to author
Forward
0 new messages