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

From: Jim Phillips (jim_at_ks.uiuc.edu)
Date: Wed Dec 09 2009 - 18:05:25 CST

That option appears in
charm-6.1.3/src/arch/multicore-darwin-x86_64/conv-mach.sh

-Jim

On Wed, 9 Dec 2009, David Tanner 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
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 05:22:35 CST