Compiling charm/NAMD with an alternative gcc, e.g. gcc 6.x

Date: Mon Feb 06 2017 - 08:54:08 CST



I would like to compile NAMD in the flavor "multicore-linux-x86_64" using
gcc Version 6.2.1. This is in my environment (SLES12SP2) available in


The default, /usr/bin/gcc is still 4.8.5.


How can I build charm with this compiler without tweaking all the links in
/usr/bin, i.e. how can I name a specific compiler for charm?




Dr. rer. nat. Joachim Greipel 
Med. Hochschule Hannover 
Biophysikalische Chemie OE 4350 
Carl-Neuberg-Str. 1 
30625 Hannover 
Fon: +49-511-532-3718 
Fax: +49-511-532-16-3718
E-Mail:  <>

This archive was generated by hypermail 2.1.6 : Mon Dec 31 2018 - 23:20:05 CST