Changeset 2723 in /cluster/svnroot


Ignore:
Timestamp:
Oct 13, 2010 11:22:46 PM (10 years ago)
Author:
skylar
Message:

mpitest is almost working with syncdir fix (#520)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar-test_fw/trees/home/bccd/tests/mpitest.sh

    r2718 r2723  
    11#!/bin/bash
    2 
    3 set -x
    42
    53if test -z "$1"; then
     
    1614
    1715. /usr/local/Modules/3.2.6/init/bash
    18 module unload ${MPIS}
     16module purge
    1917. ~/.bash_profile
    2018
    2119
    22 for i in $MPIS; do
    23         if [ "${i}" == "openmpi" ]; then
     20for MPI in $MPIS; do
     21        if [ "${MPI}" == "openmpi" ]; then
    2422                HOSTCMD="--hostfile"
    25         elif [ "${i}" == "mpich2" ]; then
     23        elif [ "${MPI}" == "mpich2" ]; then
    2624                HOSTCMD="-machinefile"
    2725        else
     
    2927        fi
    3028
    31         echo "Testing $i"
     29        echo "Testing ${MPI}"
    3230
    33         module unload ${MPIS}
    34         module load ${i}
     31        module purge
     32        module load modules ${MPI}
    3533
    3634        bccd-snarfhosts
Note: See TracChangeset for help on using the changeset viewer.