Additional information:
I have compiled this program with gcc -fopenmp topenmp.c
(in 32 and 64 bit mode).
#include <omp.h>
#include <stdio.h>
int main() {
#pragma omp parallel
printf("Hello from thread %d, nthreads %d\n", omp_get_thread_num(),
omp_get_num_threads());
}
and it runs without error (2 threads).
Berend
On 21-03-2010, at 18:14, Berend Hasselman wrote:
I have compiled the latest Gretl from CVS on Mac OS X 10.6.2 using the GTK+ 2.14.3
framework from the R project.
I also use private builds of libfftw2, libgmp, libmpfr, libreadline.
The compile proceeds without error.
I create a Mac .app using platypus.
This works fine with Gretl 1.8.7.
However, running my bold of cvs gretl results in the following error on startup (and
gretl quits):
-----------------------------------------------------------------------------------------------
dyld: lazy symbol binding failed: Symbol not found: _omp_get_wtime
Referenced from:
/Users/berendhasselman/tmp/gretl-image/Gretl.app/Contents/Resources/bin/../lib/libgretl-1.0.0.dylib
Expected in: flat namespace
dyld: Symbol not found: _omp_get_wtime
Referenced from:
/Users/berendhasselman/tmp/gretl-image/Gretl.app/Contents/Resources/bin/../lib/libgretl-1.0.0.dylib
Expected in: flat namespace
Trace/BPT trap
-----------------------------------------------------------------------------------------------
I have also tried the option --disable-openmp of configure.
Same result.
This must have something to do with the recent changes wrt openmp.
What's going on and what could be done about this (if at all possible)?
Berend
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel