On Mon, 28 Jun 2010, Anna-Lena Gerner wrote:
ex17.C: In function ‘int main(int, char**)’:
ex17.C:99:3: error: ‘dim’ was not declared in this scope
Any ideas on this one?
Yeah, my fault. I changed the library recently so as to allow Mesh
objects to (in most cases) be constructed without pre-
Hi Roy,
Thank you so much for your help. I could not fix it, unfortunately, but since I
have switched to the compilers provided at http://hpc.sourceforge.net/ (as
Derek recommended), everything works fine.
Except there now appears an error when compiling ex17:
Compiling C++ (in optimized mode
I got a hold of an 10.6 system and tried to replicate your problem,
but ended up running into other errors even earlier. Then I saw this:
dhcp-67-116:~ roystgnr$ cat test.C
#include
#include
#include
#ifdef _GLIBCXX_DEBUG
#define _GLIBCXX_DEBUG_DEFINED "1"
#else
#define _GLIBCXX_DEBUG_DEFINE
Just to be completely clear: 4.5 takes longer to COMPILE a program than 4.2
does (twice as long in some instances). As Cody mentioned the speed of the
executables created by 4.5 is comparable to those created with 4.2. Only
the compile time is different.
Derek
On Fri, Jun 11, 2010 at 8:27 AM, C
One more thing to note here: The current binaries of GCC (4.5.x) available at
hpc.sourceforge.net are quite a bit slower than the earlier version 4.x (where
x < 5) compilers. Derek and I discovered this recently and reverted our
compilers back to version 4.2. We haven't really looked into it
BTW: We highly recommend using the GCC compilers from here:
http://hpc.sourceforge.net/
Then compiling your own version of MPI (we use MPICH2) using these compilers.
Then compiling PetsC then libMesh.
This is what we do for all of our Mac laptops (on our workstations we use the
Intel compilers
On 10 Jun 2010, at 20:09, Roy Stogner wrote:
>
> On Thu, 10 Jun 2010, Anna-Lena Gerner wrote:
>
>> I am trying to install libmesh with petsc and openmpi on OS X 10.6.
>
> What underlying compilers are your mpicc and mpicxx using? A coworker
> here recently discovered a Macports gcc problem th
On Thu, 10 Jun 2010, Anna-Lena Gerner wrote:
> I am trying to install libmesh with petsc and openmpi on OS X 10.6.
What underlying compilers are your mpicc and mpicxx using? A coworker
here recently discovered a Macports gcc problem that affected
exception handling + dynamic linking in his appl
Hi all,
I am trying to install libmesh with petsc and openmpi on OS X 10.6.
libmesh configuration (exact petsc and libmesh configure options are given
below) and compilation worked fine but compiling the examples gives the warnings
ld: warning: directory
'-L/Users/agerner/Software/slepc-3.0.0