[CIG-LONG] new install
Zurab Chemia
zurab.chemia at gmail.com
Sat Feb 2 10:48:59 PST 2013
Dear Matty and Walter,
Would you mind please taking this conversation in private? I don't think members of the mail list can find it useful.
By all means, it is appreciated that one can get a support for installation, however, I believe there are other more convenient ways to achieve this.
Best wishes,
Zurab
On Feb 2, 2013, at 7:24 PM, Walter Landry <wlandry at caltech.edu> wrote:
> Matty <matty.mookerjee at sonoma.edu> wrote:
>> Here you go:
>
> This all looks ok. Lets try making sure that you can compile simple
> MPI programss. Try compiling and running the attached program with
>
> mpicc -c hello.c
> mpicc -o hello hello.o
> mpirun hello
> mpirun -np 2 hello
>
> Cheers,
> Walter Landry
>
> -------------------------------------------------
>
> #include <stdio.h>
> #include <mpi.h>
>
>
> int main (argc, argv)
> int argc;
> char *argv[];
> {
> int rank, size;
>
> MPI_Init (&argc, &argv);
> MPI_Comm_rank (MPI_COMM_WORLD, &rank);
> MPI_Comm_size (MPI_COMM_WORLD, &size);
> printf( "Hello world from process %d of %d\n", rank, size );
> MPI_Finalize();
> return 0;
> }
>
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
More information about the CIG-LONG
mailing list