[CIG-MC] Installing CitcomS - Cygwin

Walter Landry wlandry at caltech.edu
Mon Jun 18 14:52:17 PDT 2012


Lester Anderson <lester_anderson1963 at hotmail.com> wrote:
> 
> Hi Walter,
> 
> Tested a simple C file as you suggested:
> 
> Lester at Lester-VAIO /home/anderson
> $ /home/anderson/mpich2-1.4.1p1/bin/mpicc ttmp.c -o ttmp
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lpmpich
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpich
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lopa
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpl
> collect2: ld returned 1 exit status
> 
> Lester at Lester-VAIO /home/anderson
> $ /home/anderson/mpich2-1.4.1p1/bin/mpicc ttmp.c -o ttmp -L/home/anderson/mpich2-1.4.1p1/lib
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lpmpich
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpich
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lopa
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lmpl
> collect2: ld returned 1 exit status
> 
> This directory /home/anderson/mpich2-1.4.1p1/lib just contains one file "newconfig" nothing else.
> 
> The prefix set at installation was for /home/anderson/mpich2-bin
> 
> # Directory locations: Fixed for any MPI implementation.
> # Set from the directory arguments to configure (e.g., --prefix=/usr/local)
> prefix=/home/anderson/mpich2-bin
> exec_prefix=${prefix}
> sysconfdir=${prefix}/etc
> includedir=/home/anderson/mpich2-1.4.1p1/src/include
> libdir=/home/anderson/mpich2-1.4.1p1/lib (no library files etc.)
> 
> There is a Makefile in /home/anderson/mpich2-1.4.1p1 - is a "make all" needed ? Have I missed a stage here?

Try running "make install".

Cheers,
Walter Landry


More information about the CIG-MC mailing list