-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: master
Are you sure you want to change the base?
Conversation
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 |
There was a problem hiding this comment.
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend formatting code
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommend formatting code
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
./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` |
-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) |
There was a problem hiding this comment.
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
-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)
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.