putzcommander
Technical User
Hi
I'm currently modifing a subroutine to a compiled program. I need to backup all the arguments and common blocks of the subroutine for future reference (I'll have to call the subroutine from another program under the same cirumstances). My question is whether there is a simple and efficient way to backup these parameters considering the arrays are assumed size arrays, and everything is of datatype unknown (well the vast majority). I'd like to simply write it to a file and read it at a later date but I need to get the information into the file in the first place. Any ideas on functions or methods or perhaps a link to a quick demo would be fantastic.
The code is in fortran77, I'm compiling with ifort on a 64bit Xeon system running CentOS 5. The subroutine is called well over a million times if it matters.
I'm new to the forum, and far from a computer scientist so I'm apologizing in advance for leaving out any obviously required information or requesting something utterly rediculus.
Thanks in advance.
I'm currently modifing a subroutine to a compiled program. I need to backup all the arguments and common blocks of the subroutine for future reference (I'll have to call the subroutine from another program under the same cirumstances). My question is whether there is a simple and efficient way to backup these parameters considering the arrays are assumed size arrays, and everything is of datatype unknown (well the vast majority). I'd like to simply write it to a file and read it at a later date but I need to get the information into the file in the first place. Any ideas on functions or methods or perhaps a link to a quick demo would be fantastic.
The code is in fortran77, I'm compiling with ifort on a 64bit Xeon system running CentOS 5. The subroutine is called well over a million times if it matters.
I'm new to the forum, and far from a computer scientist so I'm apologizing in advance for leaving out any obviously required information or requesting something utterly rediculus.
Thanks in advance.