trilinos / Trilinos

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

Framework: CEE machines incorrectly labeled as RHEL7 in `supported-systems.ini` #13338

Closed jhux2 closed 2 months ago

jhux2 commented 2 months ago

@trilinos/framework

While I was reproducing an AT error locally, I hit this error. I was able to get around it using --force.

source $TRILINOS_SRC/packages/framework/GenConfig/gen-config.sh --cmake-fragment gen-config.cmake rhel8_sems-cuda-11.4.2-gnu-10.1.0-openmpi-4.1.6_release_static_Volta70_no-asan_complex_no-fpic_mpi_pt_no-rdc_no-uvm_deprecated-on_no-package-enables $TRILINOS_SRC
Using system 'rhel7' based on matching hostname 'ascicgpu032'.
Overriding system to 'rhel8' based on specification in build name 'rhel8_sems-cuda-11.4.2-gnu-10.1.0-openmpi-4.1.6_release_static_Volta70_no-asan_complex_no-fpic_mpi_pt_no-rdc_no-uvm_deprecated-on_no-package-enables'.

+==============================================================================+
|   ERROR:  Hostname 'ascicgpu032' matched to system 'rhel7' in
|           '/home/jhu/trilinos/Trilinos-trilinos/packages/framework/srn-ini-
|           files/trilinos/framework/supported-systems.ini', but you specified
|           'rhel8' in the build name.  If you want to force the use of 'rhel8',
|           add the --force flag.
+==============================================================================+

I think the issue is that packages/framework/srn-ini-files/trilinos/framework/supported-systems.ini incorrectly lists ascicgpu032 and a bunch of other CEE lan machines as RHEL7.

achauphan commented 2 months ago

@jhux2 I've put up a PR on our SRN-ini-files repo with this fix, I'll update this issue when that's been merged. Thanks!

achauphan commented 2 months ago

@jhux2 srn-ini-files changes has been merged, please re-run get_dependencies.sh for the updated supported-systems.ini.

jhux2 commented 2 months ago

@achauphan gen-config.sh works now without the --force option. Thank you!