Coder Social home page Coder Social logo

Comments (6)

mauzey1 avatar mauzey1 commented on July 3, 2024

@strandwg Is this on Linux or Mac? How was gfortran 10.1 installed on your machine? Through conda?

from cmor.

strandwg avatar strandwg commented on July 3, 2024

I was advised to use gfortran 10.1 as that's what CMOR was tested with as the Fortran compiler. I have no idea if gfortran was built with conda; the machine I'm using is our data processing platform which is Linux-based.

from cmor.

mauzey1 avatar mauzey1 commented on July 3, 2024

Would you mind providing the build steps that you went through to get to this point? I assume you created an environment for CMOR using conda create -n CMOR -c conda-forge cmor since our discussion in PCMDI/cmor3_documentation#120.

Did you use both gcc and gfortran installed on your machine when building Fortran programs with CMOR? In our tests, we would install both compilers from conda-forge.

conda install -n CMOR -c conda-forge gcc_linux-64 gfortran_linux-64
export LDSHARED_FLAGS="-shared -pthread"

# Set prefix for configure step.
# ------------------------------------------------
export PREFIX=$(python -c "import sys; print(sys.prefix)")

# Configure the Makefile.
# ------------------------------------------------
./configure --prefix=$PREFIX --with-python --with-uuid=$PREFIX --with-json-c=$PREFIX --with-udunits2=$PREFIX --with-netcdf=$PREFIX  --enable-verbose-test

# Run the tests with the Makefile (without rebuilding CMOR).
# ------------------------------------------------
make test -o cmor -o python

from cmor.

strandwg avatar strandwg commented on July 3, 2024

I use the system-installed compilers:

#!/bin/sh

source /etc/profile.d/modules.sh

module load conda
module load gnu/10.1.0

install cmor

------------------------------------------------

conda create -n CMOR -c conda-forge cmor
conda activate CMOR

Clone the CMIP6 table to your working directory.

------------------------------------------------

mkdir CMIP6_work
cd CMIP6_work

Disable SSL verification (firewall only).

-----------------------------------------

export GIT_SSL_NO_VERIFY=true
git clone https://github.com/PCMDI/cmip6-cmor-tables.git

from cmor.

mauzey1 avatar mauzey1 commented on July 3, 2024

@strandwg Do you know which version of binutils you are using on your system? I found a page that has the same error message you are getting with the solution to use binutils-2.32 or above.

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.

durack1 avatar durack1 commented on July 3, 2024

@strandwg this issue has been unanswered for over a year, so closing - please reopen if an ongoing issue needs attention

from cmor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.