Thanks, now it is hopefully working
pbsnodes -a xxx.xxx.xxx Mom = xxx.xxx.xxx ntype = PBS state = free pcpus = 4 resources_available.arch = linux resources_available.host = xxx resources_available.mem = 7853896kb resources_available.ncpus = 4 resources_available.vnode = xxx.xxx.xxx resources_assigned.accelerator_memory = 0kb resources_assigned.hbmem = 0kb resources_assigned.mem = 0kb resources_assigned.naccelerators = 0 resources_assigned.ncpus = 0 resources_assigned.vmem = 0kb resv_enable = True sharing = default_shared last_state_change_time = Mon Aug 27 13:14:37 2018
scriptfile.sh
#!/bin/sh echo "Working directory is $PWD"
qstat -Bf Server: xxx.xxx.xxx server_state = Active server_host = xxx.xxx.xxx scheduling = True total_jobs = 0 state_count = Transit:0 Queued:0 Held:0 Waiting:0 Running:0 Exiting:0 Begun :0 default_chunk.ncpus = 1 scheduler_iteration = 600 FLicenses = 20000000 resv_enable = True node_fail_requeue = 310 max_array_size = 10000 pbs_license_min = 0 pbs_license_max = 2147483647 pbs_license_linger_time = 31536000 license_count = Avail_Global:10000000 Avail_Local:10000000 Used:0 High_Use: 0 pbs_version = 18.1.0 eligible_time_enable = False max_concurrent_provision = 5
qmgr -c 'p s' # # Set server attributes. # set server scheduling = True set server default_chunk.ncpus = 1 set server scheduler_iteration = 600 set server resv_enable = True set server node_fail_requeue = 310 set server max_array_size = 10000 set server pbs_license_min = 0 set server pbs_license_max = 2147483647 set server pbs_license_linger_time = 31536000 set server eligible_time_enable = False set server max_concurrent_provision = 5
thank you