Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report compiler type/version and library information with --version option #55

Closed
ceblanton opened this issue Feb 16, 2021 · 1 comment

Comments

@ceblanton
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Similar to #52, it would be useful for debugging user issues to quickly determine which compiler and library versions were used during compilation.

Describe the solution you'd like
The tools could report this information in a format similar to cdo:

>cdo --version  
Climate Data Operators version 1.7.2 (http://mpimet.mpg.de/cdo)
Compiled: by Hans.Vahlenkamp on hnv (x86_64-unknown-linux-gnu) Jul 11 2017 22:44:06
Compiler: gcc -std=gnu99 -g -O2 -fopenmp 
 version: gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
Features: DATA PTHREADS OpenMP3 HDF5 NC4/HDF5 UDUNITS2 SSE2
Libraries: HDF5/1.8.8
Filetypes: srv ext ieg grb nc nc2 nc4 nc4c 
     CDI library version : 1.7.2 of Jul 11 2017 22:43:14
 CGRIBEX library version : 1.7.5 of Jun  3 2016 14:44:00
  NetCDF library version : 4.2 of May 23 2012 12:14:03 $
    HDF5 library version : 1.8.8
 SERVICE library version : 1.4.0 of Jul 11 2017 22:43:00
   EXTRA library version : 1.4.0 of Jul 11 2017 22:42:56
     IEG library version : 1.4.0 of Jul 11 2017 22:42:59
    FILE library version : 1.8.2 of Jul 11 2017 22:42:56

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@underwoo
Copy link
Member

Including this would be nice, but the priority on this is quite low. We can reevaluate at a later date.

uramirez8707 pushed a commit to uramirez8707/FRE-NCtools that referenced this issue Mar 25, 2024
This seems to create static executables that don't require shared libraries,
which we want, but it doesn't work on orion as is.
uramirez8707 pushed a commit to uramirez8707/FRE-NCtools that referenced this issue Mar 25, 2024
uramirez8707 pushed a commit to uramirez8707/FRE-NCtools that referenced this issue Mar 25, 2024
uramirez8707 pushed a commit to uramirez8707/FRE-NCtools that referenced this issue Mar 25, 2024
MSU orion support

Closes NOAA-GFDL#55

See merge request fre/fre-nctools!116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants