Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xolotl should support standalone integration #397

Open
9 tasks
sg-s opened this issue Apr 8, 2019 · 2 comments
Open
9 tasks

xolotl should support standalone integration #397

sg-s opened this issue Apr 8, 2019 · 2 comments
Assignees
Labels
C++ architectural change to the C++ code enhancement no-issue-activity

Comments

@sg-s
Copy link
Owner

sg-s commented Apr 8, 2019

See HDF5 API for C++

  • g++ should compile a standalone binary
  • should write a wrapper function that is multithreaded, to run N-1 threads
  • each thread reads a .mat file with some integration parameters, using the HDF5 library
  • each thread should write out V, Ca (and maybe other things) to a .mat file (using the HDF5 library)

advantages over xgrid:

  • will not need MATLAB's parallel processing toolbox
  • should be much lighter on memory, since we're using multithreading, not multiprocessing
  • allows for MATLAB-less computation, since standalone binary can work on its own

Steps to be done:

  • write a function that writes out state to disk in a binary format (see this)
  • write some C++ code that can read out written states from disk (see this)
  • write a new version of mexTemplate that can uses a different entry point
  • write a fake version of mex.h that provides some basic functionality for compatibility
  • write a new version of transpile
@sg-s sg-s self-assigned this Apr 8, 2019
@sg-s sg-s added C++ architectural change to the C++ code enhancement labels Apr 8, 2019
@alec-hoyland
Copy link
Collaborator

alec-hoyland commented Apr 9, 2019 via email

@github-actions
Copy link

Stale issue message

@sg-s sg-s reopened this Aug 14, 2019
@sg-s sg-s reopened this Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ architectural change to the C++ code enhancement no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants