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

Successful installation of wrapper & library Android Termux #40

Open
defencedog opened this issue Feb 15, 2024 · 0 comments
Open

Successful installation of wrapper & library Android Termux #40

defencedog opened this issue Feb 15, 2024 · 0 comments

Comments

@defencedog
Copy link

defencedog commented Feb 15, 2024

Warning IPHREEQC official libs are same as VITENS ...change $PREFIX

You can compare sizes via (VItens are way bigger)
ls -sh libiphreeqc*

cd $PREFIX/local/lib [default official]

28M libiphreeqc-3.7.3.so 4.0K libiphreeqc.la
56M libiphreeqc.a 0 libiphreeqc.so

cd $PREFIX/lib [Vitens]

89M libiphreeqc-3.7.3.so 4.0K libiphreeqc.la
226M libiphreeqc.a 0 libiphreeqc.so

Extension of the IPhreeqc 3.3.7 module (Parkhurst&Appello). This extension aims to add more flexibility to the IPhreeqc module by exposing more information to the C extension. Instead of relying on SELECTED_OUTPUT this extensions enables users to directly gather information such as the pH, SC, speciation, element totals etc. of solutions.


git clone https://github.com/Vitens/VIPhreeqc
FC=gfortran-11 CC=gcc-11 CXX=g++-11 ./configure --prefix=$PREFIX
make -j4 
make install

https://github.com/Vitens/phreeqpython
pip install -U phreeqpython
It will install easily but default libs will not work as are not compiled for arm
Lib location, default names & replacement:


cd $PREFIX/lib/python3.9/sitepackages/phreeqpython/lib/
ls
rm *
ln -s $PREFIX/lib/libiphreeqc-3.7.3.so viphreeqc.so

Thus, first step is required (see above)
Screenshot_20240215_233046_Termux

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

No branches or pull requests

1 participant