[Info-vax] Problem running application based on TCL/TK

Joukj joukj at hrem.nano.tudelft.nl
Thu May 3 02:50:10 EDT 2012


Dirk Munk wrote:
> Joukj wrote:
>> Hi all,
>>
>> I'm trying to port an application top OpenVMS. The application consists
>> of both compiled C/Fortran executables as TCL-scripts. The problem
>> arises when a TCL-script requires to run an executable
>> i.e. by he command
>> exec { /$disk6/joukj/public/xcrysden.xcrysden/bin/ftnunit }
>> These commands always fail. although the file
>> $disk6:[joukj.public.xcrysden.xcrysden.bin]ftnunit.exe exists and can be
>> runned by
>> $ run $disk6:[joukj.public.xcrysden.xcrysden.bin]ftnunit.exe
>>
>> Does anyone has experience using this exec command from TCL?
>> Did I made a configuration error in the application?
>> Does the exec command in TCL work for OpenVMS?
>>
>>
>> I tried both OpenVMs 8.4 on Alpha and IA64 with the same results
>> The application I'm trying to port is XCrySDen.
>> See http://nchrem.tnw.tudelft.nl/openvms/software2.html#XCRYS for more
>> details how I did it.
>>
>> Jouk
> 
> Shouldn't you add a "&" to the command line?
> 
> exec { /$disk6/joukj/public/xcrysden.xcrysden/bin/ftnunit } &
> 
> The manual states "The & must be the last argument - you can use all 
> other types of arguments in front of it. "

Thanks Dirk,

Adding the & in the TCL-script made the error message go away.

Now I can start testing the application.

                Jouk



More information about the Info-vax mailing list