Problem with the source command
dihia
-
dihia -
dihia -
Hello,
to install the freesurfer software I need to execute the two commands:
setenv FREESURFER_HOME usr/local/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.csh
but I get an error message for the second one telling me that the file SetUpFreeSurfer.csh does not exist even though it is in freesurfer.
Thank you for sending me your responses.
<config>Linux Firefox 3.6.10</config>
to install the freesurfer software I need to execute the two commands:
setenv FREESURFER_HOME usr/local/freesurfer
source $FREESURFER_HOME/SetUpFreeSurfer.csh
but I get an error message for the second one telling me that the file SetUpFreeSurfer.csh does not exist even though it is in freesurfer.
Thank you for sending me your responses.
<config>Linux Firefox 3.6.10</config>
26 answers
- 1
- 2
Next
Hello
Have you checked the rights on the file?
--
Thank you for reading the charter (above the forum list). Please mark your topics as resolved.
Dura Lex, Sed Lex
Have you checked the rights on the file?
--
Thank you for reading the charter (above the forum list). Please mark your topics as resolved.
Dura Lex, Sed Lex
Hello,
setenv FREESURFER_HOME usr/local/freesurfer
Isn't there a slash missing in front?
--
Zen my nuggets ;-)
Do something for the environment, close your windows and adopt a penguin.
setenv FREESURFER_HOME usr/local/freesurfer
Isn't there a slash missing in front?
setenv FREESURFER_HOME /usr/local/freesurfer
--
Zen my nuggets ;-)
Do something for the environment, close your windows and adopt a penguin.
there's this site: http://biowulf.nih.gov/apps/freesurfer.html
I can't access the freesurferwiki site to give you the link.
I can't access the freesurferwiki site to give you the link.
bash shell: export FREESURFER_HOME=/usr/local/freesurfer source $FREESURFER_HOME//SetUpFreeSurfer.sh csh/tcsh shell: setenv FREESURFER_HOME /usr/local/freesurfer source $FREESURFER_HOME//SetUpFreeSurfer.csh
Whether in bash or csh, both have the slash (the root of the system) at the beginning of the path ;-((
and now it shows me this error:
% source $FREESURFER_HOME//SetUpFreeSurfer.csh
/usr/local/freesurfer/SetUpFreeSurfer.csh: Too many open files.
% source $FREESURFER_HOME//SetUpFreeSurfer.csh
/usr/local/freesurfer/SetUpFreeSurfer.csh: Too many open files.
% limit
cputime illimité
filesize illimité
datasize illimité
stacksize 8192 ko
coredumpsize 0 ko
memoryuse illimité
memorylocked 64 ko
maxproc illimité
openfiles 1024
cputime illimité
filesize illimité
datasize illimité
stacksize 8192 ko
coredumpsize 0 ko
memoryuse illimité
memorylocked 64 ko
maxproc illimité
openfiles 1024
When I run the limit command as root, it gives this:
/root> limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8192 kbytes
coredumpsize 0 kbytes
memoryuse unlimited
vmemoryuse unlimited
descriptors 1024
memorylocked 64 kbytes
maxproc unlimited
And when I execute the command: limit openfiles 2048
the result: no such limit.
/root> limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 8192 kbytes
coredumpsize 0 kbytes
memoryuse unlimited
vmemoryuse unlimited
descriptors 1024
memorylocked 64 kbytes
maxproc unlimited
And when I execute the command: limit openfiles 2048
the result: no such limit.
~/tmp/a# limit descriptors descriptors 1024 ~/tmp/a# limit descriptors 2048 ~/tmp/a# limit descriptors descriptors 2048 ~/tmp/a#
:/root> descriptors 1024
descriptors: Command not found.
nassima:/root> limit descriptors
descriptors 1024
:/root> limit descriptors 2048
limit: descriptors: Can't set limit (Operation not permitted)
descriptors: Command not found.
nassima:/root> limit descriptors
descriptors 1024
:/root> limit descriptors 2048
limit: descriptors: Can't set limit (Operation not permitted)
Hello,
the command limit descriptors 2048 worked, but when executing the command: source $FREESURFER_HOME/SetUpFreeSurfer.csh I still get the same error too many open files.
the command limit descriptors 2048 worked, but when executing the command: source $FREESURFER_HOME/SetUpFreeSurfer.csh I still get the same error too many open files.
- 1
- 2
Next