Giter Site home page Giter Site logo

Comments (5)

gdevenyi avatar gdevenyi commented on September 23, 2024 1

This is a misconfiguration of your system, not a problem with the removal of ANTSPATH

from ants.

cookpa avatar cookpa commented on September 23, 2024

It's unusual that $PATH is a single directory. Normally, PATH contains every directory that may be used to execute programs, and you add to PATH for ANTs:

export PATH=/opt/ants/bin:$PATH

This sets PATH to /opt/ants/bin: and whatever PATH was beforehand.

In your case, you would do export PATH=/u/user_name/ants/install/bin:$PATH

from ants.

cookpa avatar cookpa commented on September 23, 2024

Also, ANTSPATH was only ever required by scripts. Compiled executables like antsRegistration or ImageMath should run once added to the PATH. If this doesn't work, it indicates a problem with the PATH variable.

I'm not that familiar with srun but I assume it runs with whatever $PATH is at run time. If not, there may be an option to set PATH specifically for the command - but again, you'll want to use all the PATH, PATH=/u/user_name/ants/install/bin:$PATH, not just the ANTs bin directory.

from ants.

postnubilaphoebus avatar postnubilaphoebus commented on September 23, 2024

@cookpa
I did indeed run a bash script using SLURM instructions on an HPC, and I also specified the PATH as PATH=/u/user_name/ants/install/bin:$PATH. My PATH variable also returned other paths, apologies for the confusion. I will try to reproduce the error and be more specific. Fortunately, the bash script is running with ANTSPATH.

from ants.

dorianps avatar dorianps commented on September 23, 2024

from ants.

Related Issues (20)

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.