Description
I'm encountering build failures when trying to install PyMFEM with advanced features (CUDA, Suitesparse, GSlab, LibCEED, LAPACK, parallel/HYPRE) on a Linux system. The build process fails with multiple compilation errors related to missing wrap files, deprecated classes, and g++ compilation failures.
Environment
- OS: Linux (x86_64)
- Python: 3.10 (Anaconda environment)
- Compiler: g++ (system default)
- PyMFEM Source: Local clone of PyMFEM repository
- Installation Command:
pip install ./ -C"with-parallel=Yes" -C"with-suitesparse=Yes" -C"with-gslib=Yes" -C"with-libceed=Yes" -C"with-lapack=Yes" -C"with-cuda=Yes" -C"with-cuda-hypre=Yes" -C"cuda-arch=75" --verbose
Error Log Key Details
-
Critical Compilation Errors:
g++: error: tmop_tools_wrap.cxx: No such file or directory
g++: fatal error: no input files
compilation terminated.
g++: error: gslib_wrap.cxx: No such file or directory
g++: fatal error: no input files
compilation terminated.
-
Deprecated Class Warnings (repeated for TMOP_Metric_skew2D):
warning: ‘TMOP_Metric_skew2D’ is deprecated [-Wdeprecated-declarations]
class MFEM_DEPRECATED TMOP_Metric_skew2D : public TMOP_QualityMetric
-
Polymorphic Destructor Warning:
warning: deleting object of polymorphic class type ‘mfem::Integrator’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
-
Final Failure:
subprocess.CalledProcessError: Command 'python3.10 setup.py build_ext --inplace --parallel 7' returned non-zero exit status 1.
ERROR: Failed building wheel for mfem
Questions
- What causes the missing
tmop_tools_wrap.cxx and gslib_wrap.cxx files during compilation?
- Are the deprecated
TMOP_Metric_skew2D warnings blocking the build, or just warnings?
- Is there a known compatibility issue with PyMFEM when enabling both CUDA and parallel/HYPRE with Suitesparse?
- Are there additional build flags or configuration steps needed for CUDA+HYPRE integration?
Any guidance on resolving the missing wrap file errors and successful compilation with the requested features would be greatly appreciated.
part of log .txt
Description
I'm encountering build failures when trying to install PyMFEM with advanced features (CUDA, Suitesparse, GSlab, LibCEED, LAPACK, parallel/HYPRE) on a Linux system. The build process fails with multiple compilation errors related to missing wrap files, deprecated classes, and g++ compilation failures.
Environment
Error Log Key Details
Critical Compilation Errors:
Deprecated Class Warnings (repeated for
TMOP_Metric_skew2D):Polymorphic Destructor Warning:
Final Failure:
Questions
tmop_tools_wrap.cxxandgslib_wrap.cxxfiles during compilation?TMOP_Metric_skew2Dwarnings blocking the build, or just warnings?Any guidance on resolving the missing wrap file errors and successful compilation with the requested features would be greatly appreciated.
part of log .txt