That's interesting, but I'm thinking a more generic answer (extra_args flag) might be useful. Surely, NAMD is not the only software which might require that kind of special flags.

On 17-04-12 14:21, Åke Sandgren wrote:
I have a new namd easyblock pending that fixes this already.
Just need a fix in framework since it's doing things wrong in my opinion.

On 04/12/2017 08:12 PM, Maxime Boissonneault wrote:
Hi,

For the latest version of NAMD, we need to add "--std=c++11 -ip" to the
CXXFLAGS when compiling with Intel compilers.

How would we do that from the EasyConfig file ?


For now, the only hack that would make it work is :

toolchainopts = {'cstd':'c++11 -ip'}
but it is a hack that relies on having the value of cstd not being
quoted when transformed into CXXFLAGS.

What would be the proper way ?

I would expect having something like :

toolchainopts = {'extra_args':'whatever we need'}

Thoughts ?



--
---------------------------------
Maxime Boissonneault
Analyste de calcul - Calcul Québec, Université Laval
Président - Comité de coordination du soutien à la recherche de Calcul Québec
Team lead - Research Support National Team, Compute Canada
Instructeur Software Carpentry
Ph. D. en physique

Reply via email to