LLNL / libROM

Model reduction library with an emphasis on large scale parallelism and linear subspace methods
https://www.librom.net
Other
201 stars 36 forks source link

Python Interface (SWIG) #119

Closed kevinhkhuynh closed 1 year ago

kevinhkhuynh commented 2 years ago

The compilation process should download and install SWIG 4.0.2 for you, but a few paths are hardcoded to my paths and need to be updated.

This is still in an unworking state.

Instructions while inside base directory of libROM:

python3 -m venv py3 source py3/bin/activate pip install --upgrade pip pip install numpy mpi4py h5py ./scripts/compile.sh -mp (Not working here after pulling in updates from master. Was working previously.)

chldkdtn commented 2 years ago

I am pinging @pranav-vempati here because it is most likely that Pranav will pick this up and finish it.

kevinhkhuynh commented 2 years ago

Useful documentation: https://www.swig.org/Doc1.3/Python.html

chldkdtn commented 1 year ago

@sullan2 Not sure how much this would help you for python interface task you are working on right now, but please check this PR out.

chldkdtn commented 1 year ago

@kevinhkhuynh & @dreamer2368 We are developing pylibROM with pybind11. So I think we can safely close this. What do you think?

dreamer2368 commented 1 year ago

I agree with you, @chldkdtn .

kevinhkhuynh commented 1 year ago

@chldkdtn This makes sense to me too.