Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Charm compile in IBM AIX UNIX

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Charm compile in IBM AIX UNIX


Chronological Thread 
  • From: Jim Phillips <jim AT ks.uiuc.edu>
  • To: Phil Miller <mille121 AT illinois.edu>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>, Mengyuan Zhu <mzhu6 AT student.gsu.edu>
  • Subject: Re: [charm] [ppl] Charm compile in IBM AIX UNIX
  • Date: Wed, 11 Dec 2013 13:10:55 -0600 (CST)
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>


Yes, we use only the xlC compilers for NAMD. Fortran is not needed.

Our most recent AIX experience is encoded in arch/AIX-POWER-xlC.arch in the NAMD source tree:

NAMD_ARCH = AIX-POWER
CHARMARCH = mpi-sp-mpcc64

# need to define MEMUSAGE_USE_SBRK because mallinfo appears to cause crashes
CXX = xlC_r -q64 -qtls=local-exec -w -qstaticinline -DMEMUSAGE_USE_SBRK
CXXOPTS = -O -qnohot -qstrict -qaggrcopy=nooverlap -qalias=ansi -qarch=auto -qtune=auto -qfloat=rsqrt:fltint -DARCH_POWERPC
CXXNOALIASOPTS = -O3 -qaggrcopy=nooverlap -qalias=noallptrs -qarch=auto -qtune=auto -qfloat=rsqrt:fltint -DARCH_POWERPC
CXXTHREADOPTS = -O -qstrict -qaggrcopy=nooverlap -qalias=ansi -qarch=auto -qtune=auto -qfloat=rsqrt:fltint -DARCH_POWERPC
CC = xlc_r -q64 -qcpluscmt -w
COPTS = -O4 -qinlglue -qarch=auto -qtune=auto

arch/Linux-POWER-xlC.arch might have slightly different options.

-Jim

On Wed, 11 Dec 2013, Phil Miller wrote:

You could drop the 'gcc' and 'gfortran' options, and use the default xlC
compiler toolchain. I believe that is expected to provide better
performance on POWER hardware, though the NAMD developers would have to
confirm that.

So that we can fully understand your situation, could you please describe
what resources led you to choose the lapi-gcc-gfortran build target?


On Wed, Dec 11, 2013 at 10:43 AM, Mengyuan Zhu
<mzhu6 AT student.gsu.edu>wrote:

Dear,

As I want to compile NAMD2.9 in AIX UNIX, I have to compile charm first.

This is my command:
./build charm++ lapi gcc gfortran --with-production

This is my error:

g++: error: unrecognized command line option '-qstrict'
Fatal Error by charmc in directory
/rc/home/wang/mzhu6/bin/NAMD_2.9_Source/charm-6.4.0/lapi-gfortran-gcc/tmp
Command g++ -fPIC -Wno-deprecated -DCMK_GFORTRAN -I../bin/../include
-D__CHARMC__=1 -I. -O3 -qstrict -Q -c trace-common.C -o trace-common.o
returned error code 1
charmc exiting...


What can I do?


Best regards,

Mengyuan Zhu


_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm







Archive powered by MHonArc 2.6.16.

Top of Page