Using-sooner
From Education
Building and Running Programs on Sooner
- All of this information comes from http://www.oscer.ou.edu/sooner_quick_and_dirty.php
Copy the example files to your directory:
$ cp ~charliep/SIGCSE/* .
Setup your environment by either typing these commands manually:
$ export MPI_COMPILER=gcc $ export MPI_INTERCONNECT=ib $ export MPI_VENDOR=openmpi $ export LSF_PJL_TYPE=openmpi
Or, execute the shell script that you copied to your account earlier:
$ source setup.sh
To build and run your program:
$ mpicc -O mpihello.c -o mpihello $ echo 'mpirun.lsf ./mpihello' | bsub -I -n 2 -R "span[ptile=2]"