martes, 29 de marzo de 2016

CUDA + TORQUE Example


#!/bin/bash
##PBS -l nodes=1:ppn=4
#PBS -l nodes=1:cuda
#PBS -l walltime=16:00:00
#PBS -N testIO
#PBS -o cuda_out.$PBS_JOBID
#PBS -e cuda_err.$PBS_JOBID
#PBS -r n
#PBS -V
##PBS -m abe
##PBS -M jouser@mines.edu
#-----------------------------------------------------
cd $PBS_O_WORKDIR

cp ~/NVIDIA_GPU_Computing_SDK/C/bin/linux/release/deviceQuery .

echo
echo running on: `cat $PBS_NODEFILE`

echo
echo " gives a report of the devices that were found"
./deviceQuery $lt; /dev/null


Referencia:

GECO Mines

viernes, 4 de marzo de 2016

Debian Cluster + OpenMPI





1.- Descargar software de Open-MPI.org

# wget https://www.open-mpi.org/software/ompi/v1.10/downloads/openmpi-1.10.2.tar.gz


2.- Instalar en todos los nodos:

# gunzip -c openmpi-1.10.2.tar.gz | tar xf -
# cd openmpi-1.10.2
# ./configure --prefix=/usr/local
# make all install

3.- Agregar variables de entorno:

# vi /etc/profile

Agregar:

export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

# source /etc/profile
#ldconfig


4.- Testing:

# mpirun --hostfile host_file mpi_hello_world



Referencias:




Debian + firmware bnx2/bnx2-mips



1.- Descargar el paquete con el firmware de:

packages.debian.org


2.- Instalar el paquete:

# dpkg -i firmware-bnx2.deb


3.- Reiniciar:

# shutdown -r now