Skip to content

Commit

Permalink
add docs on testing babs-check-setup --job-test; enh how to test pend…
Browse files Browse the repository at this point in the history
…ing jobs
  • Loading branch information
Chenying Zhao committed Jul 28, 2023
1 parent 8ef1e0c commit 207c135
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
6 changes: 4 additions & 2 deletions docs/source/developer_babs_status.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,12 @@ Create pending or failed jobs
Change/Add these in ``participant_job.sh``:

- failed: see next section
- pending: Please increase the cluster resources you request, e.g., memory, number of CPUs, etc
- pending: Please increase the cluster resources you request,
e.g., memory, number of CPUs, temporary disk space, etc.

- on SLurm clusters: increase ``#SBATCH --mem``, ``#SBATCH --tmp``, etc
- on SGE clusters: increase ``-l h_vmem`` and ``-l s_vmem``; increase ``-pe threaded N``
- stalled (``eqw``): skip this for now. See Bergman email 12/20/22
- stalled (``eqw`` on SGE clusters): skip this for now. See Bergman email 12/20/22

After these changes, ``datalad save -m "message"`` and ``datalad push --to input``

Expand Down
18 changes: 14 additions & 4 deletions docs/source/developer_how_to_test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,23 @@ Toy datasets can be found :ref:`here <example_input_BIDS_datasets_for_BABS>`.

You may use the toy BIDS App to test out. See :doc:`here <preparation_container>` for more.

After running each command below, please check the printed messages and the updated ``job_status.csv``.
After running each ``babs-submit`` or ``babs-status`` below,
please check the printed messages and the updated ``job_status.csv``.
The first 6 lines of ``job_status.csv`` will be printed;
this CSV file can be found at: ``analysis/code/job_status.csv`` in a BABS project.
The explanations of this CSV file can be found :ref:`here <detailed_description_of_job_status_csv>`.

-----------------------------------------
Step 2.1.1: Testing ``babs-check-setup``
-----------------------------------------

Comprehensive test checklist (please add ``--project-root``):

- [ ] ``babs-merge --job-test`` --> see if the information summarized by BABS is correct
(e.g., information of designated environment and temporary workspace:)

------------------------------------
Step 2.1.1: Testing ``babs-submit``
Step 2.1.2: Testing ``babs-submit``
------------------------------------

Comprehensive test checklist (please add ``--project-root``):
Expand All @@ -116,7 +126,7 @@ Comprehensive test checklist (please add ``--project-root``):
- [ ] ``babs-submit --all``

------------------------------------
Step 2.1.2: Testing ``babs-status``
Step 2.1.3: Testing ``babs-status``
------------------------------------

Comprehensive test checklist (please add ``--project-root``):
Expand All @@ -135,7 +145,7 @@ Please check out :ref:`this page <how_to_test_out_babs_status>`
for how to create failed and pending jobs.

------------------------------------
Step 2.1.3: Testing ``babs-merge``
Step 2.1.4: Testing ``babs-merge``
------------------------------------

Comprehensive test checklist (please add ``--project-root``):
Expand Down

0 comments on commit 207c135

Please sign in to comment.