getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] Building GetFem++ on Mac OS X 10.6.2


From: houtan
Subject: [Getfem-users] Building GetFem++ on Mac OS X 10.6.2
Date: Wed, 25 Nov 2009 11:44:48 +0100

Here are the steps I followed to build GetFem++ on Mac OS X 10.6.2 using gcc 4.2.1. There is one issue that remains to be resolved.

1) Download and install gfortran (gfortran-42-5646.pkg) from http://r.research.att.com/tools/

2) ./configure CFLAGS='-arch i686' CXXFLAGS='-arch i686' CPPFLAGS='-arch i686' FCFLAGS='-arch i686' LDFLAGS='-arch i686' BLAS_LIBS='-framework Accelerate -lblas' --prefix='/usr/local'

3) Add the following to the top of src/getfem_interpolated_fem.cc
#include <sys/types.h>
#ifndef uint
#define uint unsigned int
#endif

Equivalently, you can replace all instances of uint with unsigned or unsigned int in src/getfem_interpolated_fem.cc

4) make

5) make check

6) sudo make install

The problem is that make check fails test/test_range_basis. Do you know what the problem may be or do you have any suggestions of how to go about solving the problem? Every other test passes successfully.

output:
./test_range_basis /var/folders/jE/jEH8M1+hHsKcpoT6laWMak+++TI/-Tmp-/test_range_basis.param_247  2>&1 failed
FAIL: ../tests/test_range_basis.pl

Best,
Houtan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]