libROM icon indicating copy to clipboard operation
libROM copied to clipboard

Python Interface (SWIG)

Open kevinhkhuynh opened this issue 2 years ago • 2 comments

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.)

kevinhkhuynh avatar Jun 08 '22 22:06 kevinhkhuynh

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

chldkdtn avatar Jul 28 '22 18:07 chldkdtn

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

kevinhkhuynh avatar Jul 28 '22 19:07 kevinhkhuynh

@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 avatar May 03 '23 04:05 chldkdtn

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

chldkdtn avatar Aug 22 '23 19:08 chldkdtn

I agree with you, @chldkdtn .

dreamer2368 avatar Aug 22 '23 21:08 dreamer2368

@chldkdtn This makes sense to me too.

kevinhkhuynh avatar Aug 22 '23 22:08 kevinhkhuynh