Difference between revisions of "Testing"

From ZeptoOS
Jump to navigationJump to search
Line 21: Line 21:
 
<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> mpi-test-linux
cqsub -n <number-of-processes> -t <time> -k <profile-name> -e OMP_NUM_THREADS=<num> mpi-test-linux
+
cqsub -n <number-of-processes> -t <time> -k <profile-name> -e OMP_NUM_THREADS=<num> omp-test-linux
 
</pre>
 
</pre>
  

Revision as of 14: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> omp-test-linux



Installation Top The ZeptoOS V2.0 Kernel