(for Myrinet) ' the fast interconnect
mpicc -v yourprog.c -o yourprog.out
' compile your program using mpicc, the default when
log in points to the myrinet gm drivers
qsub yourprog_myr.pbs
' submit the pbs file! It's off!
(for Ethernet) ' slower, but good to fall back on and great for testing.
module unload mpi ' must unload the myrinet drivers -and-
module load mpich-p4 ' load the ethernet modules; including the path redefn. for mpicc
mpicc -v yourprog.c -o yourprog.out ' compile your program using mpicc, now with the ethernet libraries
qsub yourprog_eth.pbs
' submit the PBS file! It's off and running!
(other useful administrative commands)
pbsnodes -a ' tells you all about the status of the individual nodes
pbsnodes -l ' lets you know what nodes are down
which mpicc
which mpif77
' resource locating command; you can see which
interface (myrinet or ethernet) the compiler is pointing to