Harald,
On Sat, 03 Apr 2021 23:24:52 +0200
Bernhard Reutner-Fischer wrote:
> On 3 April 2021 20:55:39 CEST, Harald Anlauf via Fortran
> wrote:
> >Dear all,
> >
> >is there a reason that one should not be able to statically link a
> >Fortran binary that has been compiled with -fopenmp?
>
> M
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
Hi Jerry,
A belated thanks is in order. Pushed as
fc27115d6107f219e6f3dc610c99210005fe9dc5. I'll wait a little while for
10-branch since it is an ICE on wrong code.
Regards
Paul
On Fri, 2 Apr 2021 at 04:11, Jerry DeLisle wrote:
> Paul,
>
> This looks OK to me for Trunk. I believe 10 is in fr