On Mar 7, 2013, at 2:53 PM, Adrian Jacobo wrote:

> On a related comment, I'm able to compile your example code using the openmp 
> wrapper for gcc:
> 
> openmpicc trivialmpi.c -o trivialmpi
> 
> and it runs just fine using openmpirun.

This is the macports openmpi you installed? That may be the problem. At least 
in Snow Leopard, openmpi is provided by the Apple Developer Tools (XCode) and 
Trilinos' cmake found /usr/bin/mpicc and /usr/bin/mpiexec without guidance from 
me.

Both my operating system (Snow Leopard 10.6.8) and Trilinos build (10.6.4) are 
old, but the steps I took to produce a parallel build are at:

  http://matforge.org/fipy/wiki/InstallFiPy/MacOSX/SnowLeopard#Trilinos10.6.4


> The problem seems to be making cmake to compile Trilinos using the openmpi 
> compiler (I've defined MPI_C_COMPILER and MPI_CXX_COMPILER options when 
> calling cmake, but it tells me is not using those values)

What does it tell you, exactly?



_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to