charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Jim Phillips <jim AT ks.uiuc.edu>
- To: "Bennion, Brian" <Bennion1 AT llnl.gov>
- Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
- Subject: Re: [charm] [ppl] icc compiler option
- Date: Tue, 6 Sep 2011 16:22:46 -0500 (CDT)
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
You use charmrun with the ++mpiexec option and a mympiexec script that runs your srun with whatever options it needs. See this bit in notes.txt:
-- Linux Clusters with InfiniBand or Other High-Performance Networks --
Charm++ provides a special ibverbs network layer that uses InfiniBand
networks directly through the OpenFabrics OFED ibverbs library. This
avoids efficiency and portability issues associated with MPI. Look for
pre-built ibverbs NAMD binaries or specify ibverbs when building Charm++.
Writing batch job scripts to run charmrun in a queueing system can be
challenging. Since most clusters provide directions for using mpiexec
to launch MPI jobs, charmrun provides a ++mpiexec option to use mpiexec
to launch non-MPI binaries. If "mpiexec -np <procs> ..." is not
sufficient to launch jobs on your cluster you will need to write an
executable mympiexec script like the following from TACC:
#!/bin/csh
shift; shift; exec ibrun $*
The job is then launched (with full paths where needed) as:
charmrun +p<procs> ++mpiexec ++remote-shell mympiexec namd2 <configfile>
-Jim
On Tue, 6 Sep 2011, Bennion, Brian wrote:
Thanks for the patch. It is a bit more sophisticated that what I would have
come up with.
How does one start an ibverbs namd2.8 executable when more than 1 node is needed. With
mpi builds I just tell our "srun" scheduler that I need 144 tasks and it
assigns the PEs appropriately.
The same syntax only produced 144 separate but identical jobs.
Brian
________________________________________
From: Jim Phillips
[jim AT ks.uiuc.edu]
Sent: Tuesday, September 06, 2011 5:36 AM
To: Bennion, Brian
Cc:
charm AT cs.uiuc.edu
Subject: RE: [ppl] [charm] icc compiler option
Hi,
The attached patch should fix this.
-Jim
On Mon, 5 Sep 2011, Bennion, Brian wrote:
bennion1 35:~> icc -v
icc version 12.1.0 (gcc version 4.1.2 compatibility)
ld /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtbegin.o --eh-frame-hdr
-dynamic-linker /lib64/ld-linux-x86-64.so.2
-L/usr/local/tools/ifort-12.1.023-beta/lib -o a.out
-L/usr/local/tools/icc-12.1.023-beta/compiler/lib/intel64
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../.. -L/lib64 -L/lib
-L/usr/lib64 -L/usr/lib -rpath /usr/local/tools/icc-12.1.023-beta/lib -rpath
/usr/local/tools/ifort-12.1.023-beta/lib -Bstatic -limf -lsvml -Bdynamic -lm
-Bstatic -lipgo -ldecimal --as-needed -Bdynamic -lcilkrts -lstdc++
--no-as-needed -lgcc -lgcc_s -Bstatic -lirc -Bdynamic -lc -lgcc -lgcc_s
-Bstatic -lirc_s -Bdynamic -ldl -lc
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/crtend.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crtn.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/crt1.o: In function
`_start':
(.text+0x20): undefined reference to `main'
-----Original Message-----
From: Jim Phillips
[mailto:jim AT ks.uiuc.edu]
Sent: Saturday, September 03, 2011 1:32 PM
To: Bennion, Brian
Cc:
charm AT cs.uiuc.edu
Subject: Re: [ppl] [charm] icc compiler option
Actually, the Intel 12.x compilers use Version too:
[jphillip@kidlogin2
~]$ icc -v
Version 12.0.4
Brian, what does icc -v return for you? On what platform?
-Jim
On Sat, 3 Sep 2011, Jim Phillips wrote:
This must be new in the Intel 12.x compilers.
What does "icc -v" look like for you?
-Jim
On Fri, 2 Sep 2011, Bennion, Brian wrote:
Hello,
In the charm632 version that I ships with namd2.8 there is a small bug in
the build scripts. Specifically, if icc is requested as the compiler, the
build will fail because icc was not found. In the cc-icc.sh script the
grep command is looking for "Version" all icc -v commands only show
"version".
The grep comand should have the "-i" option to check for both spellings.
Brian
_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm
_______________________________________________
ppl mailing list
ppl AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/ppl
- [charm] icc compiler option, Bennion, Brian, 09/02/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/03/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/03/2011
- Re: [charm] [ppl] icc compiler option, Bennion, Brian, 09/05/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Bennion, Brian, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Bennion, Brian, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Bennion, Brian, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Bennion, Brian, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Bennion, Brian, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Bennion, Brian, 09/06/2011
- Re: [charm] [ppl] icc compiler option, Bennion, Brian, 09/05/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/03/2011
- Re: [charm] [ppl] icc compiler option, Jim Phillips, 09/03/2011
Archive powered by MHonArc 2.6.16.