Could not create node

Hi All,

I am a newbie using pbspro.
I followed the installation from the pbspro github, until i could start pbs.
but when i try to create node using qmgr i have an error like this:
“qmgr obj=rtgps svr=default: Unauthorized Request
qmgr: Error (15007) returned from server”

I try several tutorial from this forum but still get the error.
Following the several information:

  1. cat /etc/hosts:
    127.0.0.1 localhost localhost localhost.localdomain localhost4 localhost4.localdomain4
    #10.0.1.108 rtgps
    192.168.100.9 rtgps

The following lines are desirable for IPv6 capable hosts

#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters

  1. cat /etc/pbs.conf:
    PBS_SERVER=rtgps
    PBS_START_SERVER=1
    PBS_START_SCHED=1
    PBS_START_COMM=1
    PBS_START_MOM=1
    PBS_EXEC=/opt/pbs
    PBS_HOME=/var/spool/pbs
    PBS_CORE_LIMIT=unlimited
    PBS_SCP=/usr/bin/scp

I am connecting to internet using wifi.

It would be great if you can give me your comments about the issue.

Thanks in advance for your time and attention.

Please check this discussion

Dear Adarsh,

Actually i install PBS only on one cpu, and i will use that for my processing.
I am already check in that discussion but in which part that solve my problem.

Regards

susilo

Note:
1, static IP and hostname resolution (reverse lookup) is important.
2 192.168.100.9 rtgps should be the first line in the /etc/hosts
3. Make sure that /etc/nsswitch.conf has “files” first for the hosts map
4. selinux disabled and system rebooted
5. firewall disabled ( or allow ports 15001 - 15009 and 17001 )

Please share the output of the below commands:

  1. hostname
  2. cat /etc/hosts
    3, pbs_hostn -v hostname
  3. ping -c 5 hostname
  4. ifconfig

Please refer the PBS Pro admin guide https://www.altair.com/pdfs/pbsworks/PBS19.2.3_BigBook.pdf on the below section

8.5.1.1 Events Logged at Event Class 128 (0x0080)

Please try creating the node using qmgr , it will log messages in the $PBS_HOME/server_logs/YYYYMMDD

Please share the server_logs , it will lead us to the issue.

Dear Adarsh

Before I try your command, just give you information after several repeat install PBSpro and run command below;

  1. pbsnodes -a
    rtgps
    Mom = rtgps
    ntype = PBS
    state = free
    pcpus = 16
    resources_available.arch = linux
    resources_available.host = rtgps
    resources_available.mem = 32844728kb
    resources_available.ncpus = 16
    resources_available.vnode = rtgps
    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 = Sun May 24 14:03:51 2020
    last_used_time = Sun May 24 00:32:21 2020

  2. qmgr -c “p s”

Create queues and set their attributes.

Create and define queue workq

create queue workq
set queue workq queue_type = Execution
set queue workq enabled = True
set queue workq started = True

Set server attributes.

set server scheduling = True
set server default_queue = workq
set server log_events = 511
set server mail_from = adm
set server query_other_jobs = True
set server resources_default.ncpus = 1
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
set server max_job_sequence_id = 9999999

  1. qstat -B
    Server Max Tot Que Run Hld Wat Trn Ext Status

rtgps 0 0 0 0 0 0 0 0 Active

From the 3 command above, its show that pbspro successfully installed?

Now I run command from you:

  1. rtgps{rtgps}646: hostname
    rtgps
  2. rtgps{rtgps}650: cat /etc/hosts
    192.168.100.9 rtgps rtgps.home
    127.0.0.1 localhost localhost localhost.localdomain localhost4 localhost4.localdomain4
    #127.0.1.1 rtgps1
    #192.168.100.9 rtgps rtgps.home
    #192.168.100.100 rtgps1

The following lines are desirable for IPv6 capable hosts

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters

  1. rtgps{rtgps}651: pbs_hostn -v hostname
    primary name: hostname.home (from gethostbyname())
    aliases: -none-
    address length: 4 bytes
    ** h_errno is 2 Try Again
    address: 36.86.63.182 (3057604132 dec) name: -null-

  2. rtgps{rtgps}653: sudo ifconfig
    eno1 Link encap:Ethernet HWaddr ac:9e:17:b6:e4:5d
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:20 Memory:fbe00000-fbe20000

enp8s0 Link encap:Ethernet HWaddr ac:9e:17:b6:e5:25
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Memory:fba00000-fba1ffff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:81852 errors:0 dropped:0 overruns:0 frame:0
TX packets:81852 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:13496219 (13.4 MB) TX bytes:13496219 (13.4 MB)

