using the functionality of 2 compilers
I have recently come across a very useful feature in the g95 compiler
called the Corefile Resume Feature. It allows a program to create an
executable called 'dump' which allows the user to restart a job if you
kill it or (if setup correctly) to restart from the last dump point
created by the environmental variable G95_CHECKPOINT.
Unfortunately I generally use the Intel fortran compiler (for its
speed). I would like to know if there is a way to write say a g95 main
program wrapper which does nothing but handle this restart facility? Is
this possible as I would like to use the speed of the Intel compiler
while utilising the g95 resume functionality so that a stopped job
could be simply restarted at the position it was stopped. If this
feature exists in the intel compiler accept my apologies as I have not
yet found it.
I see this as a very nice safety feature (for example in the case of a
machine hardware failure, power cut etc.) and I would appreciate any
help with this (or criticism relating to this possibly crazy idea).
Thanks,
John M
|