alces-software / flight-appliance-docs

Documentation for deploying and using Alces Flight Appliances
2 stars 3 forks source link

Openlava doc page - verify content and sample scripts #49

Closed wdm78 closed 7 years ago

wdm78 commented 8 years ago

Need to check contents of doc page for OpenLava, particularly;

vlj91 commented 8 years ago
[alces@login1(openlava) example]$ bsub < $HOME/mpi_example.sh
Job <106> is submitted to default queue <normal>.
[alces@login1(openlava) example]$ pwd
/home/alces/job-scripts/example
[alces@login1(openlava) example]$ ls
mpi.106
[alces@login1(openlava) ~]$ bsub < mpi_example.sh
Job <105> is submitted to default queue <normal>.
[alces@login1(openlava) ~]$ cat mpi.105
Sender: OpenLava System <openlava@flight-089>
Subject: Job 105: <#!/bin/bash;#BSUB -n 2;#BSUB -R "span[ptile=1]";#BSUB -o mpi.%J;echo $LSB_HOSTS> Done

Job <#!/bin/bash;#BSUB -n 2;#BSUB -R "span[ptile=1]";#BSUB -o mpi.%J;echo $LSB_HOSTS> was submitted from host <login1> by user <alces>.
Job was executed on host(s) <1*flight-089>, in queue <normal>, as user <alces>.
                            <1*flight-090>
</home/alces> was used as the home directory.
</home/alces> was used as the working directory.
Started at Sun Sep 18 16:19:30 2016
Results reported at Sun Sep 18 16:19:30 2016

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -n 2
#BSUB -R "span[ptile=1]"
#BSUB -o mpi.%J
echo $LSB_HOSTS

------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time   :      0.01 sec.
    Max Memory :         2 MB
    Max Swap   :       131 MB

    Max Processes  :         1

The output (if any) follows:

flight-089 flight-090
wdm78 commented 8 years ago

Updates look good, but we should also add an explanation of what "%J.%I" does before we use it in an example job-script

wdm78 commented 8 years ago

Looks good to me - thanks!