You need to source the CCP4 config file.
At my site:
# for Bash
source /usr/local/src/ccp4/ccp4-6.3.0/setup-scripts/ccp4.setup-sh
I guess that would be the first command in the script
you send to your cluster via qsub.
Regards,
F.
On 07/02/2013 11:55 PM, AFL wrote:
> Dear Group Members,
>
> I'm attempting to configure CCP4 installation for the batch job
> submission and have encountered numbers of problems.
>
> The one that is currently haunting me is the error message:
>> can't read "CCP4I_TCLTK": no such variable
>> while executing
>> "exec $CCP4I_TCLTK/tclsh "$0" -- ${1+"$@"}"
>> (file "/share/apps/software/ccp4/share/ccp4i/bin/ccp4ish" line 9)
>
> The variable in question is defined when the CCP4 is running in
> interactive shell.
>
> I have also added an 'echo $CCP4I_TCLTK' statement to the 'Command to
> set up CCP4' which outputs (correct location for tclsh):
>> /share/apps/software/ccp4/bin
>
> However, the same statement added to the 'Command to run CCP4i' outputs:
>> /share/apps/software/ccp4/bin -r /tmp/software/1_import.def
>
> Our system is build on Rocks 6.1(Emerald Boa, CentOS 6.3).
> The qsub is currently run with the following command:
>> qsub -V -q little -l nodes=1:ppn=1
>
> I would highly appreciate suggestion on how to solve this
> configuration problem.
>
> Best regards, Andrzej Lyskowski
>
|