[cam-users] CAM2 or CAM3 on opteron 64bit cpu & pgi compiler
Brian Eaton
eaton at ucar.edu
Wed Aug 11 11:09:48 MDT 2004
Hi David,
The default build of CAM3 on linux systems is serial. SMP parallelization
must be explicitly turned on via the -smp option to configure. Similarly,
to build a pure SPMD configuration one should configure with
"configure -spmd". (In this case the "-mp" option is *not* given to pgf90.)
No Makefile modifications should be necessary.
Brian
On Wed, Aug 11, 2004 at 09:42:35AM -0600, David Noone wrote:
>
> Hi Kim,
>
> cam2 and cam3 CAN run on Opteron systems with the pgi compiler, with
> compilation at either 32 or 64 bit (64 bit compilation runs about 20%
> faster in parallel, almost only about 5% faster in serial runs).
> However, I have had no success using the (default) SMP paralelization
> (exits with a segmentation fault). I was able to work around this with
> cam2 by modifying the Makefile, however, have not yet found a solution
> for cam3. In any case, a simple work around is to use pure SPMD, for
> both on-node and cross-node parallelization. Tests with cam2 show there
> is only trivial difference in speed (something like 5% from memory).
>
> Try setting the environment variable "setenv OMP_NUM_THREADS 1", as a
> test.
>
> The Makefile change I used for cam2_0_2 was to have -mp=openmp, rather
> than just -mp, however, this did not work for cam3_0.
>
> Good luck,
>
> David
>
>
>
>
> On Wed, 11 Aug 2004, Hyeong Seog Kim wrote:
>
> > Cam is compiled with no error ...on Linux , Opteron 64bit cpu & PGI
> > compiler
> > But cam stop with mesaage "Segment fault"
> > same cam2 as cam3
> > Who know a solution of this problem?
> > Cam cannot run on Opteron???
> >
> > ===========================================================
> > Be Happy!
> >
> > Kim Hyeong Seog
> > School of Earth and Environmental Sciences
> > Seoul National University
> > Seoul. Rep. of Korea
> > Tel : 82-2-880-5705 Fax : 82-2-876-6795
> > Email : dol153 at cpl.snu.ac.kr
> >
> >
> >
> > _______________________________________________
> > cam-users mailing list
> > cam-users at ucar.edu
> > http://mailman.ucar.edu/mailman/listinfo/cam-users
> >
>
> --
> ------------------------------------------------------------------------
> PAOS & CIRES, University of Colorado, Boulder, UCB 311, CO 80309-0311
> Ph: (303) 735-6073 Fax: (303) 492-3524
> http://paos.colorado.edu/~dcn
>
> _______________________________________________
> cam-users mailing list
> cam-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/cam-users
More information about the cam-users
mailing list