Difference between revisions of "Testing and Troubleshooting"
From ZeptoOS
Jump to navigationJump to search(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Installation]] [https://wiki.mcs.anl.gov/zeptoos/index.php/ | + | [[Installation]] [https://wiki.mcs.anl.gov/zeptoos/index.php/ZeptoOS_Documentation Top] [[The ZeptoOS V2.0 Kernel]] |
---- | ---- | ||
− | = | + | == Using Testcode == |
− | + | Once the files installations have been done and the profiles defined by creating symbolic links to the images in the top-level directory, it is time to submit a test job. Use the test program provided with the distribution. From the top level directory: | |
− | |||
<pre> | <pre> | ||
− | + | $ cd comm/testcodes | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | == Compiling == | + | === Compiling === |
The program can be compiled on the login node using: | The program can be compiled on the login node using: | ||
− | <pre>$ | + | <pre>$ /path/to/install/bin/mpicc -o hello_world hello_world.c</pre> |
− | |||
− | |||
+ | === Submitting Job === | ||
+ | (For ANL Users) | ||
The job needs to be submitted using the [[cobalt]] resource manager. For the ''hello_world'' program use the following command: | The job needs to be submitted using the [[cobalt]] resource manager. For the ''hello_world'' program use the following command: | ||
− | <pre>cqsub | + | <pre>cqsub -n <number-of-processes> -t <time> -k <profile-name> ./hello_world</pre> |
− | |||
---- | ---- | ||
− | [[Installation]] [https://wiki.mcs.anl.gov/zeptoos/index.php/ | + | [[Installation]] [https://wiki.mcs.anl.gov/zeptoos/index.php/ZeptoOS_Documentation Top] [[The ZeptoOS V2.0 Kernel]] |
Latest revision as of 12:56, 2 April 2009
Installation Top The ZeptoOS V2.0 Kernel
Using Testcode
Once the files installations have been done and the profiles defined by creating symbolic links to the images in the top-level directory, it is time to submit a test job. Use the test program provided with the distribution. From the top level directory:
$ cd comm/testcodes
Compiling
The program can be compiled on the login node using:
$ /path/to/install/bin/mpicc -o hello_world hello_world.c
Submitting Job
(For ANL Users) The job needs to be submitted using the cobalt resource manager. For the hello_world program use the following command:
cqsub -n <number-of-processes> -t <time> -k <profile-name> ./hello_world