From: Aaron Oakley (aarono_at_uow.edu.au)
Date: Thu Aug 02 2012 - 23:39:06 CDT
Hello all,
I am running NAMD2.9 on BlueGene/P.
I have a script which I submit which contains the following:
export NAMD_USER=10
and:
# @ environment = COPY_ALL;
in the namd input file I have:
set oldname run${env(NAMD_USER)}
set newname run[expr ${env(NAMD_USER)} +1]
i.e, oldname is set to run10 and newname is set to run11
but when executed the program exits with error:
Reason: FATAL ERROR: can't read "env(NAMD_USER)": no such variable
The namd input script DOES however work on my mac, so the problem
appears to be in the passing of an environmental variable to namd2.9 on BlueGene/P.
Any clues on how to do this successfully would be appreciated!
aaron++
This archive was generated by hypermail 2.1.6 : Tue Dec 31 2013 - 23:22:21 CST