
The jm_status command allows you to query the Resource Manager for information about SP pools, nodes and POE jobs currently running on the system:
jm_status -Pv - verbose list of all nodes and POE jobs
jm_status -j - list of all POE jobs
jm_status -P
hostname1 userid
hostname2 userid
hostname3 userid
hostname4 userid
...
where "hostname" is the actual name of an SP node and "userid" is your
actual login userid on that node.
mpxlf options program.f
mpcc options program.c
mpCC options program.C
You must specify a host list file if you need specific node allocation, request non-specific node allocation from different system pools or use a host list file named something other than the default "host.list".
If you prefer to let the Resource Manager automatically allocate nodes then this variable should be set to NULL or "".
cp $WORKSHOP/samples/poe/poe_vars* .
C Shell: source poe_vars1
Korn Shell: . poe_vars1
! Specific node allocation for 4 tasks
fr3n05.mhpcc.edu
fr3n01.mhpcc.edu
fr3n03.mhpcc.edu
fr3n07.mhpcc.edu
! Non-specific allocation from different pools for 4 tasks
@6
@6
@9
@12
C Shell: setenv MP_HOSTFILE /u/jsmith/parallel/16hosts
Korn Shell: export MP_HOSTFILE=/u/jsmith/parallel/16hosts
! myhosts: allocation file 4 tasks
fr29install4.mhpcc.edu dedicated multiple
! external_IP 164.122.53.46 MPL_IP 164.122.217.113
! @3
fr29n02.mhpcc.edu dedicated multiple
! external_IP 164.122.189.102 MPL_IP 164.122.217.114
! @3
fr29n03.mhpcc.edu dedicated multiple
! external_IP 164.122.189.103 MPL_IP 164.122.217.115
! @3
fr29n04.mhpcc.edu dedicated multiple
! external_IP 164.122.189.104 MPL_IP 164.122.217.116
! @3
C Shell: setenv MP_PGMMODEL mpmd
Korn Shell: export MP_PGMMODEL=mpmd
0:node1> master
1:node2> slave
2:node3> slave
3:node4> slave
4:node5> slave
poe cp ~/input.file /tmp/input.file
poe my_serial_job
poe rm /tmp/input.file
C Shell: setenv MP_CPU_USE multiple
Korn Shell: export MP_CPU_USE=multiple
C Shell: setenv MP_RETRY 10
Korn Shell: export MP_RETRY=10
C Shell: setenv MP_RETRYCOUNT 15
Korn Shell: export MP_RETRYCOUNT=15
C Shell: setenv MP_SAVEHOSTFILE progname.hosts.used
Korn Shell: export MP_SAVEHOSTFILE=progname.hosts.used
C Shell: setenv MP_PGMMODEL mpmd
Korn Shell: export MP_PGMMODEL=mpmd
C Shell: setenv MP_CMDFILE mpmd.hosts
Korn Shell: export MP_CMDFILE=mpmd.hosts
C Shell: setenv MP_EUIDEVELOP yes
Korn Shell: export MP_EUIDEVELOP=yes
C Shell: setenv MP_STDOUTMODE ordered
Korn Shell: export MP_STDOUTMODE=ordered
-or-
C Shell: setenv MP_STDOUTMODE unordered
Korn Shell: export MP_STDOUTMODE=unordered
-or-
C Shell: setenv MP_STDOUTMODE 6
Korn Shell: export MP_STDOUTMODE=6
Note that use of this feature can consume significant system resources and should not be set above zero routinely.
C Shell: setenv MP_INFOLEVEL 2
Korn Shell: export MP_INFOLEVEL=2
Note: see the associated hyperlinked man page for examples of each utility's use.
#@ requirements = (Adapter == "hps_user")
#@ environment = MP_EUILIB=us;MP_INFOLEVEL=3;MP_LABELIO=yes
MP_PROCS
MP_RMPOOL
MP_EUIDEVICE
MP_HOSTFILE
MP_SAVEHOSTFILE
MP_PMDSUFFIX
MP_RESD
MP_RETRY
MP_RETRYCOUNT
MP_ADAPTER_USE
MP_CPU_USE
© Copyright 1995,1996 Maui High Performance Computing Center. All rights reserved.
Documents located on the Maui High Performance Computing Center's WWW server are copyrighted by the MHPCC. Educational institutions are encouraged to reproduce and distribute these materials for educational use as long as credit and notification are provided. Please retain this copyright notice and include this statement with any copies that you make. Also, the MHPCC requests that you send notification of their use to help@mail.mhpcc.edu.
Commercial use of these materials is prohibited without prior written permission.
Revised: 17 July 1996 blaise@mhpcc.edu