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

From: Radak, Brian K (
Date: Mon Feb 06 2017 - 11:27:58 CST

The script is usually enough to recognize what compiler options are available to you. Try running that to generate (and execute) a charm++ configuration. Note that, by default, the script tends to steer you away from a multicore build, so you should be sure to answer the first question "Y", as opposed to the default "N". After that, most questions can probably just get the default response.


Brian Radak
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory

9700 South Cass Avenue, Bldg. 240
Argonne, IL 60439-4854
(630) 252-8643
From: [] on behalf of []
Sent: Monday, February 06, 2017 8:54 AM
Subject: namd-l: Compiling charm/NAMD with an alternative gcc, e.g. gcc 6.x


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

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