wlxec086b072e1b Link encap:Ethernet HWaddr ec:08:6b:07:2e:1b
inet addr:192.168.100.9 Bcast:192.168.100.255 Mask:255.255.255.0
inet6 addr: fe80::c31e:9fab:19d7:1171/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:514595 errors:0 dropped:0 overruns:0 frame:0
TX packets:326241 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:534273835 (534.2 MB) TX bytes:43325219 (43.3 MB)

Below the log after run qmgr -c “create node rtgps”
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Log;Log opened
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Server@rtgps;pbs_version=20.0.0
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Server@rtgps;pbs_build=mach=N/A:security=N/A:configure_args=N/A
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Server@rtgps;hostname=rtgps;pbs_leaf_name=N/A;pbs_mom_node_name=N/A
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Server@rtgps;ipv4 interface lo: localhost4.localdomain4
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Server@rtgps;ipv4 interface wlxec086b072e1b: rtgps.home
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Server@rtgps;ipv6 interface lo: localhost6.localdomain6
05/24/2020 14:32:14;0006;Server@rtgps;Fil;Server@rtgps;Version 20.0.0, started, initialization type = 1
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Server@rtgps;pbs_status_db exit code 1
05/24/2020 14:32:14;0002;Server@rtgps;Svr;Server@rtgps;Starting PBS dataservice
05/24/2020 14:32:19;0002;Server@rtgps;Svr;Server@rtgps;connected to PBS dataservice@rtgps
05/24/2020 14:32:19;0086;Server@rtgps;Svr;pbs_python_ext_quick_start_interpreter;–> Python Interpreter quick started, compiled with version:‘3.5.2 (default, Apr 16 2020, 17:47:17)
[GCC 5.4.0 20160609]’ ←
05/24/2020 14:32:19;0086;Server@rtgps;Svr;pbs_python_ext_quick_start_interpreter;–> Inserted Altair PBS Python modules dir ‘/opt/pbs/lib/python/altair’ ‘/opt/pbs/lib/python/altair/pbs/v1’<–
05/24/2020 14:32:19;0002;Server@rtgps;n/a;setup_env;read environment from /var/spool/pbs/pbs_environment
05/24/2020 14:32:19;0000;Server@rtgps;Svr;Server@rtgps;Supported authentication method: resvport
05/24/2020 14:32:19;0004;Server@rtgps;Svr;Server@rtgps;node_fail_requeue value changed to 310
05/24/2020 14:32:19;0004;Server@rtgps;Svr;Server@rtgps;svr_max_job_sequence_id set to val 9999999
05/24/2020 14:32:19;0004;Server@rtgps;Svr;Server@rtgps;Licenses valid for 10000000 Floating hosts
05/24/2020 14:32:19;0002;Server@rtgps;Svr;Act;Account file /var/spool/pbs/server_priv/accounting/20200524 opened
05/24/2020 14:32:19;0086;Server@rtgps;Svr;Server@rtgps;Recovered queue workq
05/24/2020 14:32:19;0002;Server@rtgps;Svr;Server@rtgps;Expected 1, recovered 1 queues
05/24/2020 14:32:19;0080;Server@rtgps;Svr;Server@rtgps;No jobs to open
05/24/2020 14:32:19;0086;Server@rtgps;Svr;Server@rtgps;Found hook pbs_cgroups type=site
05/24/2020 14:32:19;0086;Server@rtgps;Svr;Server@rtgps;Found hook PBS_alps_inventory_check type=pbs
05/24/2020 14:32:19;0086;Server@rtgps;Svr;Server@rtgps;Found hook PBS_cray_atom type=pbs
05/24/2020 14:32:19;0086;Server@rtgps;Svr;Server@rtgps;Found hook PBS_power type=pbs
05/24/2020 14:32:19;0080;Server@rtgps;Hook;print_hook;ALLHOOKS hook[0] = {pbs_cgroups, order=100, type=0, enabled=0 user=0, debug=(0) fail_action=(2), event=(execjob_begin,execjob_epilogue,execjob_end,execjob_launch,execjob_attach,execjob_resize,execjob_abort,execjob_postsuspend,execjob_preresume,exechost_periodic,exechost_startup), alarm=90, freq=120}
05/24/2020 14:32:19;0080;Server@rtgps;Hook;print_hook;ALLHOOKS hook[1] = {PBS_alps_inventory_check, order=1, type=1, enabled=0 user=0, debug=(0) fail_action=(1), event=(exechost_periodic), alarm=90, freq=300}
05/24/2020 14:32:19;0080;Server@rtgps;Hook;print_hook;ALLHOOKS hook[2] = {PBS_cray_atom, order=100, type=1, enabled=0 user=0, debug=(0) fail_action=(2), event=(execjob_begin,execjob_end), alarm=300, freq=120}
05/24/2020 14:32:19;0080;Server@rtgps;Hook;print_hook;ALLHOOKS hook[3] = {PBS_power, order=2000, type=1, enabled=0 user=0, debug=(0) fail_action=(1), event=(periodic,execjob_begin,execjob_prologue,execjob_epilogue,execjob_end,exechost_periodic,exechost_startup), alarm=180, freq=300}
05/24/2020 14:32:19;0080;Server@rtgps;Hook;print_hook;periodic hook[0] = {PBS_power, order=2000, type=1, enabled=0 user=0, debug=(0) fail_action=(1), event=(periodic,execjob_begin,execjob_prologue,execjob_epilogue,execjob_end,exechost_periodic,exechost_startup), alarm=180, freq=300}
05/24/2020 14:32:19;0086;Server@rtgps;Svr;pbs_python_ext_quick_shutdown_interpreter;–> Stopping Python interpreter ←
05/24/2020 14:32:19;0d80;Server@rtgps;TPP;Server@rtgps(Main Thread);TPP authentication method = resvport
05/24/2020 14:32:19;0c06;Server@rtgps;TPP;Server@rtgps(Main Thread);TPP leaf node names = 192.168.100.9:15001,127.0.0.1:15001,192.168.100.9:15001
05/24/2020 14:32:19;0d80;Server@rtgps;TPP;Server@rtgps(Main Thread);Initializing TPP transport Layer
05/24/2020 14:32:19;0d80;Server@rtgps;TPP;Server@rtgps(Main Thread);Max files allowed = 16384
05/24/2020 14:32:19;0d80;Server@rtgps;TPP;Server@rtgps(Main Thread);TPP initialization done
05/24/2020 14:32:19;0c06;Server@rtgps;TPP;Server@rtgps(Main Thread);Single pbs_comm configured, TPP Fault tolerant mode disabled
05/24/2020 14:32:19;0d80;Server@rtgps;TPP;Server@rtgps(Main Thread);Connecting to pbs_comm rtgps:17001
05/24/2020 14:32:19;0c06;Server@rtgps;TPP;Server@rtgps(Thread 0);Thread ready
05/24/2020 14:32:19;0002;Server@rtgps;Svr;Server@rtgps;Server pid = 7778 ready; using ports Server:15001 Scheduler:15004 MOM:15002 RM:15003
05/24/2020 14:32:19;0c06;Server@rtgps;TPP;Server@rtgps(Thread 0);Registering address 192.168.100.9:15001 to pbs_comm
05/24/2020 14:32:19;0c06;Server@rtgps;TPP;leaf_pkt_postsend_handler(Thread 0);Connected to pbs_comm rtgps:17001
05/24/2020 14:32:19;0100;Server@rtgps;Svr;Server@rtgps;–> Python Interpreter started, compiled with version:‘3.5.2 (default, Apr 16 2020, 17:47:17)
[GCC 5.4.0 20160609]’ ←
05/24/2020 14:32:19;0100;Server@rtgps;Svr;Server@rtgps;sys.modules= {‘stat’: <module ‘stat’ from ‘/usr/lib/python3.5/stat.py’>, ‘zipimport’: <module ‘zipimport’ (built-in)>, ‘_frozen_importlib’: <module ‘_frozen_importlib’ (frozen)>, ‘_weakref’: <module ‘_weakref’ (built-in)>, ‘encodings.aliases’: <module ‘encodings.aliases’ from ‘/usr/lib/python3.5/encodings/aliases.py’>, ‘pbs’: <module ‘pbs’ from ‘/opt/pbs/lib/python/altair/pbs/init.py’>, ‘math’: <module ‘math’ (built-in)>, ‘encodings.latin_1’: <module ‘encodings.latin_1’ from ‘/usr/lib/python3.5/encodings/latin_1.py’>, ‘encodings.ascii’: <module ‘encodings.ascii’ from ‘/usr/lib/python3.5/encodings/ascii.py’>, ‘os’: <module ‘os’ from ‘/usr/lib/python3.5/os.py’>, ‘_signal’: <module ‘_signal’ (built-in)>, ‘marshal’: <module ‘marshal’ (built-in)>, ‘pbs.v1._export_types’: <module ‘pbs.v1._export_types’ from ‘/opt/pbs/lib/python/altair/pbs/v1/_export_types.py’>, ‘_stat’: <module ‘_stat’ (built-in)>, ‘_weakrefset’: <module ‘_weakrefset’ from ‘/usr/lib/python3.5/_weakrefset.py’>, ‘pbs.v1._pmi_types’: <module ‘pbs.v1._pmi_types’ from ‘/opt/pbs/lib/python/altair/pbs/v1/_pmi_types.py’>, ‘_imp’: <module ‘_imp’ (built-in)>, ‘builtins’: <module ‘builtins’ (built-in)>, ‘genericpath’: <module ‘genericpath’ from ‘/usr/lib/python3.5/genericpath.py’>, ‘abc’: <module ‘abc’ from ‘/usr/lib/python3.5/abc.py’>, ‘errno’: <module ‘errno’ (built-in)>, ‘os.path’: <module ‘posixpath’ from ‘/usr/lib/python3.5/posixpath.py’>, ‘sys’: <module ‘sys’ (built-in)>, ‘posix’: <module ‘posix’ (built-in)>, ‘io’: <module ‘io’ from ‘/usr/lib/python3.5/io.py’>, ‘_thread’: <module ‘_thread’ (built-in)>, ‘pbs.v1’: <module ‘pbs.v1’ from ‘/opt/pbs/lib/python/altair/pbs/v1/init.py’>, ‘pbs.v1._svr_types’: <module ‘pbs.v1._svr_types’ from ‘/opt/pbs/lib/python/altair/pbs/v1/_svr_types.py’>, ‘posixpath’: <module ‘posixpath’ from ‘/usr/lib/python3.5/posixpath.py’>, ‘pbs.v1._pmi_utils’: <module ‘pbs.v1._pmi_utils’ from ‘/opt/pbs/lib/python/altair/pbs/v1/_pmi_utils.py’>, ‘_frozen_importlib_external’: <module ‘_frozen_importlib_external’ (frozen)>, ‘_codecs’: <module ‘_codecs’ (built-in)>, ‘codecs’: <module ‘codecs’ from ‘/usr/lib/python3.5/codecs.py’>, ‘pbs.v1._base_types’: <module ‘pbs.v1._base_types’ from ‘/opt/pbs/lib/python/altair/pbs/v1/_base_types.py’>, ‘_pbs_v1’: <module ‘_pbs_v1’ (built-in)>, ‘_warnings’: <module ‘_warnings’ (built-in)>, ‘pbs.v1._exc_types’: <module ‘pbs.v1._exc_types’ from ‘/opt/pbs/lib/python/altair/pbs/v1/_exc_types.py’>, ‘encodings’: <module ‘encodings’ from ‘/usr/lib/python3.5/encodings/init.py’>, ‘_io’: <module ‘io’ (built-in)>, ‘_collections_abc’: <module ‘_collections_abc’ from ‘/usr/lib/python3.5/_collections_abc.py’>, ‘main’: <module ‘main’ (built-in)>, ‘encodings.utf_8’: <module ‘encodings.utf_8’ from ‘/usr/lib/python3.5/encodings/utf_8.py’>}
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;BEGIN setting up all resource attributes
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;DONE setting up all resource attributes, number set <49>
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;BEGIN setting up all queue attributes
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;DONE setting up all queue attributes, number set <56>
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;BEGIN setting up all job attributes
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;DONE setting up all job attributes, number set <113>
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;BEGIN setting up all server attributes
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;DONE setting up all server attributes, number set <93>
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;BEGIN setting up all reservation attributes
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;DONE setting up all reservation attributes, number set <46>
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;BEGIN setting up all vnode attributes
05/24/2020 14:32:19;0106;Server@rtgps;Svr;Server@rtgps;DONE setting up all vnode attributes, number set <35>
05/24/2020 14:32:19;0080;Server@rtgps;Svr;Server@rtgps;successfully set up signal.default_int_handler
05/24/2020 14:32:19;0040;Server@rtgps;Svr;rtgps;Scheduler sent command 7
05/24/2020 14:32:19;0040;Server@rtgps;Svr;rtgps;Scheduler sent command 0
05/24/2020 14:32:19;0040;Server@rtgps;Svr;rtgps;Scheduler sent command 10
05/24/2020 14:32:19;0040;Server@rtgps;Svr;rtgps;Scheduler sent command 0
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 81 request received from Scheduler@rtgps, sock=15
05/24/2020 14:32:19;0d80;Server@rtgps;TPP;Server@rtgps(Main Thread);net restore handler called
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 9 request received from Scheduler@rtgps, sock=15
05/24/2020 14:32:19;0004;Server@rtgps;Sched;Server@rtgps;attributes set: at request of Scheduler@rtgps
05/24/2020 14:32:19;0004;Server@rtgps;Sched;Server@rtgps;attributes set: sched_host = rtgps
05/24/2020 14:32:19;0004;Server@rtgps;Sched;Server@rtgps;attributes set: sched_port = 15004
05/24/2020 14:32:19;0004;Server@rtgps;Sched;Server@rtgps;attributes set: pbs_version = 20.0.0
05/24/2020 14:32:19;0002;Server@rtgps;Node;rtgps;update2 state:0 ncpus:16
05/24/2020 14:32:19;0002;Server@rtgps;Node;rtgps;Mom reporting 1 vnodes as of Sun May 24 14:32:14 2020
05/24/2020 14:32:19;0002;Server@rtgps;Node;rtgps;node up
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 82 request received from Scheduler@rtgps, sock=17
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 21 request received from Scheduler@rtgps, sock=17
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 81 request received from Scheduler@rtgps, sock=17
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 71 request received from Scheduler@rtgps, sock=17
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 58 request received from Scheduler@rtgps, sock=17
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 20 request received from Scheduler@rtgps, sock=17
05/24/2020 14:32:19;0100;Server@rtgps;Req;;Type 51 request received from Scheduler@rtgps, sock=17
05/24/2020 14:32:19;0080;Server@rtgps;Req;Server@rtgps;successfully sent hook file /var/spool/pbs/server_priv/hooks/PBS_power.HK to rtgps:15002
05/24/2020 14:32:23;0100;Server@rtgps;Req;;Type 0 request received from rtgps@rtgps, sock=15
05/24/2020 14:32:23;0100;Server@rtgps;Req;;Type 95 request received from rtgps@rtgps, sock=16
05/24/2020 14:32:23;0100;Server@rtgps;Req;;Type 9 request received from rtgps@rtgps, sock=15
05/24/2020 14:32:23;0080;Server@rtgps;Req;req_reject;Reject reply code=15007, aux=0, type=9, from rtgps@rtgps

