Skip to Content.
Sympa Menu

charm - Re: [charm] Compiling NAMD

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Compiling NAMD


Chronological Thread 
  • From: 黄须啟 <huangxuqi14 AT mails.ucas.ac.cn>
  • To: "Nikhil Jain" <nikhil.jain AT acm.org>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Compiling NAMD
  • Date: Mon, 29 Feb 2016 10:39:22 +0800 (GMT+08:00)

Dear Professor:
    When I try the command 'MPICXX="mpicxx -DMPICH_IGNORE_CXX_SEEK" ./build charm++ mpi-linux-x86_64 --with-production'   charmm built successfully, but other problems arise when i try to make test.

charm++ built successfully.
Next, try out a sample program like mpi-linux-x86_64/tests/charm++/simplearrayhello
[xyli@cmohpc charm-6.6.1]$ cd mpi-linux-x86_64/tests/charm++/megatest
[xyli@cmohpc megatest]$ make pgm
../../../bin/charmc  -c megatest.ci
../../../bin/../include/MPIOPTS: line 1: -DMPICH_IGNORE_CXX_SEEK: command not found
../../../bin/charmc  -o megatest.o megatest.C
../../../bin/../include/MPIOPTS: line 1: -DMPICH_IGNORE_CXX_SEEK: command not found
../../../bin/charmc: line 189: eval: -D: invalid option
eval: usage: eval [arg ...]
make: *** [megatest.o] Error 2
   what shoud i do to deal with it?
I 'm looking forward to your reply!
sincerely
huangxuqi




在2016-02-29 04:45:33,黄须啟huangxuqi14 AT mails.ucas.ac.cn写道:

Hi Huanxuqi,

Seems like for some unknown reason, the -DMPICH_IGNORE_CXX_SEEK flag is not getting passed to charmc. Please try the following command to build Charm++ and see if it works.

MPICXX="mpicxx -DMPICH_IGNORE_CXX_SEEK" ./build charm++ mpi-linux-x86_64 --with-production

--Nikhil

黄须啟 wrote:
env MPICXX=mpicxx ./build charm++ mpi-linux-x86_64 --with-production -DMPICH_IGNORE_CXX_SEEK


--
Nikhil Jain, nikhil.jain AT acm.orghttp://charm.cs.uiuc.edu/people/nikhil Doctoral Candidate @ CS, UIUC







Archive powered by MHonArc 2.6.16.

Top of Page