# Segmentation fault on cluster with julia 0.5.0

**URL:** <https://discourse.julialang.org/t/segmentation-fault-on-cluster-with-julia-0-5-0/2250>\
**Category:** General Usage\
**Created:** [February 23, 2017, 12:55pm UTC](https://discourse.julialang.org/t/segmentation-fault-on-cluster-with-julia-0-5-0/2250 "2017-02-23T12:55:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raef13](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@Raef13](https://discourse.julialang.org/u/Raef13)\
**Post date:** [February 23, 2017, 12:55pm UTC](https://discourse.julialang.org/t/segmentation-fault-on-cluster-with-julia-0-5-0/2250/1 "2017-02-23T12:55:37Z")

</div>

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:

```julia-auto
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

---

<div class="post-metadata">

**Author:** ![Raef13](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@Raef13](https://discourse.julialang.org/u/Raef13)\
**Post date:** [February 23, 2017, 2:13pm UTC](https://discourse.julialang.org/t/segmentation-fault-on-cluster-with-julia-0-5-0/2250/2 "2017-02-23T14:13:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Raef13](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@Raef13](https://discourse.julialang.org/u/Raef13)\
**Post date:** [February 23, 2017, 3:50pm UTC](https://discourse.julialang.org/t/segmentation-fault-on-cluster-with-julia-0-5-0/2250/3 "2017-02-23T15:50:31Z")

</div>

Please ignore - there was insufficient memory allocation!

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