[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bgl-discuss] very very informal tidbits



since this just came up, and, currently we are making the reference page for compilation, i thought i'd post this from a makfile. You probably have all figured it out, but, just for completeness and to have it public:

MPI_PATH = /bgl/BlueLight/ppcfloor/bglsys

FCOMP   = /opt/ibmcmp/xlf/9.1/bin/blrts_xlf
CCOMP   = /opt/ibmcmp/vac/7.0/bin/blrts_xlc
CPPCOMP = cpp

LIB_NCMPI = -L$(MPI_PATH)/lib -lmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts

At a minimum, you need the 440 (or 440d if you want to roll dice on auto double hummer code).

FFLAGS_OPT   = -qarch=440
CFLAGS_OPT   = -qarch=440

Additional flags you might seriously consider -qmaxmem=64000 which just gives the compiler actual space in which to do optimizations. Optimization flag comments
can come later if people want.


Also, a trivial little thing. If you want to affect the way MPI is running, good envs to know are things like:

-env BGLMPI_ALLREDUCE=MPICH or TORUS or TREE
this changes the network an MPI command is using, and is useful to test performance and debug. You can change the routine to which ever MPI command you want.
-env BGLMPI_EAGER=1000
change eager limits, etc. You might get the idea.



------------------------------------------------------------------

Katherine M Riley
Argonne National Lab
Ph   : (630) 252-5786
Cell : (773) 351-6042

- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.