# This file sets the processor counts for features run on all platforms. # Additional platform-specific variables are set in the hwrf_para_config.in # file in non-NCO mode. # The main file for this is hwrf_config.in # WRF I/O Servers -- defaults are NCO settings export IOSRV_PERGRP=@[IOSRV_PERGRP:-2] export IOSRV_GROUPS=@[IOSRV_GROUPS:-3] export IO_SERVERS=@[IO_SERVERS:-YES] # Forecast model config -- defaults set for NCO @** if IO_SERVERS==YES export npa=@[npa:-$(( npa+IOSRV_GROUPS*IOSRV_PERGRP ))] @** endif @** if MODEL==ATMOS export NPROCS_c=@[npc:-0] export NPROCS_o=@[npo:-0] export NPROCS_w=@[npw:-0] @** else export NPROCS_c=@[npc:-1] export NPROCS_o=@[npo:-1] @** if SEASPRAY==YES export NPROCS_w=@[npw:-6] @** else export NPROCS_w=@[npw:-0] @** endif @** endif @** if PARAFLAG==YES # Additional variables needed by EMC kick_scripts (SMS replacement): export PPN=@[PPN] export NTASKS=@[NTASKS:-$(( NPROCS_a+NPROCS_c+NPROCS_o+NPROCS_w ))] export NTASKS_ATMOS=@[NTASKS_ATMOS:-\$NPROCS_a] export NNODES=@[NNODES:-4] export iomachines="@[iomachines:-]" export TASK_AFFINITY="@[TASK_AFFINITY:-cpu]" @** endif