Comments (5)
This is a misconfiguration of your system, not a problem with the removal of ANTSPATH
from ants.
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.
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.
@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.
from ants.
Related Issues (20)
- Optimizing EPI to T1 MPRAGE registration HOT 4
- Error message at antsApplyTransform HOT 6
- running ANTs binaries on a windows laptop reports error: "could not find VCRUNTIME140_1.dll" HOT 2
- ResampleImage usage HOT 3
- Building template in ANTs HOT 6
- Can't open the last modality with antsMultivariateTemplateConstruction2.sh HOT 3
- REQUEST: rewrite the readme? HOT 10
- A Question About Registration Issues Due to Extensive Brain Structure Absence Caused by Developmental Problems HOT 7
- how to interpret the transformation matrix? HOT 5
- use in docker HOT 4
- Atropos - Segmentation fault (core dumped) HOT 2
- About interpolation with tranfomation matric by Ants HOT 2
- Registering Images to a Template - antsMultivariateTemplateConstruction2.sh HOT 6
- Problem about brain extraction and segmentation HOT 2
- antsMultivariateTemplateConstruction2 itk:MemoryAllocationError on big computer HOT 18
- Atropos - Error when using 3 class tissue segmentation HOT 19
- antsMultivariateTemplateConstruction2.sh error "GLIBC not found" HOT 9
- ants的配准结果问题 HOT 1
- Registration of Labelled Images vs Interpolation During Registration HOT 3
- about problem of using antsAtroposN4 to segmentation brain HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ants.