Comments (6)
@strandwg Is this on Linux or Mac? How was gfortran 10.1 installed on your machine? Through conda?
from cmor.
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.
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.
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.
@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.
from cmor.
@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)
- 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
- user defined grid mapping
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.