Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

endeavour: add README.md in top edv directory #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jamesanunez
Copy link
Contributor

The Endeavour scripts have very little documentation on how to execute them, what each script does and expected file/directory layout. Add a README.md to the top level directory of the Endeavour scripts as a start to documenting the scripts and the expected organization of files.

More documentation is needed to allow someone new to run these scripts on Endeavour.

The Endeavour scripts have very little documentation on how to execute
them, what each script does and expected file/directory layout.  Add a
README.md to the top level directory of the Endeavour scripts as a
start to documenting the scripts and the expected organization of files.

More documentation is needed to allow someone new to run these
scripts on Endeavour.

Signed-off-by: James Nunez <[email protected]>

## Usage
All scripts expect that the RUNDIR variable is set before any script is executed and that RUNDIR is the path to the client [directory]( https://github.com/daos-stack/daos_scaled_testing/tree/master/edv/test_scripts/client). For example, if the client directory is located at /panfs/users/janunez/, then we would set:
export RUNDIR=/panfs/users/janunez/client
Copy link
Contributor

@rpadma2 rpadma2 Jul 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can probably replace janunez as <username>

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend formatting code

Suggested change
export RUNDIR=/panfs/users/janunez/client
`export RUNDIR=/panfs/users/janunez/client`


#### Environment Variables - server
The following variables are set inside the $RUNDIR/../server/srv_env.sh and can be changed to match your environment:
export DAOS_INSTALL=/panfs/users/janunez/builds/$TB/install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export DAOS_INSTALL=/panfs/users/janunez/builds/$TB/install
`export DAOS_INSTALL=/panfs/users/janunez/builds/$TB/install`


## Usage
All scripts expect that the RUNDIR variable is set before any script is executed and that RUNDIR is the path to the client [directory]( https://github.com/daos-stack/daos_scaled_testing/tree/master/edv/test_scripts/client). For example, if the client directory is located at /panfs/users/janunez/, then we would set:
export RUNDIR=/panfs/users/janunez/client
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend formatting code

Suggested change
export RUNDIR=/panfs/users/janunez/client
`export RUNDIR=/panfs/users/janunez/client`


#### Environment Variables - server
The following variables are set inside the $RUNDIR/../server/srv_env.sh and can be changed to match your environment:
export DAOS_INSTALL=/panfs/users/janunez/builds/$TB/install
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export DAOS_INSTALL=/panfs/users/janunez/builds/$TB/install
`export DAOS_INSTALL=/panfs/users/janunez/builds/$TB/install`


## Running Applications
The scripts located in $RUNDIR/testlists contain the scripts to run applications. An example call to run LAMMPS is
./testlists/testlist_lammps.sh -d -s servers -c clients -p ppn -m mpi -t mptype -b tb -r rf -i il -e size -k chunk_size -o oclass -z start
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
./testlists/testlist_lammps.sh -d -s servers -c clients -p ppn -m mpi -t mptype -b tb -r rf -i il -e size -k chunk_size -o oclass -z start
`./testlists/testlist_lammps.sh -d -s servers -c clients -p ppn -m mpi -t mptype -b tb -r rf -i il -e size -k chunk_size -o oclass -z start`

Comment on lines +38 to +50
-d Collect Darshan logs
-s Server List (eg: 2,4,8,16,32)
-c Total clients to use
-p Processes per node (default: 64)
-m Type of MPI to use (MPI, IMPI)
-b DAOS Test Build to use (eg: daos_xxx)
-r DAOS Redundancy Factor(eg: rf=0,1,..)
-i DAOS Interception library(eg: il=0,1)
-e DAOS container property: cell size in bytes (eg: 1048576 for 1MB)
-k DAOS container property: chunk size (eg: 4MB)
-o DAOS container property: object class (oclass) (eg EC_4P2GX, EC_8P2GX)
-t DAOS MPI Type(eg: mptype=FPP, MPIIO, MPIIODFS)
-z Setup DAOS servers and clients (start_server, start_client), run application (app), or clean up (stop_client, stop_server)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you look at the file in the rich view:
https://github.com/daos-stack/daos_scaled_testing/blob/ac2e3db7af258485904f72f8620cd9a3dddbee20/edv/README.md
Formatting for newlines is not respected. Since this is code, you could just format with three backticks before and after

Suggested change
-d Collect Darshan logs
-s Server List (eg: 2,4,8,16,32)
-c Total clients to use
-p Processes per node (default: 64)
-m Type of MPI to use (MPI, IMPI)
-b DAOS Test Build to use (eg: daos_xxx)
-r DAOS Redundancy Factor(eg: rf=0,1,..)
-i DAOS Interception library(eg: il=0,1)
-e DAOS container property: cell size in bytes (eg: 1048576 for 1MB)
-k DAOS container property: chunk size (eg: 4MB)
-o DAOS container property: object class (oclass) (eg EC_4P2GX, EC_8P2GX)
-t DAOS MPI Type(eg: mptype=FPP, MPIIO, MPIIODFS)
-z Setup DAOS servers and clients (start_server, start_client), run application (app), or clean up (stop_client, stop_server)
    -d Collect Darshan logs
    -s Server List (eg: 2,4,8,16,32)
    -c Total clients to use
    -p Processes per node (default: 64)
    -m Type of MPI to use (MPI, IMPI)
    -b DAOS Test Build to use (eg: daos_xxx)
    -r DAOS Redundancy Factor(eg: rf=0,1,..)
    -i DAOS Interception library(eg: il=0,1)
    -e DAOS container property: cell size in bytes (eg: 1048576 for 1MB)
    -k DAOS container property: chunk size (eg: 4MB)
    -o DAOS container property: object class (oclass) (eg EC_4P2GX, EC_8P2GX)
    -t DAOS MPI Type(eg: mptype=FPP, MPIIO, MPIIODFS)
    -z Setup DAOS servers and clients (start_server, start_client), run application (app), or clean up (stop_client, stop_server)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants