Dear freesurfers,
This is the first time I am posting so hope the following makes sense, I don't use freesurfer but manage the installation of freesurfer on our cluster.
We have a user who is trying run a script that submits a recon-all job to our cluster using the -localGI flag:
recon-all -subjid $i -localGI
I know this requires matlab which we have installed on the cluster however we cannot submit matlab within a working node which the submitted node is trying to do, we get the following error:
denied: host "hostname" is no submit host
this message is given when the make_outer_surface script matlab script is submitted within the submitted job.
We have a script that allows matlab to run from within the cluster and have tried to add this as an environment variable to the script:
matlab=matlab_cluster ; export matlab
source $matlab
But when we add this it still fails with the same error,
Do you know how I can make changed to the script allowing us to run the above script when matlab is called? Or are we missing something from our script?
I have attached the relevant scripts and output sent to me by the user.
Can you help me.
Thanks
Charnjit