Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

WIP: Add internal wrappers #32

Closed
wants to merge 5 commits into from

Conversation

nathanfranklin
Copy link
Member

This PR adds the released INTERNAL wrappers to modeling engines.

Added to Makefile Wrapper Comments
✔️ jyu-lb workaround some of the issues in simphony/simphony-jyulb#21. See commit message of 0012609
✔️ lammps-md had to alter LD_LIBRARY_PATH when running tests to that lammps.py could find the lammps library
kratos waiting for simphony/simphony-kratos#9
✔️ numerrin workarounds some of the issues (simphony/simphony-numerrin#5 and simphony/simphony-numerrin#6). currently testing (through test-framework/test-plugins) only occurs when an environmental variable is set (HAVE_NUMERRIN=yes)
openfoam waiting for simphony/simphony-openfoam#23

Nathan Franklin added 3 commits June 16, 2015 11:11
version 0.1.3 of simphony-lammps-md now requires
the lammps python module.  The module uses the
python wrapper to the LAMMPS library which needs
to load the liblammps.so; we are currently adding
the libraries location to LD_LIBRARY_PATH when
testing the plugin
Updating the version of simphony-jyulb requires that (i) the master of
jyulb was used as jyulb version 0.1.0 no longer works for
simphony-version 0.1.2 and (ii) that we had to use
"python setup.py develop" instead of "python setup.py install" due to
problems when running the tests.
rm -Rf src/lammps
@echo
@echo "Lammps solver installed"

jyu-lb:
rm -Rf src/JYU-LB
git clone --branch 0.1.0 https://github.com/simphony/JYU-LB.git src/JYU-LB
git clone --branch master https://github.com/simphony/JYU-LB.git src/JYU-LB
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should always checkout a tag of a stable release. master is not a safe choice

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, agree. simphony-jyulb 0.1.2 fails with JYU-LB 0.1.0. I have created an issue at simphony/simphony-jyulb#22

@itziakos
Copy link
Member

@nathanfranklin, I had a quick review. It looks that integration is in the right path. We should push however for haste in the necessary fixes from the collaborators to avoid problems down the line.

@nathanfranklin
Copy link
Member Author

@nathanfranklin, I have a quick review. It looks that integration is in the right path. We should push however for haste fixes to avoid problems down the line.

I totally agree. There are the three workaround-fixes that are currently added in this PR and then work-around for simphony/simphony-openfoam#25 . It would be best if these issues were all fixed (and related fixes in the makefile were removed) before we merge this PR. There are solutions for each of these issues so it should be doable (although i have temporarily given up on the lammps-library one).

@itziakos
Copy link
Member

(although i have temporarily given up on the lammps-library one).

I have not looked into the details, but the poor mans solution is to manipulate the activate script and add the new library search path.

Nathan Franklin added 2 commits June 18, 2015 16:52
simphony-numerrin currently requires that the tests be run from a
specific directory.
numerrin requires a license so the testing is optional
and can be activated with setting the HAVE_NUMERRIN
enviroment variable to "yes"
@nathanfranklin
Copy link
Member Author

This is being replaced by #36

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants