Skip to content
Snippets Groups Projects
Commit c585226b authored by kamischi's avatar kamischi
Browse files

calcHREELS runs

needs fix of library reference to gfortranlib in python modules
parent 5bc8bb87
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,10 @@ import scipy.integrate as integrate
libDir = os.path.dirname(os.path.realpath(__file__))
try:
from libhreels import myEels20 as LambinEELS # wrapper for myEels20.f90
from libhreels import myBoson as LambinBoson # wrapper for myBoson.f90
# from libhreels import myEels20 as LambinEELS # wrapper for myEels20.f90
# from libhreels import myBoson as LambinBoson # wrapper for myBoson.f90
import myEels20 as LambinEELS
import myBoson as LambinBoson
except:
print('myEels20 and MyBoson are not available here (Check your version)')
print('''Make sure the Fortran routines 'myEels20' and 'myBoson'
......
on macos the library reference is wrong. Fix with:
install_name_tool -change @rpath/libgfortran.5.dylib /opt/local/lib/libgcc/libgfortran.5.dylib myEels20.cpython-312-darwin.so
install_name_tool -change @rpath/libgfortran.5.dylib /opt/local/lib/libgcc/libgfortran.5.dylib myBoson.cpython-312-darwin.so
File moved
Python code/output/calcHREELS20.png

28.8 KiB

......@@ -3,35 +3,25 @@ name = "libhreels"
version = "2.1.1"
description = "Handling, simulating, and plotting HREELS and Auger spectroscopy data"
authors = ["Wolf Widdra <wolf.widdra@physik.uni-halle.de>"]
include = ["*./libhreels/*"]
exclude = ["./libhreels/eLog*"]
include = ["*.*"]
readme = "README.md"
homepage = "https://gitlab.informatik.uni-halle.de/e3fm8/libhreels"
#homepage = "https://gitlab.informatik.uni-halle.de/e3fm8/libhreels"
[tool.poetry.dependencies]
importlib-metadata = {version = "^1.0", python = "<=3.12"}
python = "^3.8"
matplotlib = "^3.2"
scipy = "^1.4"
#elog = {url = "https://github.com/paulscherrerinstitute/py_elog/archive/master.zip"}
requests = "^2.23.0"
argparse = "^1.4.0"
numpy = "^1.18.2"
#elog = {url = "https://github.com/paulscherrerinstitute/py_elog/archive/master.zip"}
[tool.poetry.dev-dependencies]
pytest = "^5.2"
[tool.poetry.scripts]
dielectrics = "libhreels.dielectrics:myMain"
calchreels = "libhreels.calcHREELS20:myMain"
viewhreelstest = "libhreels.ViewHREELS:myMain"
[tool.poetry.plugins."gui_scripts"]
viewauger = "libhreels.ViewAuger:myMain"
viewhreels = "libhreels.ViewHREELS20:myMain"
[build-system]
requires = ["poetry>=0.12"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment