How to configure Grid Engine parallel environments in 4 fast steps

    

Bright Cluster Manager makes so many tasks fast and easy to complete. This article shows how to list, show, and modify Grid Engine parallel environments.

Parallel environments are parallel programming and runtime environments that facilitate the execution of shared memory or distributed memory parallel applications.

Let's get started.

1. First, list existing parallel environments.

# qconf -spl
mpich
mpich2_mpd
mpich2_smpd
mpich_gm
mpich_mx
mvapich
openmpi
openmpi_ib

2. Then, list details for a given parallel environment.

# qconf -sp openmpi_ib
pe_name            openmpi_ib
slots              99999
user_lists         NONE
xuser_lists        NONE
start_proc_args    /cm/shared/apps/sge/current/mpi/openmpi/startopenmpi.sh \
-catch_rsh $pe_hostfile
stop_proc_args     /cm/shared/apps/sge/current/mpi/openmpi/stopopenmpi.sh
allocation_rule    $fill_up
control_slaves     TRUE
job_is_first_task  FALSE
urgency_slots      min
accounting_summary TRUE

3. Next, modify the existing parallel environment.

# qconf -mp openmpi_ib
pe_name            openmpi_ib
slots              128
user_lists         NONE
xuser_lists        NONE
start_proc_args    /cm/shared/apps/sge/current/mpi/openmpi/startopenmpi.sh \
-catch_rsh $pe_hostfile
stop_proc_args     /cm/shared/apps/sge/current/mpi/openmpi/stopopenmpi.sh
allocation_rule    $fill_up
control_slaves     TRUE
job_is_first_task  FALSE
urgency_slots      min
accounting_summary TRUE

4. Last, list it to view the changes.

# qconf -sp openmpi_ib
pe_name            openmpi_ib
slots              128
user_lists         NONE
xuser_lists        NONE
start_proc_args    /cm/shared/apps/sge/current/mpi/openmpi/startopenmpi.sh \
-catch_rsh $pe_hostfile
stop_proc_args     /cm/shared/apps/sge/current/mpi/openmpi/stopopenmpi.sh
allocation_rule    $fill_up
control_slaves     TRUE
job_is_first_task  FALSE
urgency_slots      min
accounting_summary TRUE

You're done.

High Performance Computing eBook