VMD-L Mailing List
From: Zhenquan Hu (zhqhu.sioc_at_gmail.com)
Date: Thu Mar 06 2014 - 16:43:55 CST
- Next message: Antonio Tilocca: "distance selection"
 - Previous message: Zhenquan Hu: "Re: Failed to compile VMD 1.9.2 on OSX 10.9"
 - In reply to: John Stone: "Re: Failed to compile VMD 1.9.2 on OSX 10.9"
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
 
Yes, it works! My output is
{Device GFLOPS} {0 293.6776361854082}
Thanks a lot!
On Thu, Mar 6, 2014 at 10:42 PM, John Stone <johns_at_ks.uiuc.edu> wrote:
> Hi,
>   You can verify that CUDA is working for you like this:
> vmdbench cudamadd 0
>
> You should then get output similar to this:
> {Device GFLOPS} {0 1418.9320440353522}
>
> Cheers,
>   John
>
> On Thu, Mar 06, 2014 at 10:34:53PM +0100, Zhenquan Hu wrote:
> >    Thanks, John!
> >    The pre-compiled version can run without assigning CUDA bin and lib
> >    environment. In the launch Info it tells CUDA accelerator detected:
> >
> >    Info) Creating CUDA device pool and initializing hardware...
> >
> >    Info) Detected 1 available CUDA accelerator:
> >
> >    Info) [0] GeForce GT 750M     2 SM_3.0 @ 0.93 GHz, 2.0GB RAM, KTO,
> OIO,
> >    ZCP
> >
> >    But whether CUDA really works or how to switch between enable/disable
> GPU
> >    I don't know, and the pre-compiled version seems doesn't support
> python.
> >    I'll follow the discussions related with compiling VMD on OS X 10.9.
> >
> >    Best,
> >
> >    Zhenquan
> >
> >    On Thu, Mar 6, 2014 at 5:51 AM, John Stone <johns_at_ks.uiuc.edu> wrote:
> >
> >      Hi,
> >        I would suggest checking through the discussion we just had with
> >      Carolyn Phillips just in the last couple of days, in particular
> checking
> >      that you have a current CUDA driver, and see if that cures your
> >      problem with the pre-compiled version or not.  If not, I'll have to
> see
> >      about reproducing the issue you have with compilation using the
> >      newer compiler toolchain.
> >
> >      Cheers,
> >        John Stone
> >        vmd_at_ks.uiuc.edu
> >
> >      On Tue, Feb 25, 2014 at 05:19:01PM +0100, Zhenquan Hu wrote:
> >      >    Recently I want to compile VMD on a macbook (with GT750) with
> OSX
> >      10.9.
> >      >    Because the pre-compiled version couldn't work if CUDA is
> turned
> >      on. And
> >      >    below are the error code:
> >      >
> >
> #=====================================================================================================================================
> >      >    ...
> >      >    Compiling  VMDApp.C  -->  VMDApp.o  ...
> >      >    In file included from VMDApp.C:91:
> >      >    In file included from ./FltkOpenGLDisplayDevice.h:27:
> >      >    ./OpenGLRenderer.h:116:3: warning: 'GLUquadricObj' is
> deprecated:
> >      first
> >      >    deprecated in OS X 10.9 [-Wdeprecated-declarations]
> >      >      GLUquadricObj *pointsQuadric;
> >      >      ^
> >      >
>  /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:224:26:
> >      note:
> >      >    'GLUquadricObj' declared here
> >      >    typedef class GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0,
> >      10_9);
> >      >                             ^
> >      >    In file included from VMDApp.C:91:
> >      >    In file included from ./FltkOpenGLDisplayDevice.h:27:
> >      >    ./OpenGLRenderer.h:117:3: warning: 'GLUquadricObj' is
> deprecated:
> >      first
> >      >    deprecated in OS X 10.9 [-Wdeprecated-declarations]
> >      >      GLUquadricObj *objQuadric;
> >      >      ^
> >      >
>  /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:224:26:
> >      note:
> >      >    'GLUquadricObj' declared here
> >      >    typedef class GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0,
> >      10_9);
> >      >                             ^
> >      >    VMDApp.C:273:16: error: no matching constructor for
> initialization
> >      of
> >      >    'UIText'
> >      >      uiText = new UIText(this, strcmp(displaytype, "TEXT") != 0);
> //
> >      text
> >      >    user interface
> >      >                   ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >      >    ./UIText.h:45:3: note: candidate constructor not viable:
> requires 3
> >      >    arguments, but 2 were provided
> >      >      UIText(VMDApp *, int guienabled, int mpienabled);
> >      >      ^
> >      >    ./UIText.h:35:7: note: candidate constructor (the implicit copy
> >      >    constructor) not viable: requires 1 argument, but 2 were
> provided
> >      >    class UIText : public UIObject {
> >      >    ...
> >      >    ...
> >      >    9 warnings and 1 error generated.
> >      >    make: *** [VMDApp.o] Error 1
> >      >
> >
> #======================================================================================================================================
> >      >    Could anyone help me to fix this problem?
> >      >    Thanks,
> >      >    Zhenquan
> >      --
> >      NIH Center for Macromolecular Modeling and Bioinformatics
> >      Beckman Institute for Advanced Science and Technology
> >      University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> >      http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
> >      http://www.ks.uiuc.edu/Research/vmd/
>
> --
> NIH Center for Macromolecular Modeling and Bioinformatics
> Beckman Institute for Advanced Science and Technology
> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
> http://www.ks.uiuc.edu/Research/vmd/
>
- Next message: Antonio Tilocca: "distance selection"
 - Previous message: Zhenquan Hu: "Re: Failed to compile VMD 1.9.2 on OSX 10.9"
 - In reply to: John Stone: "Re: Failed to compile VMD 1.9.2 on OSX 10.9"
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
 



