VMD-L Mailing List
From: Diego Gomes (diego.enry_at_gmail.com)
Date: Fri Jul 26 2024 - 09:31:43 CDT
- Next message: Vermaas, Josh: "Re: compile vmd-1.9.4a57 source - OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory"
- Previous message: Sruthi Sudhakar: "Query on networkview plugin"
- In reply to: Chris Taylor: "compile vmd-1.9.4a57 source - OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory"
- Next in thread: Chris Taylor: "Re: compile vmd-1.9.4a57 source - OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory"
- Reply: Chris Taylor: "Re: compile vmd-1.9.4a57 source - OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Chris,
the latest alpha works fine with OptiX 6.5.
To profit from real time ray-tracing, make sure to add -DVMDOPTIXRTRT this
to "DEFINES" in your Makefile.
BTW, since you're taking the time to compile VMD from source, would you
mind reviewing this doc?
https://urldefense.com/v3/__https://gitlab.com/tcbgUIUC/vmd2prototype/-/wikis/VMD-1.9.4-Building-from-CVS-(Unix)__;!!DZ3fjg!7ce7MSM1MjfyTuRIeiZ6mRCPihGrRxdH1CLwwWcvLxuNPg_LAgMFkqAAhE4ZVZ4QiI_xegFLZ4ekHj1uv7lD$
On Fri, Jul 26, 2024 at 1:16 AM Chris Taylor <cht_at_imipolex-g.com> wrote:
> Using the vmd-1.9.4a57 VMD source and this compiler:
>
> Apptainer> /usr/local/cuda/bin/nvcc --version
> nvcc: NVIDIA (R) Cuda compiler driver
> Copyright (c) 2005-2024 NVIDIA Corporation
> Built on Thu_Mar_28_02:18:24_PDT_2024
> Cuda compilation tools, release 12.4, V12.4.131
> Build cuda_12.4.r12.4/compiler.34097967_0
>
> These are my configure.options:
> LINUXAMD64 CUDA MPI LIBOPTIX LIBPNG ZLIB TCL PTHREADS
>
> I downloaded and configured in NVIDIA-OptiX-SDK-7.5.0-linux64-x86_64 and I
> get this error building:
>
> Compiling VMDMPI.C --> VMDMPI.o ...
> echo "Compiling " OptiXDisplayDevice.C " --> " OptiXDisplayDevice.o "
> ..."; \
> g++ -m64 -fno-for-scope -Wno-deprecated -Wall -Wno-unknown-pragmas -O6
> -ffast-math -DARCH_LINUXAMD64 -DVMDCUDA -DMSMPOT_CUDA -DVMDMPI
> -DVMDLIBOPTIX -DVMDLIBPNG -DVMDTHREADS -DWKFTHREADS -DUSEPOSIXTHREADS
> -D_REENTRANT -DVMDZLIB -DVMDQUICKSURF -DVMDWITHCARBS -DVMDPOLYHEDRA
> -DVMDSURF -DVMDMSMS -DVMDNANOSHAPER -DVMDLATTICECUBES -DVMDTCL
> -DVMDSTATICPLUGINS -I/opt/ompi/include
> -I/opt/NVIDIA-OptiX-SDK-7.5.0-linux64-x86_64/include
> -I/usr/local/cuda/include -I/usr/include/libpng16/ -I/usr/include
> -I/usr/local/include -I../plugins/include -I../plugins/LINUXAMD64/molfile
> -I. -c OptiXDisplayDevice.C -o ../LINUXAMD64/OptiXDisplayDevice.o
> Compiling OptiXDisplayDevice.C --> OptiXDisplayDevice.o ...
> In file included from OptiXDisplayDevice.C:79:
> OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory
> 84 | #include <optix_math.h>
> | ^~~~~~~~~~~~~~
> compilation terminated.
> make: *** [Makefile:510: OptiXDisplayDevice.o] Error 1
> FATAL: While performing build: while running engine: exit status 2
>
>
> I downloaded NVIDIA-OptiX-SDK-8.0.0-linux64-x86_64 and 'optix_math.h'
> seems also to be missing:
>
> $ find NVIDIA-OptiX-SDK-8.0.0-linux64-x86_64 -name optix_math.h
> <nothing>
>
> Maybe I have a dumb configuration error? What would be a good way for me
> to troubleshoot- in NVIDIA-OptiX-SDK-6.5.0-linux64 optix_math.h exists:
> $find NVIDIA-OptiX-SDK-6.5.0-linux64 -name optix_math.h
> NVIDIA-OptiX-SDK-6.5.0-linux64/include/optix_math.h
>
> ? Thanks
>
>
-- Diego Enry B. Gomes, PhD Department of Physics at Auburn University & NIH Center for Macromolecular Modeling and Visualization Leach Science Center - Ste. 3182 - Auburn, AL dgomes_at_auburn.edu
- Next message: Vermaas, Josh: "Re: compile vmd-1.9.4a57 source - OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory"
- Previous message: Sruthi Sudhakar: "Query on networkview plugin"
- In reply to: Chris Taylor: "compile vmd-1.9.4a57 source - OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory"
- Next in thread: Chris Taylor: "Re: compile vmd-1.9.4a57 source - OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory"
- Reply: Chris Taylor: "Re: compile vmd-1.9.4a57 source - OptiXRenderer.h:84:10: fatal error: optix_math.h: No such file or directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]