Hi Bernhard,

> $ gfortran -o omp -fopenmp omp.f90 -static -Wl,--whole-archive -lpthread 
> -Wl,--no-whole-archive && OMP_NUM_THREADS=2 ./omp

that does indeed do the trick!

As suggested in your other mail, I should ask Jakub for his opinion.

(Statically compiling/linking on the same machine with the Intel compiler
seems to simply work without similar issues. )

Thanks,
Harald

Reply via email to