module load gcc/8.2.0.hlrn module load cmake/3.12.2 module load netcdf/4.6.1_gcc.8.2 mkdir build ; cd build echo `pwd` parentdir="$(dirname "$(pwd)")" export PREFIX=$parentdir echo "builing for "$PREFIX export HDF5=/sw/dataformats/hdf5/1.8.20/skl/gcc.8.2.0.hlrn export HDF5_LIBRARIES=$HDF5/ export HDF5_INCLUDE_DIRS=$HDF5/ export NETCDF=/sw/dataformats/netcdf/4.6.1/skl/gcc.8.2.0.hlrn FFLAGS="-O2 -fPIC" CFLAGS="-O2 -fPIC" cmake -v \ -DBUILD_SHARED_LIBS=BOTH \ -DENABLE_MEMFS=ON \ -DENABLE_PNG=ON \ -DENABLE_JPG=ON \ -DENABLE_AEC=OFF \ -DENABLE_FORTRAN=ON \ -DENABLE_NETCDF=ON \ -DENABLE_ECCODES_OMP_THREADS=ON \ -DNETCDF_PATH=$NETCDF \ -DCMAKE_INSTALL_PREFIX="$PREFIX" ../src echo "Press ENTER to run make";read aaa make -j8 echo "Press ENTER to run make check";read aaa make check echo "Press ENTER to run make install";read aaa make install echo "Do not forget to run make clean!"
Bereich verwalten
Inhalt verwalten
Integrationen