Building namd 2.12 from source an ARM64 architecture

From: istamkos_at_auth.gr
Date: Wed Sep 27 2017 - 17:06:00 CDT

Hello namd mailing list,

I am trying to compile namd 2.12 on an ARM64 architecture but I am
unable to do show. I cannot even build charm++. At “./build charm++
multicore-linux64 –with-production” I get the following error (it is
clear that the g++ compiler does not work properly for me):

./gathertree ../../src/arch/`cat .gdir` .
test -f ../../src/arch/`cat .gdir`/gdir_link && cat
./../src/arch/`cat .gdir`/gdir_link > .gdir.new && ./gathertree
./../src/arch/`cat .gdir.new` . || true
./gatherflat ../../src/arch/`cat .vdir` .
./gathertree ../../src/../examples ../examples
./gathertree ../../src/../tests ../tests
rm -f ../bin/dep.pl ; cp dep.pl ../bin/
chmod +x charmc
./system_ln ../tmp/charmc ../bin/
./system_ln ../../src/scripts/testrun ../bin/
rm -rf ../include ; mkdir ../include
./system_ln ../tmp/conv-*.*h ../include
./system_ln ../tmp/cc-*.*h ../include
./system_ln ../tmp/conv-mach-opt.sh ../include
if [ -x ./special.sh ] ; then SRCBASE=../../src ./special.sh ; fi
if [ ! -f conv-common.h ] ; then ( touch conv-common.h ) ; fi
touch dirs+sources
make charmxi
make[1]: Entering directory
'/root/home/NAMD_2.12_Source/charm-6.7.1/multicore-linux64/tmp'
./configure --disable-controlpoint --disable-tracing
--disable-tracing-commthread --disable-charmdebug --disable-replay
--disable-error-checking --disable-stats
Error checking is disabled
Statistics collection is disabled
Charm tracing is disabled
Charm tracing communication thread is disabled
CharmDebug is disabled
Charm record/replay is disabled
CCS is enabled
Charm control point is disabled
Charm LB user data is disabled
Setting load balancing timer type as 'double'
checking machine name... multicore-linux64
checking "cp command as"... cp -p
checking "C++ compiler as"... "g++ -D_REENTRANT -m64 "
checking "whether C++ compiler works"... "no"
Cannot compile C++ programs with g++ -D_REENTRANT -m64
  (check your charm++ version)
*** Please find detailed output in charmconfig.out ***
Makefile:280: recipe for target 'conv-autoconfig.h' failed
make[1]: *** [conv-autoconfig.h] Error 1
make[1]: Leaving directory
'/root/home/NAMD_2.12_Source/charm-6.7.1/multicore-linux64/tmp'
Makefile:276: recipe for target 'headers' failed
make: *** [headers] Error 2
-------------------------------------------------
Charm++ NOT BUILT. Either cd into multicore-linux64/tmp and try
to resolve the problems yourself, visit
http://charm.cs.illinois.edu/
for more information. Otherwise, email the developers at charm_at_cs.illinois.edu

I assume that from namd 2.10 and on ARM architecture is supported as
it is written in the release notes for that version. Has anyone any
experience building namd on ARM? Anyone encountered this error before?

Thank you for your time.
John Stamkos

This archive was generated by hypermail 2.1.6 : Sun Dec 31 2017 - 23:21:41 CST