VMD-L Mailing List
From: Mgr. Lubos Vrbka (lubos.vrbka_at_uochb.cas.cz)
Date: Mon Apr 18 2005 - 10:48:02 CDT
- Next message: Palmer, Teresa: "Setting the speed of rotation"
- Previous message: Jorge Pikunic: "loading two dcd files in VMD"
- In reply to: Axel Kohlmeyer: "Re: compressed trajectory support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
hi,
> yes. you can do it even without any modification to VMD.
> ... at least with some platforms. check out http://zlibc.linux.lu/
> just install it and do:
> env LD_PRELOAD=/usr/local/uncompress.o vmd
thanks, this looks cool, i'll definitely give it a try.
should i also try do modify the file reading plugins for vmd? the
modification is pretty straightforward - adding
#include <zlib.h>
then careful replacement of all file i/o functions with their gz-enabled
modifications (i.e. fopen -> gzopen, fseek -> gzseek, fgets -> gzgets,
read -> gzread, ...) and also changing the names of return value
constants...
i think i could test it with e.g. pdb plugin and then we would see...
regards,
lubos
-- ..................................................... Mgr. Lubos Vrbka Center for Biomolecules and Complex Molecular Systems Institute of Organic Chemistry and Biochemistry Academy of Sciences of the Czech Republic Prague, Czech Republic .....................................................
- Next message: Palmer, Teresa: "Setting the speed of rotation"
- Previous message: Jorge Pikunic: "loading two dcd files in VMD"
- In reply to: Axel Kohlmeyer: "Re: compressed trajectory support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]