ScaLAPACK Archives

[Scalapack] install blacs on Windows XP

Dear Zuorong,
You can take a look here: 
http://icl.cs.utk.edu/lapack-for-windows/scalapack/index.html
Hope it helps
Julie
On Jul 16, 2012, at 9:33 PM, <Zuorong.Chen@Domain.Removed> wrote:

I am trying to install Blacs on Windows XP on my desttop. I downloaded 
mpiblacs.gz  and blacs_install.ps from http://www.netlib.org/blacs/

I didn't find information on how to install blacs on windows xp

I am using intel visual fortran and visual studio 2005. I unzipped the blacs 
to c:\blacs, and made a Bmake.inc under the directory c:\blacs\bmakes. Then I 
run "nmake mpi" to compile blacs, but get the following error

--------------------------
NMAKE: fatal error U1071: cycle in dependency tree for target 'mpi' Stop.

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

I don't know where the problem is. I much appreciate if you could help sovle 
this problem.

Below is the Bmake.inc file I made.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#  -----------------------------
#  The top level BLACS directory
#  -----------------------------
  BTOPdir = c:\blacs
#  ---------------------------------------------------------------------------
#  The communication library your BLACS have been written for.
#  Known choices (and the machines they run on) are:
#
#     COMMLIB   MACHINE
#     .......   ..............................................................
#     CMMD      Thinking Machine's CM-5
#     MPI       Wide variety of systems
#     MPL       IBM's SP series (SP1 and SP2)
#     NX        Intel's supercomputer series (iPSC2, iPSC/860, DELTA, PARAGON)
#     PVM       Most unix machines; See PVM User's Guide for details
#  ---------------------------------------------------------------------------
  COMMLIB = MPI
#  -------------------------------------------------------------
#  The platform identifier to suffix to the end of library names
#  -------------------------------------------------------------
  PLAT = _win32
#  -------------------------------------
#  Name and location of the MPI library.
#  -------------------------------------
  MPIdir = C:\Program Files\MPICH2
#   MPILIBdir = C:\Program Files\MPICH2\lib
#   MPIINCdir = C:\Program Files\MPICH2\include
#   MPILIB = C:\Program Files\MPICH2\libmpich.a
#  -------------------------------------
#  All libraries required by the tester.
#  -------------------------------------
#   BTLIBS = $(BLACSFINIT) $(BLACSLIB) $(BLACSFINIT) $(MPILIB)
#  ----------------------------------------------------------------
#  The directory to put the installation help routines' executables
#  ----------------------------------------------------------------
#   INSTdir = C:\Program Files\MPICH2\INSTALL\EXE
#=============================================================================
#=============================== End SECTION 1 ===============================
#=============================================================================

#=============================================================================
#========================= SECTION 2: BLACS INTERNALS ========================
#=============================================================================
#  The following macro definitions set preprocessor values for the BLACS.
#  The file Bconfig.h sets these values if they are not set by the makefile.
#  User's compiling only the tester can skip this entire section.
#  NOTE: The MPI defaults have been set for MPICH.
#=============================================================================
#  ---------------------------------------------------------------------------
#  The Fortran 77 to C interface to be used.  If you are unsure of the correct
#  setting for your platform, compile and run BLACS/INSTALL/xintface.
#  Choices are: Add_, NoChange, UpCase, or f77IsF2C.
#  ---------------------------------------------------------------------------
  INTFACE = -DAdd_
#  ------------------------------------------------------------------------
#  Allows the user to vary the topologies that the BLACS default topologies
#  (TOP = ' ') correspond to.  If you wish to use a particular topology
#  (as opposed to letting the BLACS make the choice), uncomment the
#  following macros, and replace the character in single quotes with the
#  topology of your choice.
#  ------------------------------------------------------------------------
#  DEFBSTOP   = -DDefBSTop="'1'"
#  DEFCOMBTOP = -DDefCombTop="'1'"
#  -------------------------------------------------------------------
#  If your MPI_Send is locally-blocking, substitute the following line
#  for the empty macro definition below.
#  SENDIS = -DSndIsLocBlk
#  -------------------------------------------------------------------
  SENDIS =
#  --------------------------------------------------------------------
#  If your MPI handles packing of non-contiguous messages by copying to
#  another buffer or sending extra bytes, better performance may be
#  obtained by replacing the empty macro definition below with the
#  macro definition on the following line.
#  BUFF = -DNoMpiBuff
#  --------------------------------------------------------------------
  BUFF =
