Comments (9)
@strandwg is this that same "gcc was built with disable-multilib on" error we hit back in early September?
from cmor.
@strandwg I'm not sure how exactly you are building your Fortran code with CMOR 3.7, but looking on Google for the "unable to initialize decompress status for section .debug_info" error shows several results talking about binutils-2.32. Which version of binutils are you using in your environment?
An example of the issue: https://wiki.gentoo.org/wiki/Project:Toolchain/Binutils_2.32_upgrade_notes/elfutils_0.175:_unable_to_initialize_decompress_status_for_section_.debug_info
from cmor.
For reference - this was identified as a env/compiler conflict:
On Thu, Sep 8, 2022 at 4:35 PM Durack, Paul J. wrote:
This looks like an environment/platform/version issue to me
https://stackoverflow.com/questions/62405518/weird-error-when-compiling-32-bit-programs-with-gcc
Are you using a recent version of gfortran, and is this version aligned with the version used to compile CMOR on conda-forge (10.4.0 – see here)?
P
from cmor.
from cmor.
@strandwg any luck with gfortran 12.1.0?
from cmor.
The gfortran version doesn't matter - I get the same set of errors:
/usr/bin/ld: /glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a(cmor.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a(cmor.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a(cmor_fortran_interface.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a(cmor_fortran_interface.o): unable to initialize decompress status for section .debug_info
/glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a: error adding symbols: File format not recognized
The other interesting thing is that I get the same errors simply linking in a "Hello, world" Fortran90 program, without calling any CMOR routines at all.
from cmor.
@strandwg just to confirm have you tried to build with disable-multilib=on
? see #675 (comment)
from cmor.
If you are using a conda environment to build your CMOR programs, then could you provide us a listing of packages in your environment? Use the command conda list -n <env_name>
.
You might also want to try cleaning your build directory by running make distclean
.
from cmor.
@strandwg this issue seems to have become stale, so will close this out - please reopen if you still have a problem that requires attention
from cmor.
Related Issues (20)
- CMOR segfaults with mip cmor tables and CMIP6Plus CV.json HOT 14
- Test suite cleanup
- Exposing latest netcdf 4.9.x library functionality: quantize, zstandard HOT 13
- Remove unused attributes when processing CMIP6Plus datasets HOT 14
- Exposing latest netcdf 4.9.x library functionality: quantize, zstandard HOT 48
- unclear warning... HOT 5
- bounds required on singleton lon and lat? HOT 5
- avoid attributes of bounds of auxilliary coordinates (`vertices_latitudes` / `vertices_longitude`) HOT 5
- Calibrating CMOR3 & 4 forward development plans HOT 7
- CMOR 3.8.0 Release HOT 4
- Update README.md to remove v3.7 reference
- default `realm = "REALM"` is always written although not required by CV HOT 2
- order in `required_global_attributes` matters HOT 1
- input time type as INT HOT 3
- CircleCI current image deprecated HOT 1
- Numpy 2.0 compatibility issue HOT 2
- File output size and chunking HOT 10
- Message Logging generates duplicated output lines
- DESTDIR support HOT 2
- Failure invoking set_deflate 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 cmor.