[gmx-developers] CFLAGS for ppc, etc. with CMake
Rossen Apostolov
rossen.apostolov at cbr.su.se
Thu Jul 8 11:08:47 CEST 2010
Hi,
> > I've implemented auto-detection of the CFLAGS (and CXXFLAGS).
> > Right now, it works for gcc and icc. There are a few compilers
> > I'd like to add, that I don't have access to. Specifically:
> >
> > xlc on Linux and AIX
> > the pgi compilers on x86
> > and any compiler on Bluegene.
>
> I can't seem to get cmake to recognize GMX_ACCELERATION=BlueGene with
> git head.
>
> The dearth of general online documentation about cmake makes life
> difficult, but I thought
>
> CC=blrts_xlc CXX=blrts_xlc++ GMX_ACCELERATION=BlueGene cmake
>
> should be sufficient. If not, what should I be using?
>
Options to CMake are set with the -D flag, for example the following
should work:
$ cmake -DGMX_ACCELERATION=BlueGene
> Can we have a (draft) set of cmake building instructions for git
> master for those of us who are not (yet) cmake-fluent, please?
>
I'll do that.
> Mark
>
> > Would anybody who has insight on what compiler options to set
> > (and test for) on these platforms, mind looking at
> > cmake/gmxCFlags.cmake or tell me what they think should be added?
> >
> > I'm specifically looking for how to enable syntactical elements
> > (like inline functions) and how to set the best optimization and
> > debug settings.
> >
> > Thanks,
> >
> > Sander
> >
> >
> > --
> > gmx-developers mailing list
> > gmx-developers at gromacs.org
> > http://lists.gromacs.org/mailman/listinfo/gmx-developers
> > Please don't post (un)subscribe requests to the list. Use the
> > www interface or send it to gmx-developers-request at gromacs.org.
More information about the gromacs.org_gmx-developers
mailing list