#  -----------------------------------------------------------------------
#  If you know something about your system, you may make it easier for the
#  BLACS to translate between C and fortran communicators.  If the empty
#  macro defininition is left alone, this translation will cause the C
#  BLACS to globally block for MPI_COMM_WORLD on calls to BLACS_GRIDINIT
#  and BLACS_GRIDMAP.  If you choose one of the options for translating
#  the context, neither the C or fortran calls will globally block.
#  If you are using MPICH, or a derivitive system, you can replace the
#  empty macro definition below with the following (note that if you let
#  MPICH do the translation between C and fortran, you must also indicate
#  here if your system has pointers that are longer than integers.  If so,
#  define -DPOINTER_64_BITS=1.)  For help on setting TRANSCOMM, you can
#  run BLACS/INSTALL/xtc_CsameF77 and BLACS/INSTALL/xtc_UseMpich as
#  explained in BLACS/INSTALL/README.
#   TRANSCOMM = -DUseMpich
#
#  If you know that your MPI uses the same handles for fortran and C
#  communicators, you can replace the empty macro definition below with
#  the macro definition on the following line.
  TRANSCOMM = -DCSameF77
#  -----------------------------------------------------------------------
#  TRANSCOMM =
#  --------------------------------------------------------------------------
#  You may choose to have the BLACS internally call either the C or Fortran77
#  interface to MPI by varying the following macro.  If TRANSCOMM is left
#  empty, the C interface BLACS_GRIDMAP/BLACS_GRIDINIT will globally-block if
#  you choose to use the fortran internals, and the fortran interface will
#  block if you choose to use the C internals.  It is recommended that the
#  user leave this macro definition blank, unless there is a strong reason
#  to prefer one MPI interface over the other.
#  WHATMPI = -DUseF77Mpi
#  WHATMPI = -DUseCMpi
#  --------------------------------------------------------------------------
  WHATMPI = -DUseF77Mpi
#  ---------------------------------------------------------------------------
#  Some early versions of MPICH and its derivatives cannot handle user defined
#  zero byte data types.  If your system has this problem (compile and run
#  BLACS/INSTALL/xsyserrors to check if unsure), replace the empty macro
#  definition below with the macro definition on the following line.
#  SYSERRORS = -DZeroByteTypeBug
#  ---------------------------------------------------------------------------
  SYSERRORS =
#=============================================================================
#=========================== SECTION 3: COMPILERS ============================
#=============================================================================
#  The following macros specify compilers, linker/loaders, the archiver,
#  and their options.  Some of the fortran files need to be compiled with no
#  optimization.  This is the F77NO_OPTFLAG.  The usage of the remaining
#  macros should be obvious from the names.
#=============================================================================
  F77            = mpif90
  F77NO_OPTFLAGS = -O0
  F77FLAGS       = $(F77NO_OPTFLAGS) -O
  F77LOADER      = $(F77)
  F77LOADFLAGS   =
  CC             = mpicc
  CCFLAGS        = -O
  CCLOADER       = $(CC)
  CCLOADFLAGS    =

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



Thanks & kind regards

Zuorong

Dr Zuorong Chen
Research Scientist
CSIRO Earth Science & Resource Engineering (CESRE)
Phone: +61 3 9545 8379 | Fax: +61 3 9545 8380 |
Email: zuorong.chen@Domain.Removed<mailto:zuorong.chen@Domain.Removed> | Web: 
www.csiro.au<http://www.csiro.au> |
Post: Private Bag 10, Clayton South, VIC 3169, Australia
Address: Gate 7, 71 Normanby Road, Clayton North, VIC 3169, Australia

PLEASE NOTE
The information contained in this email may be confidential or privileged. 
Any unauthorised use or disclosure is prohibited. If you have received this 
email in error, please delete it immediately and notify the sender by return 
email. Thank you. To the extent permitted by law, CSIRO does not represent, 
warrant and/or guarantee that the integrity of this communication has been 
maintained or that the communication is free of errors, virus, interception 
or interference.
Please consider the environment before printing this email.
_______________________________________________
Scalapack mailing list
Scalapack@Domain.Removed
http://lists.eecs.utk.edu/mailman/listinfo/scalapack


<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or