Comments (5)
I think we should start moving towards libraries like scikit-build to help simplify some of the build logic.
from pymfem.
Thank you @justinlaughlin for digging into this. I commented out the if statement and just set haveWheel=False
, and tried to run
python setup.py install
In a fresh virtual environment with packages in requirements.txt
, the above command installed mfem
without any issues and examples run seamlessly. After installing mpi4py
, I also succeeded to install its parallel version.
from pymfem.
I also have the same problem as above. I have tried running both commands:
pip install mfem pip install mfem --no-binary mfem
from pymfem.
I can not reproduce this error on my Mac. My operating system is older (Monterey), but I am suspecting this may relating to the version of setuptools, since in my environment, it does not call chrpath. I used python -m pip install ./
from pymfem.
Okay, I did some digging into setup.py
.
chrpath
is only run ifdo_bdist_wheel==True
do_bdist_wheel==True
only ifconfigure_bdist()
is runconfigure_bidst()
is only run ifhaveWheel==True
haveWheel==True
only iffrom wheel.bdist_wheel import bdist_wheel
on line38
has no import error.
Thus, if wheel
is installed and has bdist_wheel
, setup.py
will try to build a wheel, and will fail if chrpath
is not installed.
Looking at the CI scripts:
- In
testrelease_binary.yml
wheel
is installed butchrpath
is also installed on line73
viayum
. - In
test_with_MFEM_*.yml
, the installation forwheel
is commented out.
@dohyun-cse and @andy9t7 can you try adding the flag haveWheel=False
in setup.py
after line 41
where it is set? I am guessing you are running into this error but @sshiraiwa is not because you already have wheel
installed. This needs to be fixed and made more robust, but I don't believe building the wheel is necessary, so the easiest hot-fix for now is to just set the flag to False
.
from pymfem.
Related Issues (20)
- `FindPointsGSLIB::GetCode()` does not return `mfem::Array<unsigned int>` HOT 1
- Installation failure with `--with-parallel` and `--with-gslib` on v.4.5.2.1 HOT 4
- How to implement LinearFormIntegrator HOT 1
- MFEM4.6 support HOT 1
- vtk output for solutions HOT 14
- First element read by GF is 0 not the value in the file HOT 4
- can't build with external mfem HOT 13
- GridFunction, ProjectCoefficient and GetValue HOT 5
- build with external mfem still broken HOT 4
- build with external openblas HOT 3
- Modify an existing mfem.Mesh HOT 2
- h derefinement fails after p adaption HOT 2
- Performance issues w/ mesh attribute retrieval HOT 3
- PyMFEM 4.7 HOT 4
- Wrapper for hyperbolic class and fixing ex18 HOT 2
- Tests are skipped (+ passed) on cuda build
- Parallel tests hang on python 3.7 & 3.8
- How to Install PyMFEM so that it reads Cubit Files? HOT 2
- Mesh Atributtes and .vtk/.vtu files HOT 1
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 pymfem.