pbsnodes -aS просмотр списка узлов sudo yum install tcsh wgrib; sudo pdsh -w node[0-20] yum -y install tcsh wgrib libgfortran Скрипт запуска ungrib qsub ungrib.pbs #!/bin/bash ### Job Name #PBS -N ungrib ### Project code ###PBS -A project_code #PBS -l walltime=01:00:00 ### Merge output and error files #PBS -j oe ### Select 2 nodes with 36 CPUs each for a total of 72 MPI processes ###PBS -l select=2:ncpus=36:mpiprocs=36 #PBS -l select=1:ncpus=1:mpiprocs=1 ### Send email on abort, begin and end ###PBS -m abe ### Specify mail recipient ###PBS -M email_address rm -fv ungrib.o* rm -fv *FILE\:* export PATH=$PATH:/home/bullterrier/wrf/lib/openmpi/openmpi-3.0.0/bin export LD_LIBRARY_PATH="/home/bullterrier/wrf/lib/netcdf/netcdf-4.6.0/lib":$LD_LIBRARY_PATH export LD_LIBRARY_PATH="/home/bullterrier/wrf/lib/jasper/jasper-1.900.5/lib":$LD_LIBRARY_PATH export LD_LIBRARY_PATH="/home/bullterrier/wrf/lib/hdf5/hdf5-1.10.1/lib":$LD_LIBRARY_PATH export LD_LIBRARY_PATH="/home/bullterrier/wrf/lib/libpng/libpng-1.6.34/lib":$LD_LIBRARY_PATH export LD_LIBRARY_PATH="/home/bullterrier/wrf/lib/zlib/zlib-1.2.11/lib":$LD_LIBRARY_PATH cd /home/bullterrier/wrf_run/arw_7.2km/ ### Run the executable ./link_grib.csh ../grib/*.grb2 ./ungrib.exe