mnishida / pymwm Goto Github PK
View Code? Open in Web Editor NEWPymwm is a metallic waveguide mode solver witten in Python
License: MIT License
Pymwm is a metallic waveguide mode solver witten in Python
License: MIT License
Hi professor Munehiro Nishida,
thank you for your work making this package
where can I find the install instructions for this package?
how could we get a conda package installer?
this is what i get when i run
python setup.py install
running install
running bdist_egg
running egg_info
writing pymwm.egg-info/PKG-INFO
writing dependency_links to pymwm.egg-info/dependency_links.txt
writing entry points to pymwm.egg-info/entry_points.txt
writing requirements to pymwm.egg-info/requires.txt
writing top-level names to pymwm.egg-info/top_level.txt
package init file 'tests/__init__.py' not found (or not a regular file)
package init file 'examples/__init__.py' not found (or not a regular file)
reading manifest file 'pymwm.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'pymwm.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying pymwm/waveguide.py -> build/lib.linux-x86_64-3.9/pymwm
copying pymwm/__init__.py -> build/lib.linux-x86_64-3.9/pymwm
creating build/lib.linux-x86_64-3.9/tests
copying tests/test_cylinder_samples.py -> build/lib.linux-x86_64-3.9/tests
copying tests/test_slit_coefs.py -> build/lib.linux-x86_64-3.9/tests
copying tests/test_database.py -> build/lib.linux-x86_64-3.9/tests
copying tests/test_cylinder_coefs.py -> build/lib.linux-x86_64-3.9/tests
copying tests/test_cylinder.py -> build/lib.linux-x86_64-3.9/tests
copying tests/test_slit_samples.py -> build/lib.linux-x86_64-3.9/tests
copying tests/test_slit.py -> build/lib.linux-x86_64-3.9/tests
copying pymwm/cylinder/utils/cylinder_utils.cpp -> build/lib.linux-x86_64-3.9/pymwm/cylinder/utils
creating build/lib.linux-x86_64-3.9/pymwm/slit
creating build/lib.linux-x86_64-3.9/pymwm/slit/utils
copying pymwm/slit/utils/slit_utils.cpp -> build/lib.linux-x86_64-3.9/pymwm/slit/utils
creating build/lib.linux-x86_64-3.9/examples
copying examples/examples.ipynb -> build/lib.linux-x86_64-3.9/examples
running build_ext
building 'pymwm.cylinder.utils.cylinder_utils' extension
C compiler: gcc -pthread -B /home/jmatres/miniconda3/compiler_compat -Wl,--sysroot=/ -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/jmatres/miniconda3/include -fPIC -O2 -isystem /home/jmatres/miniconda3/include -fPIC
compile options: '-I/home/jmatres/miniconda3/lib/python3.9/site-packages/numpy/core/include -I. -I/opt/intel/mkl/include -I/home/jmatres/miniconda3/include/python3.9 -c'
extra options: '-fPIC -m64 -fopenmp -march=native -O3 -ftree-vectorizer-verbose=2 -Wl,--no-as-needed'
gcc: pymwm/cylinder/utils/cylinder_utils.cpp
In file included from /home/jmatres/miniconda3/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
from /home/jmatres/miniconda3/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/jmatres/miniconda3/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from pymwm/cylinder/utils/cylinder_utils.cpp:674:
/home/jmatres/miniconda3/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
17 | #warning "Using deprecated NumPy API, disable it with " \
| ^~~~~~~
g++ -pthread -B /home/jmatres/miniconda3/compiler_compat -Wl,--sysroot=/ -shared -Wl,-rpath,/home/jmatres/miniconda3/lib -Wl,-rpath-link,/home/jmatres/miniconda3/lib -L/home/jmatres/miniconda3/lib -Wl,-rpath,/home/jmatres/miniconda3/lib -Wl,-rpath-link,/home/jmatres/miniconda3/lib -L/home/jmatres/miniconda3/lib build/temp.linux-x86_64-3.9/pymwm/cylinder/utils/cylinder_utils.o -L/opt/intel/mkl/lib/intel64 -lmkl_rt -o build/lib.linux-x86_64-3.9/pymwm/cylinder/utils/cylinder_utils.cpython-39-x86_64-linux-gnu.so -shared
/home/jmatres/miniconda3/compiler_compat/ld: cannot find -lmkl_rt
collect2: error: ld returned 1 exit status
error: Command "g++ -pthread -B /home/jmatres/miniconda3/compiler_compat -Wl,--sysroot=/ -shared -Wl,-rpath,/home/jmatres/miniconda3/lib -Wl,-rpath-link,/home/jmatres/miniconda3/lib -L/home/jmatres/miniconda3/lib -Wl,-rpath,/home/jmatres/miniconda3/lib -Wl,-rpath-link,/home/jmatres/miniconda3/lib -L/home/jmatres/miniconda3/lib build/temp.linux-x86_64-3.9/pymwm/cylinder/utils/cylinder_utils.o -L/opt/intel/mkl/lib/intel64 -lmkl_rt -o build/lib.linux-x86_64-3.9/pymwm/cylinder/utils/cylinder_utils.cpython-39-x86_64-linux-gnu.so -shared" failed with exit status 1
let me know what you think
Joaquin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.