Manta Interactive Ray Tracer Development Mailing List

Text archives Help


Re: [MANTA] Compiling Manta with mpiCC (i.e to be able to use MPI)


Chronological Thread 
  • From: Shreekanth Pavar <shreekanth.pavar@ucl.ac.uk>
  • To: MANTA <manta@sci.utah.edu>
  • Subject: Re: [MANTA] Compiling Manta with mpiCC (i.e to be able to use MPI)
  • Date: Fri, 18 May 2007 17:52:50 +0100

Thanks for all your replies which proved helpful.

In the end I created a new build (as suggested by Abe) and explicitly added
the mpi include/link flags instead of using mpiCC (as suggested by Steve) and it
builds fine.

I'll let you know when I have a working parallel implementation up and running.

--
Shree Pavar
Centre for Computational Science, UCL
http://www.chem.ucl.ac.uk/ccs/


Quoting Abe Stephens <abe@sci.utah.edu>:


I haven't encountered cmake-i, I use the libncurses based ccmake. After the cmake cache is created the values will be read from cache instead of from the environment variables. Try creating a new build directory, setenv the compiler variables and rerun ccmake.

Abe

Shreekanth Pavar wrote:
Quoting James Bigler <bigler@sci.utah.edu>:

Could you tell us what the errors are?

We need to determine if this is a Manta CMake thing or just a CMake thing. If it is a CMake thing, then you should ask this question to the CMake mailing list cmake@cmake.org.


It could be a CMake thing but I'm unsure. I'm using cmake-i to set the build
option. Even though I've already set CXX=mpiCC and CC=mpicc it still lists the
default values (see below). It also refuses to accept my manual override at the
command prompt and continually re-prompts for a value:

Variable Name: CMAKE_CXX_COMPILER
Description: CXX compiler.
Current Value: /usr/bin/c++
New Value (Enter to keep current value):

Variable Name: CMAKE_C_COMPILER
Description: C compiler.
Current Value: /usr/bin/gcc
New Value (Enter to keep current value):










Archive powered by MHonArc 2.6.16.

Top of page