Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] First go at standard Universe checkpointing
- Date: Mon, 10 Jan 2011 15:58:02 +0000
- From: Ian Cottam <Ian.Cottam@xxxxxxxxxxxxxxxx>
- Subject: [Condor-users] First go at standard Universe checkpointing
I'm trying to get my first Standard Universe job working, because of
checkpointing (Condor 7.4.4 RedHat build).
I've replicated the problems I'm having by means of a tiny C program. Said
problems being...
- the check point file ends in .tmp and seems far too small; and
- when I restart the test case it immediately seg faults.
Any ideas?
Test code looks like this----
#include <stdio.h>
#include <math.h>
int main(void)
{
int i; double x;
FILE *f= fopen("r-out.txt", "w");
fputs("hello Condor Standard Universe - starting\n", f);
for (i= -500000000; i != 500000000; ++i) {
x= sqrt(i<0?-i:i); /* kill some time */
}
fputs("finished OK\n", f);
return 0;
}
---
Compiled with---
condor_compile gcc cctest.c -o cctest -lm
---
I'm testing by just doing a standalone
./cctest
Followed by a control-Z to make it checkpoint and quit.
Thanks for suggestions in advance!
-Ian