Re: using the functionality of 2 compilers
Joost <email@example.com> wrote:
(snip on checkpoint/restart in g95)
> I believe the mechanism being used by g95 is based on the one used for
> dumping a core, which should allow for combining this feature with
> other compilers. I still believe it would be rather tricky, and in my
> first try, I would just compile e.g. the computational kernel, free of
> IO, allocates, .. or anything else that might call the runtime library,
> with the other compiler, and link that one in (having checked that the
> calling conventions used by both compilers are identical).
I would expect I/O to be the biggest problem, where it is not
only the data in your address space, but the system, too.
Doing the I/O in using the g95 library would be best.
Allocation I don't believe would be a problem.
And yes, check the calling conventions.