# Use of Julia on EEG and fMRI data

**URL:** <https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603>\
**Category:** New to Julia\
**Created:** [January 27, 2023, 1:16am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603 "2023-01-27T01:16:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lester\_Ingber](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lester_ingber/32/46273_2.png) [@Lester\_Ingber](https://discourse.julialang.org/u/Lester_Ingber)\
**Post date:** [January 27, 2023, 1:16am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/1 "2023-01-27T01:16:09Z")

</div>

I’d like to use Julia on EEG and fMRI data. I have downloaded on the Ookami supercomputer, i.e., julia-1.8.5-musl-x86\_64.tar.gz . However, trying to run the binary bin/julia gives me  
./julia: Exec format error. Binary file not executable.

What should I be downloading?

Thanks.

Lester

---

<div class="post-metadata">

**Author:** ![Perrin\_Meyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/perrin_meyer/32/15686_2.png) [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Post date:** [January 27, 2023, 1:36am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/2 "2023-01-27T01:36:55Z")

</div>

according to the ookami web page, its an Arm based supercomputer at SUNY stony brook, so the x86\_64 binaries will certainly not work.

The generic Arm download _might_ work, but to get best performance you will probably have to build Julia from source. I suspect that the administrators of Ookami have either already installed or are planning to install Julia using one of the supercomputer style package managers, and so you really should contact the Ookami administrators, since building from scratch on an “exotic” system might be tricky

---

<div class="post-metadata">

**Author:** ![Perrin\_Meyer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/perrin_meyer/32/15686_2.png) [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Post date:** [January 27, 2023, 1:40am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/3 "2023-01-27T01:40:16Z")

</div>

you should watch this:

[https://github.com/giordano/julia-on-ookami/](https://github.com/giordano/julia-on-ookami/)

This repository contains some material for the “Julia on A64FX” webinar held for users of the Ookami system @ Stony Brook University on 2022-12-08 (video recording).

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [January 27, 2023, 2:05am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/4 "2023-01-27T02:05:16Z")

</div>

@giordano

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [January 27, 2023, 8:23am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/5 "2023-01-27T08:23:03Z")

</div>

@Lester_Ingber Perhaps if you could start at a higher level there will be good advice here.  
My advice as someone who builds HPC systems. Clearly you have an ambition to run on the OOkami supercomputer. My advice - concentrate on the Julia aspects first. Get some of your data locally onto an x86 or Mac laptop. Or a desktop. Explore what you want to achieve. Learn about Pluto notebooks in Julia - creating and running Pluto notebooks

The next stage is to talk to the team who manage Oookami. Bring cookies.  
Talk to them about their storage layout and how data will be ingested into the system,  
And what the job scheduling system is and how you can run Julia on the system,

But please take my advice - if you start by setting a goal of running on arm based Oookami today right away two things coudl happen  
a) you will give up in frustration at the complexity.  
b) you will end up like me and spend 30 years being more interested in systems than doing useful work

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [January 27, 2023, 8:25am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/6 "2023-01-27T08:25:37Z")

</div>

@Lester_Ingber May I suggest the following: copy one of your fMRI datasets in DICOM format locally to your laptop. Install Julia. Write a program to read the data.  
When you have problems ask here - everyone is very friendly.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [January 27, 2023, 9:58am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/7 "2023-01-27T09:58:07Z")

</div>

Julia is already available on Ookami, see [julia-on-ookami/README.md at 64bc5758c04dddcd307cae091a735b31ea02e8b5 · giordano/julia-on-ookami · GitHub](https://github.com/giordano/julia-on-ookami/blob/64bc5758c04dddcd307cae091a735b31ea02e8b5/README.md#julia-modules). I use the nightly build, it’s the one which provides the best experience out-of-the-box.

---

<div class="post-metadata">

**Author:** ![johnh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johnh/32/3615_2.png) [@johnh](https://discourse.julialang.org/u/johnh)\
**Post date:** [February 1, 2023, 10:59am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/8 "2023-02-01T10:59:07Z")

</div>

@Lester_Ingber This post may interest you

> [@\[ANN\] NeuroAnalyzer.jl](https://discourse.julialang.org/t/ann-neuroanalyzer-jl/89574):
>
> NeuroAnalyzer.jl: EEG/MEG/NIRS/NIBS analysis with Julia v0.22.11 is out: [https://codeberg.org/AdamWysokinski/NeuroAnalyzer.jl](https://codeberg.org/AdamWysokinski/NeuroAnalyzer.jl) Major changes: user-managed preferences virtual channels progress meter continuous and discrete wavelet transformations Hilbert transformation envelope improved connectivity plot proper handling of negative frequencies in FFT spectrum Jupyter notebook many minor additions and fixes

---

<div class="post-metadata">

**Author:** ![AdamWysokinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adamwysokinski/32/206422_2.png) [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)\
**Post date:** [February 1, 2023, 11:07am UTC](https://discourse.julialang.org/t/use-of-julia-on-eeg-and-fmri-data/93603/9 "2023-02-01T11:07:58Z")

</div>

Hi, I’m the developer of NeuroAnalyzer.jl. If you need any help with using it for your EEG data, feel free to ask me.
