Code Monkey home page Code Monkey logo

Comments (6)

neurolabusc avatar neurolabusc commented on August 11, 2024

Any FSL tool that uses fsl_sub will be accelerated. This typically means any tool the FSL group has designed to run in parallel. This page lists cluster-aware tools, which suggests FEAT will have accelerated statistics (FLAME). I have included a sample dataset to the repository so you can test out that fsl_sub is correctly installed on your machine.

from fsl_sub.

jrmxn avatar jrmxn commented on August 11, 2024

Thanks

from fsl_sub.

neurolabusc avatar neurolabusc commented on August 11, 2024

To be clear, you only have to replace fsl_sub. Any fsl script that is designed to run in parallel (including those in FEAT) will take advantage of this modification. The standard fsl_sub is designed to run on a cluster in parallel if you have sun grid engine installed and in serial otherwise. The version I distribute here is designed to run on a cluster in parallel if you have sun grid engine installed and in parallel locally otherwise. Other groups have developed variations of fsl_sub that exploit different cluster methods (e.g. SLURM).

from fsl_sub.

jrmxn avatar jrmxn commented on August 11, 2024

Yeah, all clear thanks. By the way, I tried to run the example script you added (uncommented the first time bedpostx $BEDPOSTDIR line). All cores were being used - so looks like it's working in principle, although this also happened for FSLPARALLEL=0 - not sure why, but it's not that important for me.

Was also getting errors about popd and pushd not being available - didn't seem to matter though.

from fsl_sub.

neurolabusc avatar neurolabusc commented on August 11, 2024

OK, and can you confirm that the runtime is faster with my fsl_sub than with the default fsl_sub (which should only use one core). I only use pushd and popd in the test script. Maybe when I get time I will think of a solution that works on all systems.

from fsl_sub.

jrmxn avatar jrmxn commented on August 11, 2024

Yeah, I didn't do a very carefully test but your fsl_sub was clearly faster (15 minutes) and used all cores in the VM vs the original function only using one (40 minutes).

from fsl_sub.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.