Installation with tcl

From: Arturo Fernandez (afernandez_at_odyhpc.com)
Date: Wed Dec 16 2020 - 16:22:33 CST

Hello,
My system has tcl pre-installed with the headers at /usr/include/tcl8.6.
The NAMD (2.14) installation is producing the error:
..
g++ -m64 -std=c++0x
-I/home/ubuntu/charm-v6.10.2/mpi-linux-x86_64-gfortran-mpicxx/include
-DCMK_OPTIMIZE=1 -Isrc -Iinc -Iplugins/include -Icolvars/src
-DSTATIC_PLUGIN -I/usr/include/tcl8.6/include -DNAMD_TCL
-I/Projects/namd2/fftw/linux-x86_64/include -DNAMD_FFTW
-DNAMD_VERSION=\"2.14\" -DNAMD_PLATFORM=\"Linux-x86_64-MPI\"
-DREMOVE_PROXYRESULTMSG_EXTRACOPY -DNODEAWARE_PROXY_SPANNINGTREE
-DUSE_NODEPATCHMGR -DBONDED_CUDA -DUSE_HOMETUPLES -DUSE_CKLOOP=1 -O3
-fexpensive-optimizations -ffast-math -o obj/eabfTcl.o -c src/eabfTcl.C
src/eabfTcl.C:22:10: fatal error: tcl.h: No such file or directory
#include <tcl.h>
^~~~~~~
compilation terminated.
Make.depends:360: recipe for target 'obj/eabfTcl.o' failed
make: *** [obj/eabfTcl.o] Error 1
After seeing it somewhere, I tried export TCLINCL=-I/usr/include/tcl8.6 but
didn't make any difference. I have 2 questions:
1) Which would be the recommended installation procedure when tcl is
pre-installed?
2) Does tcl have any impact on performance?
Thanks.

This archive was generated by hypermail 2.1.6 : Fri Dec 31 2021 - 23:17:10 CST