Difference between revisions of "Testing"
From ZeptoOS
Jump to navigationJump to searchLine 19: | Line 19: | ||
(For ANL Users) | (For ANL Users) | ||
The job needs to be submitted using the [[cobalt]] resource manager. For the ''mpi-test'' program use the following command: | The job needs to be submitted using the [[cobalt]] resource manager. For the ''mpi-test'' program use the following command: | ||
− | <pre>cqsub -n <number-of-processes> -t <time> -k <profile-name> mpi-test-linux</pre> | + | <pre> |
+ | cqsub -n <number-of-processes> -t <time> -k <profile-name> mpi-test-linux | ||
+ | cqsub -n <number-of-processes> -t <time> -k <profile-name> -e OMP_NUM_THREADS=<num> mpi-test-linux | ||
+ | </pre> | ||
Revision as of 13:16, 21 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/zmpicc -o mpi-test-linux mpi-test.c $ /path/to/install/bin/zmpixlc_r -openmp -o omp-test-linux omp-test.c
Submitting Job
(For ANL Users) The job needs to be submitted using the cobalt resource manager. For the mpi-test program use the following command:
cqsub -n <number-of-processes> -t <time> -k <profile-name> mpi-test-linux cqsub -n <number-of-processes> -t <time> -k <profile-name> -e OMP_NUM_THREADS=<num> mpi-test-linux