All pastes #46680 Raw Edit

Something

public shellscript v1 · immutable
#46680 ·published 2006-03-23 04:12 UTC
rendered paste body
kyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $ ccache -CCleared cachekyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $ lltotal 4-rw-rw-r--  1 kyron users 282 Mar 22 22:31 hello.ckyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $ export LD_LIBRARY_PATH=/usr/lib/openmpi/1.0.1-gcc-3.4/lib/kyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $ export PATH=$PATH:/usr/lib/openmpi/1.0.1-gcc-3.4/binkyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $ mpicc-1.0.1-gcc-3.4 hello.c -o hellokyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $ orterun -np 4 helloHello worldHello worldHello worldHello worldkyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $ cat hello.c#include <stdio.h>#include <mpi.h>int main(int argc, char **argv) {        int rank, size;        MPI_Init(&argc, &argv);        MPI_Comm_size(MPI_COMM_WORLD, &size);        MPI_Comm_rank(MPI_COMM_WORLD, &rank);        printf("Hello damned world. I am %d of %d\n", rank, size);        MPI_Finalize();        return 0;}kyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $ wtf is LMAOLMAO: laughing my ass offkyron@kyron ~/1_Files/1_ETS/1_Maitrise/Code/HelloWorlds $