Il 6/24/2013 12:04 AM, Hogan Jr, Roy E ha scritto:
Greetings,

I have been struggling to get the Trilinos solver package built using
Cmake, but have been unsuccessful so far.  I have been working this for
several days and need help.  I’m attaching a recent request to the
Trilinos mailing list.  Would you have any guidance for me?   Thank you..

Sincerely,

Roy Hogan


Hi Roy,
from you logs, I see that
mpiexec is found
mpifort is found

it is not clear if mpicc is not found or not recognized.

On my system

$ mpicc --version
gcc (GCC) 4.5.3

My suggestion:
-) check that openmpi is correctly installed

$ cygcheck -c  openmpi libopenmpi-devel
Cygwin Package Information
Package              Version        Status
libopenmpi-devel     1.7.1-2        OK
openmpi              1.7.1-2        OK

-) check that mpicc is working, see attached test case.

$ mpicc hello_c.c -o hello_c
$ mpirun -n 4 ./hello_c.exe
Hello, world, I am 1 of 4
Hello, world, I am 2 of 4
Hello, world, I am 3 of 4
Hello, world, I am 0 of 4


Regards
Marco



/*
 * Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
 *                         University Research and Technology
 *                         Corporation.  All rights reserved.
 * Copyright (c) 2006      Cisco Systems, Inc.  All rights reserved.
 *
 * Sample MPI "hello world" application in C
 */

#include <stdio.h>
#include "mpi.h"

int main(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, I am %d of %d\n", rank, size);
    MPI_Finalize();

    return 0;
}
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to