Skip to end of metadata
Go to start of metadata

All CHPC Software Documentation has been moved: https://www.chpc.utah.edu/documentation/software/index.php

This includes a searchable database found: https://www.chpc.utah.edu/software/chpc/

  • No labels

1 Comment

  1. Compiling and running OpenMPI on Updraft with MPI/OpenMP:

    /usr/mpi/intel/openmpi-1.4-qlc/bin/mpicc -openmp pi_ompi.c ctimerlinux.c -o pi_ompi_upompi -limf

    [u0101881@up211 progs]$ /usr/mpi/intel/openmpi-1.4-qlc/bin/mpirun -np 1 -machinefile nodefile -x IPATH_NO_CPUAFFINITY=1 -x OMP_NUM_THREADS=1 ./pi_ompi_upompi
    proc    0 time = 7.4927811622619629 sec
    [u0101881@up211 progs]$ /usr/mpi/intel/openmpi-1.4-qlc/bin/mpirun -np 1 -machinefile nodefile -x IPATH_NO_CPUAFFINITY=1 -x OMP_NUM_THREADS=2 ./pi_ompi_upompi
    proc    0 time = 3.7524480819702148 sec
    [u0101881@up211 progs]$ /usr/mpi/intel/openmpi-1.4-qlc/bin/mpirun -np 1 -machinefile nodefile -x IPATH_NO_CPUAFFINITY=1 -x OMP_NUM_THREADS=4 ./pi_ompi_upompi
    proc    0 time = 1.8768770694732666 sec