Skip to content

Commit

Permalink
some bugs fixed, some reworking of configure
Browse files Browse the repository at this point in the history
  • Loading branch information
urbach committed Jan 18, 2009
1 parent 6041d8d commit 809bb09
Show file tree
Hide file tree
Showing 7 changed files with 656 additions and 428 deletions.
2 changes: 1 addition & 1 deletion Hopping_Matrix.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ void Hopping_Matrix(const int ieo, spinor * const l, spinor * const k){
#pragma pomp inst begin(hoppingmatrix)
#endif
#ifdef XLC
#pragma disjoint(*l, *k, *U, *s);
#pragma disjoint(*l, *k, *U, *s)
#endif

#ifdef _GAUGE_COPY
Expand Down
20 changes: 3 additions & 17 deletions README.bgp
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
Configure with

../hmc/configure --with-lapack --enable-mpi --with-mpidimension=4 --enable-gaugecopy --with-limedir=../../c-lime/ --host=ppc-ibm-bprts --build=ppc64-ibm-linux --enable-largefiles CC=mpixlc CCFLAGS="-I/bgsys/drivers/ppcfloor/arch/include/ -I/bgsys/drivers/ppcfloor/comm/include"

adjusting the lime directory. Currently I am using a self compiled
lapack library (not time critical), which is available on jugene in
/home5/hch02/hch026/lib/liblapack.cnk.a
and an example for a build directory can be found in
/home5/hch02/hch026/bglhome/head/bgp4dim/
../hmc/configure --with-lapack --enable-mpi --with-mpidimension=4 --enable-gaugecopy --with-limedir=../../c-lime/ --host=ppc-ibm-bprts --build=ppc64-ibm-linux --enable-largefile --with-lapack="-L/bgsys/local/lib/ -lesslbg -llapack -lesslbg -lxlf90_r" CC="mpixlc_r" CCFLAGS="-I/bgsys/drivers/ppcfloor/arch/include/ -I/bgsys/drivers/ppcfloor/comm/include" F77="bgf77"

may need some path adjustment, in particular where to find ESSL for
BG.

Running should be done with
NrZProcs = 4
Expand All @@ -22,13 +18,3 @@ number of processors in time direction is chosen automatically.

please read README.bgl as well.

some notes:

fortran mpi bindings: libfmpich.cnk.a
extra underscore: libfmpich_.cnk.a
Common BGP message layer interface in C: libdcmf.cnk.a
Common BGP message layer interface for general collectives in C: libdcmfcoll.cnk.a
-lesslbg -lxlf90 -lxlfmath -lxl -lxlopt


mpixlc -o phmc_tm -L/home/cmcneile/lib -L./lib -L../../install//lib/ -L/opt/ibmcmp/xlf/bg/11.1/lib -L/bgsys/drivers/ppcfloor/comm/ -L/opt/ibmmath/lib -L/bgsys/drivers/ppcfloor/comm/lib phmc_tm.o -lhmc -lsolver -llinalg -lesslbg -lfmpich.cnk -lxlf90_r -lmpich.cnk -lxlomp_ser -lxl -lxlopt -lrt -lpthread -llime -lm
3 changes: 0 additions & 3 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,6 @@
/* Use even/odd geometry in the gauge fields */
#undef _NEW_GEOMETRY

/* Verbose solver output */
#undef _SOLVER_OUTPUT

/* x86 64 Bit architecture */
#undef _x86_64

Expand Down
Loading

0 comments on commit 809bb09

Please sign in to comment.