arpack-ng  

Issue 689: libtool error in MPI directory

Reported by dickerson, Mar 22, 2012

Steps to reproduce the problem:
1../configure --prefix=/opt/arpack-ng_3.1.0 
--with-blas=/opt/atlas-3.8.4/lib/libatlas.a 
--with-lapack=/opt/atlas-3.8.4/lib/liblapack.a 
LDFLAGS=-L/opt/atlas-3.8.4/lib
(note i am not using --enable-mpi)
2.make


Expected result:

Actual result:
make[3]: Entering directory 
`/home/scott/arpack-ng_3.1.0/PARPACK/UTIL/MPI'
/bin/sh ../../../libtool --tag=F77   --mode=compile   -g -O2 -c -o 
pivout.lo pivout.f
libtool: compile: unrecognized option `-g'


I am trying to compile 3.1.0 on updated CentOS 6.2.  It seems that 
the compiler is being left out of the line before -g. I can fix that 
but there are then more errors.

I am not asking for mpi so i'm not sure why it is even trying to 
make this.

Thanks -

Comment 1 by Twan van Laarhoven, Mar 26, 2012

I had the same issue. In PARPACK/UTIL/MPI/Makefile and 
PARPACK/SRC/MPI/Makefile, there is the line

    MPIF77 = 

I changed it to

    MPIF77 = mpif77

And got arpack to compile.

This is of course a hacky solution, the real solution would be to 
fix the configure script.

Comment 2 by dickerson, Mar 27, 2012

Thanks - yes, in my case i set these to gfortran and it all 
compiled. I appreciate your guidance -

Comment 3 by Daniel Penalva, Apr 6, 2012

Indeed, if you dont use mpif77 compiler option, you will got a -O0 
in a nooption for FFLAGS, simple things that can annoy you ...

Comment 4 by Sylvestre Ledru, May 21, 2012

Relations: is duplicated by 714

Comment 5 by Sylvestre Ledru, May 22, 2012

Status: Fixed

Comment 6 by vedant yadav, Apr 30, 2019

If a best things for the work because here more things i 
http://gethelpwindows10.com get and i apply in my system for the 
work.

Comment 7 by Dahlia Pearson, Jul 16, 2019

Project home is the project related to the home series and the home 
making situation for the well and good composition. The project list 
is given in the detail of 
https://www.toptenwritingservices.com/essaysoft-net-review/ in which 
the top writer made the essay comfortably with the ten writing list.

Created: 8 years 4 months ago by dickerson

Updated: 1 year 27 days ago

Status: Fixed

Followed by: 5 persons

Labels:
Type:Defect
Priority:Medium

This issue is duplicated by
714 - Con...n't actually disable MPI