Hope there are any sugesstion from you, many thanks.

Thank you @susilo for sharing these details. Much helpful

  1. You already have a node added to the the PBS Pro server ( pbsnodes -av or pbsnodes -aSj to check)
  2. You have a workq which is the default queue and all the server configuration attributes are intact

Everything looks good to me, if you can test the below commands and share us the output that would be helpful

as root user:
 pbs_hostn -v  rtgps

As a non-root user on the system:
qsub -- /bin/sleep 1000
qstat -answ1

Thank you @adarsh, here the output of the command:

(as root)
rtgps rtgps # pbs_hostn -v rtgps
primary name: rtgps (from gethostbyname())
aliases: rtgps.home
address length: 4 bytes
address: 192.168.100.9 (157591744 dec) name: rtgps

(non-root):
rtgps.home{rtgps}640: qsub – /bin/sleep 1000
1004.rtgps
rtgps.home{rtgps}641: qstat -answ1

rtgps:
Req’d Req’d Elap
Job ID Username Queue Jobname SessID NDS TSK Memory Time S Time


1002.rtgps rtgps workq STDIN 5028 1 1 – – R 00:08 rtgps/0
Job run at Tue May 26 at 04:33 on (rtgps:ncpus=1)
1003.rtgps rtgps workq STDIN 5299 1 1 – – R 00:01 rtgps/1
Job run at Tue May 26 at 04:40 on (rtgps:ncpus=1)
1004.rtgps rtgps workq STDIN 5340 1 1 – – R 00:00 rtgps/2
Job run at Tue May 26 at 04:43 on (rtgps:ncpus=1)

Thank you

1 Like

@adarsh could you please give me simple example if i want to run an simple.csh script using my default configuration.

Thank you

Nice one !

The first line of your script should be #!/bin/sh and chmod +x simple.csh ; qsub simple.csh

 Sample script:
      cat myscript.sh
      #!/bin/sh
      #PBS -N MyHelloJob
      print "Hello"

chmod +x myscript.sh
qsub myscript.sh

You can check man pages for qsub for more information.

@adarsh thank you very much for your assistance,
I try with my script and running well.
Btw is there any trick to speed up a processing ? I have 16 CPU with 32GB memory.

It all depends whether your application(serial or parallel) or the problem you are solving can ulitlise multiple cores and maximum amount of memory to speed up time to results (scalability of your application). If does help , then you can submit the job as below requesting more resources in terms of cores and memory

qsub -l select=1:ncpus=12:mem=20gb simple.csh