Child pages
  • InterComm-1.6
Skip to end of metadata
Go to start of metadata

Table of Contents

Warning

InterComm-1.6 is deprecated.  Try InterComm-2.0

InterComm-1.6

InterComm-1.6 prerequisites

You must compile PVM before building InterComm-1.6. Click here for instructions on building PVM.

InterComm-1.6

  1. Set the following three environment variables. You will need these when using PVM in the future, so you may want to add this to your .bashrc, .cshrc, etc.
    export PVM_ROOT=$INSTALL_DIR/pvm3
    export PVM_ARCH=XXX*
    export PVM_BIN=$PVM_ROOT/bin
    
    • To find the appropriate PVM_ARCH for your system, see what is in $PVM_ROOT/bin
      ls $PVM_ROOT/bin
      
      For an AIX system like Bluefire, set PVM_ARCH=AIX56K.
  2. Download and extract source:
    cd $INSTALL_DIR/src
    wget http://www.cs.umd.edu/projects/hpsl/chaos/ResearchAreas/ic/dist/InterComm-1.6.tar.gz
    tar -zxvf InterComm-1.6.tar.gz
    
  3. Configure, compile & install InterComm-1.6
    cd $INSTALL_DIR/src/InterComm-1.6
    ./configure --prefix=$INSTALL_DIR --with-ppp=$INSTALL_DIR/P++
    make
    make install
    
  4. You are now ready to install the next prerequisite, Overture.

Developer website:

http://www.cs.umd.edu/projects/hpsl/chaos/ResearchAreas/ic/

Troubleshooting

  • If the configure script is mysteriously failing, examine config.log for more information.
  • If configure script in step 3 has trouble finding A+.h, make sure that you manually moved the A+ & P++ libraries to the proper place, as in step 5 of A++ and P++.
  • When running the configure script, you get the error:
    ./configure: line 4334: syntax error near unexpected token `$f90_list'
    ./configure: line 4334: `  AC_PROG_F90($f90_list)'
    
    Solution: Comment out the line containing AC_PROG_F90
  • When running the configure script, you get the error:
    ./configure: line 4482: syntax error near unexpected token `$mpicxx_list,'
    ./configure: line 4482: `  AC_PROG_MPICXX($mpicxx_list, $enable_tests)'
    
    Solution: Comment out any lines containing "AC_PROG_MPICXX"
  • When building InterComm-1.6, you may get an error like:
    catastrophic error:
     #error directive: "SEEK_SET is #defined but must not be for the C++ binding of MPI"
     error "SEEK_SET is #defined but must not be for the C++ binding of MPI"
    
    Solution: add -DMPICH_IGNORE_CXX_SEEK and -DMPICH_SKIP_MPICXX to the CPPFLAGS environment variable.
  • When building InterComm-1.6, you may get an error like:
    catastrophic error: could not open source file "pvm3.h"
    
    Solution: Edit InterComm-1.6/src/Makefile, grep for -I/path/to/P++/include, and add -I/path/to/pvm3/include.
  • I get an error about sys.h:
    IC_support.cc:34:23: fatal error: linux/sys.h: No such file or directory
    
    Solution: First, find where your sys.h is located
    locate sys.h | grep linux
    
    for example, mine is here: /usr/src/kernels/2.6.18-194.el5-x86_64/include.  Then append an include flag to DEFAULT_INCLUDES in $INSTALL_DIR/src/InterComm-1.6/src/p++/Makefile, like so:
    DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src -I$(top_builddir)/src -I$(top_builddir)/src/ext/mbp -I/usr/src/kernels/2.6.18-194.3.1.el5-x86_64/include
    
    now try gmake again.
  • No labels