From: Goutham (gouthambs_at_gmail.com)
Date: Fri Mar 27 2009 - 00:32:34 CDT

Hey Axel,

Thanks for your suggestion. Here is what I did. I set the LD_LIBRARY_PATH in
.cshrc and sourced it. Now I echo to get:

>>echo $LD_LIBRARY_PATH
/home1/goutham/lib

The directory has a copy of the shared library:
>>ls /home1/goutham/lib/
libadt.so* libdeven.so* libfftw.so* libforce.so* * libGLU.so.1*
libGLU.so.1.3* * libmdapi.so* libmdio.so* libmgrid.so* libpmetest.so*
librandom.so* librfftw.so* libsimen.so* libstep.so* libtimer.so*

Now when I try vmd I get the same error:

 vmd -dispdev text
/projects/Biogroup/VMD/vmd185/lib/vmd/vmd_LINUXAMD64: error while loading
shared libraries: libGLU.so.1: cannot open shared object file: No such file
or directory

I still get the same error! Am I missing something?

Thanks
Goutham

On Thu, Mar 26, 2009 at 6:20 PM, Axel Kohlmeyer <akohlmey_at_cmm.chem.upenn.edu
> wrote:

> On Thu, 2009-03-26 at 17:48 -0700, Goutham wrote:
> > Hey,
> > I am using qsub script to launch a vmd command such as:
> >
> > "vmd -dispdev text < script.tcl"
> >
> > However I get the following error:
> > libGLU.so.1: cannot open shared object file...
> >
> > It is my understanding that the openGL library is not available in the
> > individual nodes in the cluster. However I would guess that since i am
> > doing the "text" option, the openGL library should not be required. Is
> > there a way to disable this?
>
> no. you cannot "unlink" a shared library, but you
> can copy the one from the front end somewhere into
> your home and then set LD_LIBRARY_PATH accordingly.
>
> check out the manpage for the dynamical linker, ld.so
> for more details.
>
> cheers,
> axel.
>
> >
> > Can anyone tell me what my options are otherwise?
> >
> > Thanks
> > Goutham
> >
>
> --
> =======================================================================
> 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.
>
>