cd /path/to/ECCODES
yum install -y openjpeg-devel python-devel numpy
tar -zxvf eccodes-2.18.0-Source.tar.gz
cd eccodes-2.18.0-Source
mkdir build cd build
export CC=`which clang` export CXX=`which clang++` export FC=`which flang` cmake ../../eccodes-2.18.0-Source -DCMAKE_INSTALL_PREFIX=/path/to/ECCODES
开始回显:
结束回显:
make -j 8
开始回显:
结束回显:
ctest
make install
export PATH=/path/to/ECCODES/bin:$PATH