From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Fri May 25 2007 - 10:55:50 CDT

On Fri, 25 May 2007, Luca Bellucci wrote:

luca,

there is _no_ fortran/tcl interface in VMD.

LB> Hi all,
LB> I am interested to the interface fortran tcl for VMD script.

you may or may not be able to use ftcl together with VMD
(depends on how it is implemented). the home page for it
is at: ftcl.sf.net

generally, i would be very careful since apart from your
plugin you'll also need to load the fortran runtime, which
has to be compatible with all of VMD _and_ how the tcl interface
was compiled. since particularly for linux there are multiple,
binary incompatible fortran compilers around, i would try to
stick to plain c as much as possible.

i have experience in interfacing fortran to c-codes and vice
versa for over 10 years now, and unless you are _very_ careful
and know exactly what you are doing, you're in for a lot of
trouble.

it is very unlikely that there will be a generic fortran
interface in VMD as this will make the cross-platform nightmare
that john is facing already even worse.

if you are _really_ curious you can look at the (not yet finished)
code i have contributed to access VMD supported file formats from
fortran via the molfile plugin interface.

cheers,
   axel.

LB> Where can I find example or manual ?
LB>
LB> Luca
LB>

-- 
=======================================================================
Axel Kohlmeyer   akohlmey_at_cmm.chem.upenn.edu   http://www.cmm.upenn.edu
   Center for Molecular Modeling   --   University of Pennsylvania
Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323
tel: 1-215-898-1582,  fax: 1-215-573-6233,  office-tel: 1-215-898-5425
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.