Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] Open mpi 123 install error for BLACS
From: Jack Bryan (dtustudy68_at_[hidden])
Date: 2009-01-31 14:03:23


Hi,

I am installing BLACS in order to install PCSDP - a parallell interior point
solver for linear programming.

I need to install it on Open MPI 1.2.3 platform.

I ahve installed BLAS, LAPACK successfully.

Now I need to install BLACS.

I can run "make mpi" successfully.

But, When I run "make tester".

[BLACS]$ make tester
( cd TESTING ; make )
make[1]: Entering directory `/home/PCSDP/BLACS/TESTING'
mpif77 -o /home/PCSDP/BLACS/TESTING/EXE/xFbtest_MPI-LINUX-0 blacstest.o btprim_MPI.o tools.o /home/PCSDP/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /home/PCSDP/BLACS/LIB/blacs_MPI-LINUX-0.a /home/PCSDP/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /home/openmpi_123/lib/libmpi_cxx.la
/home/openmpi_123/lib/libmpi_cxx.la: file not recognized: File format not recognized
collect2: ld returned 1 exit status

make[1]: *** [/home/PCSDP/BLACS/TESTING/EXE/xFbtest_MPI-LINUX-0] Error 1
make[1]: Leaving directory `/home/PCSDP/BLACS/TESTING'
make: *** [tester] Error 2
-------------------------------------

In the "Makefile" of TESTING/, I have changed :

tools.o : tools.f
        #$(F77) $(F77NO_OPTFLAGS) -c $*.f
        $(F77) $(F77NO_OPTFLAGS) -fno-globals -fno-f90 -fugly-complex -w -c $*.f

blacstest.o : blacstest.f
        #$(F77) $(F77NO_OPTFLAGS) -c $*.f
        $(F77) $(F77NO_OPTFLAGS) -fno-globals -fno-f90 -fugly-complex -w -c $*.f

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

In "Bconfig.h", I have changed

include "/home/openmpi_123/include/mpi.h"

In OpenMPI 1.2.3, the lib directory does not include: "*.a" library.
only "*.la" library.

Any help is appreciated.

Jack

Jan. 30 2009

My "Bmake.inc" is:

---------------------------------
SECTION 1: PATHS AND LIBRARIES
SHELL = /bin/sh
BTOPdir = /home/PCSDP/BLACS
COMMLIB = MPI
PLAT = LINUX

BLACSdir = $(BTOPdir)/LIB
   BLACSDBGLVL = 0
   BLACSFINIT = $(BLACSdir)/blacsF77init_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
   BLACSCINIT = $(BLACSdir)/blacsCinit_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
   BLACSLIB = $(BLACSdir)/blacs_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a

   MPIdir = /home/openmpi_123
   MPILIBdir = $(MPIdir)/lib
   MPIINCdir = $(MPIdir)/include

MPILIB = $(MPILIBdir)/libmpi_cxx.la

BTLIBS = $(BLACSFINIT) $(BLACSLIB) $(BLACSFINIT) $(MPILIB)

INSTdir = $(BTOPdir)/INSTALL/EXE

 TESTdir = $(BTOPdir)/TESTING/EXE
   FTESTexe = $(TESTdir)/xFbtest_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL)
   CTESTexe = $(TESTdir)/xCbtest_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL)

SYSINC = -I$(MPIINCdir)

 INTFACE = -Df77IsF2C
SENDIS =
BUFF =
 TRANSCOMM = -DCSameF77
 WHATMPI =
SYSERRORS =
DEBUGLVL = -DBlacsDebugLvl=$(BLACSDBGLVL)
DEFS1 = -DSYSINC $(SYSINC) $(INTFACE) $(DEFBSTOP) $(DEFCOMBTOP) $(DEBUGLVL)
BLACSDEFS = $(DEFS1) $(SENDIS) $(BUFF) $(TRANSCOMM) $(WHATMPI) $(SYSERRORS)

SECTION 3: COMPILERS

 F77 = mpif77
   F77NO_OPTFLAGS =
   F77FLAGS = $(F77NO_OPTFLAGS) -O
   F77LOADER = $(F77)
   F77LOADFLAGS =

CC = mpicc
   CCFLAGS = -O4
   CCLOADER = $(CC)
   CCLOADFLAGS =

 ARCH = ar
   ARCHFLAGS = r
   RANLIB = ranlib

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

_________________________________________________________________
Windows Live™ Hotmail®…more than just e-mail.
http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009