Error when installing METplus--12.0.2 #2897
Replies: 1 comment 3 replies
-
@koupel, thanks for letting us know about the compilation issue and for sending your Can you please let me know the organization or institution with which you're affiliated, so I can add a "requestor" label to this discussion to help us keep track of the support we provide? On to the issue at hand. Here's the relevant error from the
Doing some investigating, I see that we reference the I do note that that Looking in
So I'm a bit puzzled as to why this is being flagged. For reference, we're currently using GNU 12.2.0 in our development environment:
The good news is that I think this is very easy to fix. Please try modifying I tested with the same change in our development environment and note that it compiles fine without that local variable being set. Does that get past this error message? Another option is compiling with a more recent compiler version... but 9.4.0 from 2019 is not all that old. So I'd fully expect that we should be able to compile MET with it. Please let me know how it goes. If removing that line fixes it, we could either pull back the 12.0.2 bugfix release and reissue it, or just include that change in the next official MET version 12.1.0. |
Beta Was this translation helpful? Give feedback.
-
met.make.log
config.log
configure.log
install_met_env.txt
compile_MET_all.txt
Hello everyone,
I'm writing to you because I want to use METplus to evaluate the output of the WRF model. However, I'm having trouble installing the software. I've looked through the old discussions but have not been successful. I'm getting errors. I've attached the various log files.
I've also attached the last lines from my terminal.
Thank you in advance for your help
Compiling NetCDF-CXX at Sun 16 Feb 2025 01:34:48 PM GMT
cd /home/thomas/Software/METplus/12.0.2/external_libs/netcdf/netcdf-cxx4-4.3.1
./configure --prefix=/home/thomas/Software/METplus/12.0.2/external_libs LDFLAGS=-L/home/thomas/Software/METplus/12.0.2/external_libs/lib CPPFLAGS=-I/home/thomas/Software/METplus/12.0.2/external_libs/include LIBS=" " > /home/thomas/Software/METplus/12.0.2/external_libs/netcdf/netcdf-cxx4-4.3.1/netcdf-cxx.configure.log 2>&1
make install > /home/thomas/Software/METplus/12.0.2/external_libs/netcdf/netcdf-cxx4-4.3.1/netcdf-cxx.make_install.log 2>&1
Compiling MET at Sun 16 Feb 2025 01:35:28 PM GMT
MET Configuration settings...
export MET_PYTHON_CC=-I/home/thomas/anaconda3/include/python3.12
export MET_NETCDF=/home/thomas/Software/METplus/12.0.2/external_libs
export MET_GRIB2CLIB=/home/thomas/Software/METplus/12.0.2/external_libs/lib
export MET_TARBALL=/home/thomas/Software/METplus/12.0.2/tar_files/v12.0.2.tar.gz
export MET_HDF5=/home/thomas/Software/METplus/12.0.2/external_libs
export MET_FONT_DIR=/home/thomas/Software/METplus/12.0.2/fonts
export MET_GSL=/home/thomas/Software/METplus/12.0.2/external_libs
export MET_BUFRLIB=/home/thomas/Software/METplus/12.0.2/external_libs/lib
export MET_PROJ=/home/thomas/Software/METplus/12.0.2/external_libs
export MET_GRIB2CINC=/home/thomas/Software/METplus/12.0.2/external_libs/include
export MET_SUBDIR=/home/thomas/Software/METplus/12.0.2/
export MET_PYTHON_LD=-L/home/thomas/anaconda3/lib/python3.12/config-3.12-x86_64-linux-gnu -L/home/thomas/anaconda3/lib -lpython3.12 -lpthread -ldl -lutil -lm
export MET_PYTHON=/home/thomas/anaconda3
export MET_PYTHON_BIN_EXE=/home/thomas/anaconda3/bin/python3
LDFLAGS = -Wl,--disable-new-dtags -Wl,-rpath,/home/thomas/Software/METplus/12.0.2/external_libs/lib -L/home/thomas/Software/METplus/12.0.2/external_libs/lib -Wl,-rpath,/home/thomas/Software/METplus/12.0.2/external_libs/lib64 -L/home/thomas/Software/METplus/12.0.2/external_libs/lib64 -Wl,-rpath,/home/thomas/Software/METplus/12.0.2/external_libs/lib/lib64 -L/home/thomas/Software/METplus/12.0.2/external_libs/lib/lib64 -Wl,-rpath,/home/thomas/anaconda3/lib -L/home/thomas/anaconda3/lib
cd /home/thomas/Software/METplus/12.0.2/MET-12.0.2
./configure --prefix=/home/thomas/Software/METplus/12.0.2/ --bindir=/home/thomas/Software/METplus/12.0.2/bin BUFRLIB_NAME=-lbufr_4 GRIB2CLIB_NAME=-lg2c --enable-grib2 --enable-python > /home/thomas/Software/METplus/12.0.2/MET-12.0.2/configure.log 2>&1
make > /home/thomas/Software/METplus/12.0.2/MET-12.0.2/met.make.log 2>&1
ERROR: Command returned with non-zero (2) status: make > /home/thomas/Software/METplus/12.0.2/MET-12.0.2/met.make.log 2>&1
Beta Was this translation helpful? Give feedback.
All reactions