VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Mon Nov 27 2006 - 18:47:22 CST
- Next message: daniel aguayo: "Re: Paratool problem"
- Previous message: John Stone: "Re: CAve Question"
- In reply to: John Stone: "Re: CAve Question"
- Next in thread: Christian Wohlschlager: "Antw: Re: CAve Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Mon, 27 Nov 2006, John Stone wrote:
john,
right now, the plugin compile more or less enforces using
netcdf, unless you either hack Make-arch or explicitely
run the make, e.g. like:
#### begin script
RPM_OPT_FLAGS='-O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fPIC -fexceptions -m32
-march=i386 -mtune=pentium4 -fasynchronous-unwind-tables'
make dynlibs staticlibs bins \
ARCH=LINUX COPTO=-o LOPTO=-o CC=gcc CXX=g++ \
DEF=-D CCFLAGS="${RPM_OPT_FLAGS} -I/usr/include/netcdf-3" \
CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/netcdf-3" \
TCLLIB="-Ldummy" TCLINC="-Idummy" TCLLDFLAGS="-ltcl8.4 -ldl" \
NETCDFLIB="-Ldummy" NETCDFINC="-Idummy" \
NETCDFLDFLAGS="-L/usr/lib/netcdf-3 -lnetcdf" \
AR=ar NM="nm -p" RANLIB=touch SHLD="gcc -shared" \
&& make ARCH=LINUX PLUGINDIR=${HOME}/compile/vmd/vmd/plugins distrib
#### end script
...and set NETCDFLIB and/or NETCDFINC to empty.
i have this as a small shell script in my cvs checkout,
to avoid conflicts in Make-arch when updating the cvs...
hope that clears up some matters.
axel
JS> Hi,
JS> You'll need to either recompile both the plugins and VMD with the
JS> NetCDF I/O library excluded, or add the NETCDF option to the VMD compile.
JS> If you compile the netcdf plugin, then VMD will have to link with it as
JS> well... Let me know if you need more help with this.
JS>
JS> John Stone
JS> vmd_at_ks.uiuc.edu
JS>
JS>
JS> On Mon, Nov 27, 2006 at 09:39:04AM +0100, Christian Wohlschlager wrote:
JS> > ** Reply Requested When Convenient **
JS> >
JS> > Hello !
JS> >
JS> > I ve downloadet 1.8.5 Source for SGI Linux IA64 and try to compile it
JS> > with the CAVE option .
JS> >
JS> > LINUXIA64 OPENGL CAVE TK TCL SURF GCC
JS> >
JS> > compiling the plugins gives me the error that it cannt find the lib
JS> > named libnetcdf .---> Yes that true its installed in another path but i
JS> > dont know hjow to set the path for this library ,
JS> >
JS> > DOes anyone know where i have to change the options
JS> >
JS> > thank you
JS> >
JS> > christian
JS> >
JS>
JS>
-- ======================================================================= 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.
- Next message: daniel aguayo: "Re: Paratool problem"
- Previous message: John Stone: "Re: CAve Question"
- In reply to: John Stone: "Re: CAve Question"
- Next in thread: Christian Wohlschlager: "Antw: Re: CAve Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]