All,
I've managed to solve this now. Setting it up on a server instance with more RAM (8Gb compared to 2Gb) worked fine, so I assume it was an out of memory error. However, I have a couple of questions:
1. Does anyone have any idea why the fact that the process was killed due to low memory wasn't logged? Or was it logged, but I just couldn't find it (I recursively searched in /var/log though…)
2. I'm intrigued as to how much memory this program uses - I thought it wouldn't be much but obviously I was wrong. I would normally just use top, but the program executes very quickly and so I don't have chance to do anything like that - is there something I can run the program with that will tell me the total memory usage once the program has exited?
Cheers,
Robin
On 16 Jan 2014, at 20:19, Robin Wilson <robin@???> wrote:
> Thanks Al. That gives:
> 
> execve("./sixsV1.1", ["./sixsV1.1"], [/* 21 vars */] <unfinished ...>
> +++ killed by SIGKILL +++
> Killed
> 
> So it is obviously being SIGKILLed by someone/something. I don't understand the first line of output - does that tell us anything interesting? It's really strange - I've never had this problem before with this program, and I've run it on many machines.
> 
> I've checked it isn't the Fortran compiler producing executables that always die: a Hello World program compiled with the same compiler runs fine.
> 
> Is it always the case the the Out of Memory Killer will log that it has killed something? I find the fact that I can't find anything in the logs anywhere very suspicious.
> 
> Cheers,
> 
> Robin
> 
> 
> On 16 Jan 2014, at 20:15, Alan Pope <alan@???> wrote:
> 
>> On 16 January 2014 19:30, Robin Wilson <robin@???> wrote:
>>> robintw@test:~/Py6S/6S/6SV1.1$ ./sixsV1.1
>>> Killed
>>> 
>>> Does anyone have any idea what I can do to try and work out what's happening?
>>> 
>> 
>> strace it?
>> 
>> strace ./sixsV1.1
>> 
>> Cheers,
>> Al.
>> 
>> -- 
>> Please post to: Hampshire@???
>> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
>> LUG URL: http://www.hantslug.org.uk
>> --------------------------------------------------------------
> 
> 
> -- 
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
-- 
Please post to: Hampshire@???
Web Interface: 
https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: 
http://www.hantslug.org.uk
--------------------------------------------------------------