Segmentation fault on cluster with julia 0.5.0


#1

I want to use Julia 0.5.0 on a Linux cluster. Running a very simple test script (below) directly onto the terminal is always successful:

sss=repmat([0.0],25);
for i in 1:25 sss[i]=i*2 end
filename="sss.csv"
writecsv(filename,sss)

However, when I send as a qsub via a shell script, I get the following error:

signal (11): Segmentation fault
while loading no file, in expression starting on line 0

signal (11): Segmentation fault

signal (11): Segmentation fault
while loading no file, in expression starting on line 0
while loading no file, in expresswhile loading no file, in expression starting on line 0
while loading no file, in expression starting on line 0

Does anyone know why this might be the case? I’ve been using Julia on windows for a year, but I’m a total Linux novice.

Thanks, Raef


#2

Addendum: I’ve used gdb to try and get into this, and it doesn’t recognise my code file, which is Julia code but written in an R editor, hence with a .R file suffix. Would this be the problem? I had massive problems trying to get an editor to work for julia way back when I started, and ended up using tinn-R in frustration (e.g. wiht Juno)…

Raef


#3

Please ignore - there was insufficient memory allocation!

#~~~~~~~~~~~~~~ Case closed ~~~~~~~~~~~~~~#