trilinos / Trilinos

Primary repository for the Trilinos Project
https://trilinos.org/
Other
1.19k stars 565 forks source link

PyTrilinos: compile failure using develop branch #11073

Open VictorEijkhout opened 1 year ago

VictorEijkhout commented 1 year ago

I've never seen this before:

[ 79%] Swig source /admin/build/admin/rpms/stampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src/LOCA.Epetra.Interface.i
cd /tmp/trilinos-build/packages/PyTrilinos/src && /home1/apps/gcc9_1/swig/4.0.2/bin/swig -python -doxygen -relativeimport -py3 -outdir PyTrilinos/LOCA/Epetra -c++ -I/tmp/trilinos-build -I/tmp/trilin
os-build/packages/PyTrilinos/src -I/admin/build/admin/rpms/stampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src -I/opt/apps/gcc9_1/python3/3.8.2/include/python3.8 -I/opt/apps/gcc9_1/python3/
3.8.2/lib/python3.8/site-packages/numpy-1.18.1-py3.8-linux-x86_64.egg/numpy/core/include -o /tmp/trilinos-build/packages/PyTrilinos/src/LOCA.Epetra.InterfacePYTHON_wrap.cpp /admin/build/admin/rpms/s
tampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src/LOCA.Epetra.Interface.i
/admin/build/admin/rpms/stampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src/Teuchos.i:71: Error: Unable to find 'Teuchos_config.h'
/admin/build/admin/rpms/stampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src/Teuchos.i:72: Error: Unable to find 'Teuchos_ConfigDefs.hpp'
/admin/build/admin/rpms/stampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src/Teuchos.i:73: Error: Unable to find 'Teuchos_DLLExportMacro.h'
/admin/build/admin/rpms/stampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src/Teuchos.i:74: Error: Unable to find 'Teuchos_iostream_helpers.hpp'
/admin/build/admin/rpms/stampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src/Teuchos.i:155: Error: Unable to find 'Teuchos_TypeNameTraits.hpp'
/admin/build/admin/rpms/stampede2/BUILD/trilinos-git20220928/packages/PyTrilinos/src/Teuchos.i:156: Error: Unable to find 'Teuchos_NullIteratorTraits.hpp'
VictorEijkhout commented 1 year ago

full log attached.

trilinoslog.zip

cgcgcg commented 1 year ago

@trilinos/pytrilinos @pyt-viper

jhux2 commented 1 year ago

@VictorEijkhout Possibly. Afaik, there isn't testing coverage for this.

github-actions[bot] commented 11 months ago

This issue has had no activity for 365 days and is marked for closure. It will be closed after an additional 30 days of inactivity. If you would like to keep this issue open please add a comment and/or remove the MARKED_FOR_CLOSURE label. If this issue should be kept open even with no activity beyond the time limits you can add the label DO_NOT_AUTOCLOSE. If it is ok for this issue to be closed, feel free to go ahead and close it. Please do not add any comments or change any labels or otherwise touch this issue unless your intention is to reset the inactivity counter for an additional year.

VictorEijkhout commented 11 months ago

The ticket pertains to a now-decomissioned machine, and trying it elsewhere it does seem to build a python interface.

Can someone suggest me a one-line test for the presence of PyTrilinos? Presumably import something or other.