Opened 10 years ago

Closed 10 years ago

#71 closed defect (fixed)

MUMPS makefile does not work with IBM compilers

Reported by: andreasw Owned by: andreasw
Priority: minor Component: configuration tests
Version: 0.5 Keywords:
Cc:

Description

The Makefile.am sets explicitly a preprocessor flag in AM_CPPFLAGS as

AM_CPPFLAGS = -DMUMPS_ARITH=MUMPS_ARITH_d \
        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/src` \
        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/libseq` \
        -I`$(CYGPATH_W) $(srcdir)/$(MUMPSDIR)/include`

But the xlf Fortran compiler needs this to be given as

-WF,-DMUMPS_ARITH=MUMPS_ARITH_d

Change History (1)

comment:1 Changed 10 years ago by andreasw

  • Resolution set to fixed
  • Status changed from new to closed

Actually, this preprocessor flag is not needed for Fortran compiler. I just add this now to MY_DEFS in configure.ac. Seems to work now.

Note: See TracTickets for help on using tickets.