Re: "-Wno-long-double" linking error

From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Wed Dec 09 2009 - 18:06:03 CST

the option comes from the charm++ compiler wrapper charmc, not NAMD.
a.

On Wed, Dec 9, 2009 at 3:24 PM, David Tanner <guacamoleo_at_gmail.com> wrote:
> I am trying to compile namd with a few of my own files (for implicit
> solvent). I have recently been able to successfully compile and run namd
> with my IS files. Now, I have a linking error, shown below. I tried to
> commend out any changes I made to the namd source, but this linking error
> persists.
>
> I have tried to eliminate "-Wno-long-double" by deleting it from all make
> files (Makefile, Make.config, Make.charm, Make.depends) but the compiler
> option is still there. I am struggling to fix this problem on my own because
> I don't know what the compiler is trying to do here. Is charmc the charm
> compiler? and what is moduleinit80148.C that is trying to compile?
>
> Adding file obj/FileIO.o...
> Adding file obj/dcdplugin.o...
> Adding file obj/jsplugin.o...
> Adding file obj/pdbplugin.o...
> Adding file obj/psfplugin.o...
> charmc> ----------- Module dependency search ------------
> charmc> ----------- Module dependency search complete ------------
> Adding registration for module NeighborLB
> Adding registration for module commlib
> charmc: Executing g++ -Wno-long-double -fPIC -dynamic -fno-common
> -D__CHARMC__=1 -c moduleinit80148.C -o moduleinit80148.o
> cc1plus: error: unrecognized command line option "-Wno-long-double"
> Fatal Error by charmc in directory
> /Users/dtanner/local/src/namd2/MacOSX-x86-g++
>   Command g++ -Wno-long-double -fPIC -dynamic -fno-common -D__CHARMC__=1 -c
> moduleinit80148.C -o moduleinit80148.o returned error code 1
> charmc exiting...
> rm -f moduleinit80148.C moduleinit80148.o
> make: *** [namd2] Error 1
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> David E. Tanner
> Theoretical and Computational Biophysics Group
> 3159 Beckman Institute
> University of Illinois at Urbana-Champaign
> 405 N. Mathews
> Urbana, IL 61801
> http://www.linkedin.com/in/davidetanner
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>

-- 
Dr. Axel Kohlmeyer    akohlmey_at_gmail.com
Institute for Computational Molecular Science
College of Science and Technology
Temple University, Philadelphia PA, USA.

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:53:35 CST