Comments (8)
You might consider using the mingwstatic builds as gcc compilers toolchains. These mingw-w64 based builds has been assembled and patched to simplify the creation of gcc based python extensions on Windows.
See https://bitbucket.org/carlkl/mingw-w64-for-python/downloads for download and https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/mingwstatic-2014-11-readme.md for some explanations.
The latest winpython builds https://winpython.github.io integrates mingwstatic as default for both 32 and 64 bit.
from cpymad.
@carlkl thanks for your hint. I will look into your repositories and see if it will be useful. :)
from cpymad.
@coldfix, after some manual tweaking of the build process I got:
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads/cpymad-0.10.1-cp27-none-win_amd64.whl
That is cpymad for python2.7 amd64 (64bit).
from cpymad.
Hey @carlkl. If I may ask, are you interested in seeing 64bit binaries of this package on PyPI (have 32bit already) - or did you just stumble across this package by accident and decided to inform me about a convenient build platform?
I didn't really think this package is used by anyone else outside HIT at the moment, but if that turns out to be wrong, I might be more careful when breaking API, etc;)
from cpymad.
This package may be of interest for others in the accelerator community. BTW: I stupmbled upon it due to the HIT IPAC14 paper. The mentioned mingw-w64 builds assure correct MS CRT runtime useage and self contained pyd's without the need to deploy further gcc runtimes. These runtime DLLs are missing in your 32 bit distro.
from cpymad.
Sounds great! I just tried to build cpymad/madx (using CMake and the gcc in the winpython installation on a 64bit system), but I ran into problems while linking MAD-X:
ld.exe: cannot find -lgcc_eh
Before I research how to solve this, maybe you had the same problem and can tell me?
from cpymad.
@coldfix coldfix, just remove -lgcc_eh
from the command line given in
build/src/CMakeFiles/madxbin.dir/link.txt
from cpymad.
Closing this for now, distributing WinPython builds seems good enough.
from cpymad.
Related Issues (20)
- Differences in cpymad `table.twiss` and madx `table(twiss, X, X)` when running `use` HOT 7
- Twiss at certain positions HOT 13
- Element redefinition and twiss HOT 5
- Add support to release Linux AArch64 wheels HOT 7
- EMIT module output is displayed with "delay" HOT 2
- TWISS: no beta0 found HOT 1
- New functions
- Can't run madx instance. TypeError HOT 5
- Build error on Win10 Anaconda 2022.5 HOT 11
- What is the preferred way to retrieve the command (string) with which an Element was created? HOT 3
- libmadx error installing on M1/M2 Apple Silicon HOT 7
- Pitfalls on compiling libmadx/cpymad on Linux HOT 5
- Proposal: specialize tables HOT 8
- Wheel for M1 apple? HOT 2
- Python 3.11 Wheels HOT 4
- Error building cpymad on M1 Apple Silicon - "-march=core2" not supported HOT 5
- call does not work when double slash is present in file path HOT 2
- access default beam HOT 1
- ValueError: TypeError: write() argument must be str HOT 4
- Python 3.12 wheels HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpymad.